John Stebbins [Wed, 12 Jul 2017 22:09:08 +0000 (15:09 -0700)]
silence new compiler warnings on Fedora 26
John Stebbins [Wed, 12 Jul 2017 20:38:00 +0000 (13:38 -0700)]
sync: fix size of silence buffer
It was not an even number of sample size * num channels in some cases
John Stebbins [Wed, 12 Jul 2017 20:36:40 +0000 (13:36 -0700)]
sync: fix potential stall when in_queue overflows
Bradley Sepos [Tue, 11 Jul 2017 19:44:00 +0000 (15:44 -0400)]
Revert "contrib: Update to libbluray 1.0.1."
This reverts commit
5b043e2292e2d97d13708115e1a9632c111361b0.
Hoses hb.dll on mingw-w64. Need to do more testing.
Bradley Sepos [Mon, 10 Jul 2017 19:38:00 +0000 (15:38 -0400)]
contrib: Update to libbluray 1.0.1.
John Stebbins [Thu, 6 Jul 2017 18:42:25 +0000 (11:42 -0700)]
fix another use of deprecated libav define
John Stebbins [Thu, 6 Jul 2017 16:15:21 +0000 (09:15 -0700)]
fix use of deprecated libav defines
Fixes https://github.com/HandBrake/HandBrake/issues/815
John Stebbins [Wed, 5 Jul 2017 21:09:26 +0000 (14:09 -0700)]
LinGui: change link to https
sr55 [Wed, 5 Jul 2017 18:35:28 +0000 (19:35 +0100)]
WinGui: Make the Preset Import system a bit more robust. #808
John Stebbins [Wed, 5 Jul 2017 17:57:30 +0000 (10:57 -0700)]
LinGui: fix use of freed memory in "File" menu action
Fixes https://github.com/HandBrake/HandBrake/issues/807
sr55 [Tue, 4 Jul 2017 21:08:26 +0000 (22:08 +0100)]
WinGui: Don't enable the Display Width control for Custom Anamorphic when KeepAR is checked. Implement Reduce function for PAR so that the behaviour matches the Linux GUI. Couple of Logic and ordering bug fixes.
Bradley Sepos [Sun, 18 Jun 2017 00:05:23 +0000 (20:05 -0400)]
contrib: Update to Jansson 2.10.
Strangelovian [Sun, 2 Jul 2017 21:22:01 +0000 (23:22 +0200)]
instead of language name, use language code for prefered audio and prefered subtitle selection
Bradley Sepos [Thu, 29 Jun 2017 16:12:54 +0000 (12:12 -0400)]
contrib: Update to libopus 1.2.1.
Closes #799.
sr55 [Wed, 28 Jun 2017 18:53:53 +0000 (19:53 +0100)]
WinGui: Adding support for Custom Anamorphic back. Implements #504
sr55 [Tue, 27 Jun 2017 16:21:38 +0000 (17:21 +0100)]
WinGui: Fix a couple code warnings.
John Stebbins [Mon, 26 Jun 2017 20:07:12 +0000 (13:07 -0700)]
scan: fix vobsub & pgs width/height for some stream types
Fixes https://github.com/HandBrake/HandBrake/issues/798
sr55 [Mon, 26 Jun 2017 19:41:20 +0000 (20:41 +0100)]
WinGui: AutoName Sort the InvalidFileNameChars Array before doing a Binary Search on it.
Bradley Sepos [Sat, 24 Jun 2017 06:28:23 +0000 (02:28 -0400)]
WinGUI: Change Selection Behaviour to Selection Behavior.
Good way to test signing with OpenPGP/GPG.
sr55 [Fri, 23 Jun 2017 22:12:58 +0000 (23:12 +0100)]
Change configure default language to selection behaviour
sr55 [Fri, 23 Jun 2017 21:50:10 +0000 (22:50 +0100)]
docs: Added missing change.
sr55 [Fri, 23 Jun 2017 21:31:25 +0000 (22:31 +0100)]
docs: Initial draft of 1.1 NEWS
sr55 [Fri, 23 Jun 2017 19:33:44 +0000 (20:33 +0100)]
WinGui: Add a user agent for the HttpRequest on the update checker so we can identify the WinGui version that's checking for updates.
Bradley Sepos [Thu, 22 Jun 2017 09:53:13 +0000 (05:53 -0400)]
presets: Minor encoder tweaks for main Production presets.
Add additional x264 encoder options dct-decimate=0 and fast-pskip=0 (same as no-dct-decimate=1 and no-fast-pskip=1).
In some special cases, reproduction of flat areas and subtle gradients may improve slightly. Generally speaking, any change should be visually imperceptible at these bit rates, but adding a few extra bits is always acceptable when encoding for production intermediate purposes. Negligible speed hit (1-2%) for the main Production presets.
On the contrary, these settings are worse than useless for Production Proxy presets, which are optimized for speed. 5% speed hit isn't worth the tradeoff for low resolution proxies that need to be generated quickly and won't be used for final export.
Bradley Sepos [Thu, 22 Jun 2017 00:17:54 +0000 (20:17 -0400)]
scripts: Update to mingw-w64-build 3.0.1.
Fixes minor issues with the 3.0.0 release.
Bradley Sepos [Thu, 22 Jun 2017 00:11:40 +0000 (20:11 -0400)]
scripts: Update to mingw-w64-build 3.0.0.
Various improvements and GCC 7.1.0.
Bradley Sepos [Wed, 21 Jun 2017 06:01:09 +0000 (02:01 -0400)]
build: Configure options cosmetics.
Bradley Sepos [Wed, 21 Jun 2017 04:49:16 +0000 (00:49 -0400)]
build: Always enable Libav AAC when building with mingw-w64.
John Stebbins [Tue, 20 Jun 2017 22:41:25 +0000 (15:41 -0700)]
LinGui: audio/subtitle "Reload Defaults" -> "Reload"
John Stebbins [Tue, 20 Jun 2017 22:09:33 +0000 (15:09 -0700)]
LinGui: change Audio/Subtitle "Defaults" to "Selection"
There is persistent confusion about how to configure audio and subtitle
selection behavior. Hopefully this will help steer people in the right
direction.
John Stebbins [Tue, 20 Jun 2017 21:52:19 +0000 (14:52 -0700)]
LinGui: Make disk warning limit configurable
Allow disabling and setting disk warning limit in preferences.
When enabled checks disk fullness every 10 seconds during encoding.
If disk full condition is detected, pauses the encode and gives
a popup with options "Resume, I've fixed the problem", "Resume, Don't
tell me again", and "Cancel Current and Stop".
Bradley Sepos [Mon, 19 Jun 2017 23:13:21 +0000 (19:13 -0400)]
cli: Fix regression in
a5450860.
John Stebbins [Mon, 19 Jun 2017 21:54:24 +0000 (14:54 -0700)]
decavcodec: fix wmapro audio timestamps
Fixes https://github.com/HandBrake/HandBrake/issues/717
Damiano Galassi [Mon, 19 Jun 2017 17:53:00 +0000 (19:53 +0200)]
MacGui: do not crash if hb_video_encoder_get_name returns NULL, it might happens if there is a saved job with an external encoder (x264 10bit for example), and the external lib is no longer available.
John Stebbins [Mon, 19 Jun 2017 17:22:28 +0000 (10:22 -0700)]
reader: fix live preview generation for some streams
Fixes https://github.com/HandBrake/HandBrake/issues/685
For some stream types, libav does not seek all streams within the file
to the same position. So we get data from streams that is prior to the
desired preview start position leaking through. The result, for example,
is a preview that has audio that starts from the beginning of the file
and video that starts much later at the desired start pos.
Damiano Galassi [Mon, 19 Jun 2017 09:59:18 +0000 (11:59 +0200)]
MacGui: use "localizedStandardCompare:" to sort the titles by name in the add titles sheet. Titles will be sorted like in Finder.
Damiano Galassi [Mon, 19 Jun 2017 09:31:38 +0000 (11:31 +0200)]
MacGui: rename "Configure Defaults" to "Selection Behavior", align some UI element.
Bradley Sepos [Fri, 16 Jun 2017 17:05:13 +0000 (13:05 -0400)]
presets: Add Production presets for use with professional video editing software.
Production Max and Production Standard are high bit rate, short GOP (I/P), constant frame rate presets suitable for use as intermediate formats for video editing.
Production Proxy 1080p and Production Proxy 540p are high bit rate, Intra-only (I), constant frame rate presets suitable for use as low resolution proxy formats for video editing. The Proxy presets correspond to one-quarter (1/4) 2160p 4K Ultra HD and one-quarter (1/4) 1080p Full HD resolutions, respectively.
Bradley Sepos [Thu, 15 Jun 2017 05:46:45 +0000 (01:46 -0400)]
presets: Add Vimeo YouTube presets.
Using Vimeo and YouTube compression guides for reference:
https://vimeo.com/help/compression
https://support.google.com/youtube/answer/
1722171
Test videos visually inspected following recompression by these services.
Damiano Galassi [Sun, 18 Jun 2017 14:11:25 +0000 (16:11 +0200)]
MacGui: Add checkbox for Legacy A/V alignment behaviour for players that don't support MP4 Edit Lists. #778
sr55 [Sat, 17 Jun 2017 20:11:56 +0000 (21:11 +0100)]
WinGui: Add a "Or Drop File Here" box to the transparent area beside the source selection to make the feature more prominent. Also decrease the transparency a bit to make the inactive backbround darker.
Bradley Sepos [Sat, 17 Jun 2017 19:42:29 +0000 (15:42 -0400)]
cli: Fix typo in last commit.
Bradley Sepos [Sat, 17 Jun 2017 19:20:55 +0000 (15:20 -0400)]
cli: Fix encoding progress line breaks on Windows.
Bradley Sepos [Sat, 17 Jun 2017 19:29:43 +0000 (15:29 -0400)]
cli: Remove legacy BeOS code.
*sniff*
Bradley Sepos [Fri, 16 Jun 2017 19:38:29 +0000 (15:38 -0400)]
contrib: Update to CMake 3.8.2.
John Stebbins [Fri, 16 Jun 2017 22:22:09 +0000 (15:22 -0700)]
LinGui: fix CSS setting for gtk < 3.20
John Stebbins [Fri, 16 Jun 2017 21:41:09 +0000 (14:41 -0700)]
LinGui: add comment
John Stebbins [Fri, 16 Jun 2017 21:39:18 +0000 (14:39 -0700)]
LinGui: fix exclusive burn behavior when FAS burn enabled
It was disabling burn for other non-FAS tracks. Not the behavior I
wanted.
John Stebbins [Fri, 16 Jun 2017 20:29:56 +0000 (13:29 -0700)]
LinGui: fix initial cropping (the right way)
John Stebbins [Fri, 16 Jun 2017 19:09:56 +0000 (12:09 -0700)]
LinGui: fix initial dimensions when *not* autocrop
John Stebbins [Fri, 16 Jun 2017 16:42:51 +0000 (09:42 -0700)]
sync: fix p-to-p hang
Fixes https://github.com/HandBrake/HandBrake/issues/673
If the end point is near the end of file and one of the streams reaches
eof before the end point is detected, the eof buffer for that stream was
not sent. Flush all streams when end point is reached.
Damiano Galassi [Thu, 15 Jun 2017 07:09:33 +0000 (09:09 +0200)]
MacGui: enable some new warnings in Xcode 9.
Damiano Galassi [Thu, 15 Jun 2017 07:07:39 +0000 (09:07 +0200)]
MacGui: add a preferences option to configure the queue low disk space warning.
sr55 [Wed, 14 Jun 2017 21:09:19 +0000 (22:09 +0100)]
WinGui: Remove OpenCL code that was breaking things.
sr55 [Wed, 14 Jun 2017 21:07:14 +0000 (22:07 +0100)]
WinGui: Add checkbox for Legacy A/V alignment behaviour for players that don't support MP4 Edit Lists. #778
sr55 [Wed, 14 Jun 2017 20:08:49 +0000 (21:08 +0100)]
WinGui: Set Framework version to 4.6.1
John Stebbins [Wed, 14 Jun 2017 19:10:32 +0000 (12:10 -0700)]
muxavformat: override h.265 'hev1' with 'hvc1' (#782)
This provides compatibility with apple software
John Stebbins [Fri, 2 Jun 2017 15:51:21 +0000 (08:51 -0700)]
sync: work-around players with broken edit list support
This adds a preset key AlignAVStart that enables this work-around. When
enabled, blank frames are inserted or frames are dropped to force
alignment of the initial timestamp of every audio and video stream.
Aligning the start times minimizes the impact of broken edit list
support in players.
Closes #763.
Squashed:
sync: improve alignment when passthru audio is present
presets: enable AlignAVStart for General and Gmail presets
LinGui: Improve AlignAVStart tooltip
sync: avoid inserting a black frame < nominal frame duration
sync: fix start alignment when doing p-to-p encoding
sync: add comments
Bradley Sepos [Tue, 6 Jun 2017 19:43:09 +0000 (15:43 -0400)]
contrib: Update to Libav 12.1.
Closes #742 and closes #767.
Bradley Sepos [Tue, 6 Jun 2017 18:54:36 +0000 (14:54 -0400)]
contrib: Update to x265 2.4.
Closes #761 and closes #766.
Damiano Galassi [Tue, 13 Jun 2017 07:51:04 +0000 (09:51 +0200)]
MacGui: fix a small leak.
John Stebbins [Mon, 12 Jun 2017 23:54:13 +0000 (16:54 -0700)]
LinGui: Allow resizing window smaller
Make widget geometry changes that allow the window to be sized smaller.
Minimum size with Fedora's default Adwaita theme is 1080x698. Other
themes will vary in size.
John Stebbins [Mon, 12 Jun 2017 17:33:53 +0000 (10:33 -0700)]
presets: bump VersionMajor after opencl removal
I forgot to run rebuild script for the presets list
John Stebbins [Mon, 12 Jun 2017 17:21:46 +0000 (10:21 -0700)]
opencl: removit it (#777)
It was only used for scaling, it fails far too often and is only
faster on a limited selectoin of hardware.
Damiano Galassi [Mon, 12 Jun 2017 15:11:15 +0000 (17:11 +0200)]
MacGui: add none fallback.
Damiano Galassi [Mon, 12 Jun 2017 15:05:23 +0000 (17:05 +0200)]
MacGui: sort the keys of the exported json presets on 10.13 and later.
Damiano Galassi [Mon, 12 Jun 2017 15:04:04 +0000 (17:04 +0200)]
MacGui: call CVImageBufferCreateColorSpaceFromAttachments() to create the preview image color spaces on 10.11 and newer.
John Stebbins [Mon, 12 Jun 2017 14:44:14 +0000 (07:44 -0700)]
Allow audio fallback to be "None" (#623)
* Allow audio fallback to be "None"
When audio fallback is "None", a failure to do passthru will result in
no output audio track being added.
* simplify audio autopassthru fallback logic
Drop track when fallback codec is invalid instead of falling back to a
default. Since all presets have a fallback set, the default fallback
condition would only ever be triggered by an invalid setting.
sr55 [Sun, 11 Jun 2017 11:51:24 +0000 (12:51 +0100)]
WinGui: Update the assembly info / version numbers / manifest.
John Stebbins [Fri, 9 Jun 2017 21:17:14 +0000 (14:17 -0700)]
scan: improve support for very short source video streams
Fixes https://github.com/HandBrake/HandBrake/issues/779
sr55 [Thu, 8 Jun 2017 18:36:29 +0000 (19:36 +0100)]
WinGui: Fix an issue that prevented the static preview from updating as the user alters the resolution settings. Fixes #715
sr55 [Thu, 8 Jun 2017 18:35:59 +0000 (19:35 +0100)]
WinGui: Forgot to stage the tooltip seconds update.
sr55 [Thu, 8 Jun 2017 18:26:52 +0000 (19:26 +0100)]
WinGui: Set a app wide 15 second default for tooltips up from the standard 5 seconds. In some select cases it's overridden to 20. Seems like a more reasonable compromise vs being too short and requiring too many attempts to hover over controls. Fixes #718
sr55 [Wed, 7 Jun 2017 21:09:28 +0000 (22:09 +0100)]
WinGui: While Queue Jobs are in-progress, rotate the in-progress icon.
John Stebbins [Wed, 7 Jun 2017 20:02:56 +0000 (13:02 -0700)]
preset: fix importing some preset versions (#774)
If a preset file is read that has a version where no specific changes to
the preset format were made, we did not perform an import even though
some later preset version has changes.
sr55 [Wed, 7 Jun 2017 19:37:21 +0000 (20:37 +0100)]
WinGui: Prevent the export of built-in presets. There is little point in allowing this. The UI does not allow importing them. #768
sr55 [Wed, 7 Jun 2017 19:31:46 +0000 (20:31 +0100)]
WinGui: Support importing preset categories that can be exported from the MacGUI. Also fix a few minor bugs in the preset factory.
sr55 [Wed, 7 Jun 2017 18:38:42 +0000 (19:38 +0100)]
Remove the OpenCL Bicubic scaling option. Unfortunatly it's causing too many problems and it's maximum 5% performance improvement (in ideal circumstances) doesn't justify the effort to continue with it. The OpenCL framework will remain in place in case we decide to use it for something in the future. Closes #690
Bradley Sepos [Wed, 7 Jun 2017 16:31:15 +0000 (12:31 -0400)]
sharpen: Fix typos in tooltips.
John Stebbins [Wed, 31 May 2017 17:21:53 +0000 (10:21 -0700)]
filter: add frame parallelizing filter wrapper
This wrapper can be used to frame parallelize simple video filters. By
simple, I mean there can be no temporal context that is shared from one
frame to the next.
Wrap unsharp and lapsharp filters. unsharp required a small rework to
separate out temporary storage that is required when processing each
frame. We now need to duplicate this storage for each thread.
Closes #759.
John Stebbins [Mon, 5 Jun 2017 14:35:35 +0000 (07:35 -0700)]
LinGui: Increase max video bitrate entry allowed
Bradley Sepos [Sun, 4 Jun 2017 11:24:02 +0000 (07:24 -0400)]
libhb: Fix C const issue in lapsharp.c.
Simple runtime vs. compile time error, which Clang hid from me.
Bradley Sepos [Sat, 3 Jun 2017 17:08:22 +0000 (13:08 -0400)]
sharpen: Use better tune names.
Bradley Sepos [Sat, 3 Jun 2017 16:40:05 +0000 (12:40 -0400)]
libhb: Cosmetics in lapsharp.c.
sr55 [Fri, 2 Jun 2017 21:03:16 +0000 (22:03 +0100)]
WinGui: Support for the new sharpen filter.
Damiano Galassi [Fri, 2 Jun 2017 06:50:37 +0000 (08:50 +0200)]
MacGui: fix deinterlace presets and sharpen tune undo support.
Bradley Sepos [Thu, 1 Jun 2017 20:23:18 +0000 (16:23 -0400)]
mac: Revise sharpen filters tooltops.
Bradley Sepos [Thu, 1 Jun 2017 20:15:29 +0000 (16:15 -0400)]
libhb: Revise sharpen presets and tunes.
Adds verystrong presets to unsharp and lapsharp filters. Adds mediumfine and mediumcoarse tunes to unsharp filter. Fixes some values.
Bradley Sepos [Thu, 1 Jun 2017 18:20:10 +0000 (14:20 -0400)]
mac: Add support for sharpening filters. (#760)
Thanks @galad87 for assistance.
Bradley Sepos [Thu, 1 Jun 2017 17:39:43 +0000 (13:39 -0400)]
libhb: Add Lapsharp kernel isolap and use with Grain tune.
sr55 [Wed, 31 May 2017 19:56:25 +0000 (20:56 +0100)]
WinGui: Add "None" as an option to the fallback encoder dropdown. Setting this option to none will not add a passthru track when the passthru codec does not match the source track. #623
sr55 [Wed, 31 May 2017 19:31:11 +0000 (20:31 +0100)]
WinGui: Fix an issue with the start/stop buttons on the toolbar.
Damiano Galassi [Wed, 31 May 2017 09:53:59 +0000 (11:53 +0200)]
MacGui: use a newer api to get the disk free space.
Damiano Galassi [Wed, 31 May 2017 09:36:19 +0000 (11:36 +0200)]
MacGui: do not load an HBJob is there is no file URL.
Damiano Galassi [Wed, 31 May 2017 09:34:32 +0000 (11:34 +0200)]
cli: add an additional null check to silence a clang static analyizer warning.
Bradley Sepos [Wed, 5 Apr 2017 19:29:24 +0000 (15:29 -0400)]
cli: Avoid carriage return in progress output when piping.
John Stebbins [Tue, 30 May 2017 21:41:16 +0000 (14:41 -0700)]
nlmeans: fix prefilter passthru
This is an error that crept in when making nlmeans multithreaded
John Stebbins [Fri, 26 May 2017 21:16:18 +0000 (14:16 -0700)]
LinGui: Add UI support for BradleyS' sharpen filters
Bradley Sepos [Sat, 27 May 2017 12:46:11 +0000 (08:46 -0400)]
libhb: Add LapSharp sharpening filter.
Bradley Sepos [Tue, 23 May 2017 23:22:37 +0000 (19:22 -0400)]
libhb: Add Unsharp sharpening filter.
Closes #525.