]>
granicus.if.org Git - handbrake/log
John Stebbins [Mon, 15 Apr 2019 23:01:45 +0000 (17:01 -0600)]
configure: move sanitation of options together
and fix some typos
John Stebbins [Mon, 15 Apr 2019 22:04:25 +0000 (16:04 -0600)]
configure: make sure numa is only enabled on linux
John Stebbins [Mon, 15 Apr 2019 21:50:16 +0000 (15:50 -0600)]
configure: move init of HostTuple after parsing cross
John Stebbins [Mon, 15 Apr 2019 20:43:02 +0000 (14:43 -0600)]
configure: use stricter 'is not None'
John Stebbins [Mon, 15 Apr 2019 20:36:26 +0000 (14:36 -0600)]
configure: initialize host_tuple with cross
Must be done before createCLI
John Stebbins [Mon, 15 Apr 2019 19:55:49 +0000 (13:55 -0600)]
configure: Fix host vs build specs
Fixes the notation internally in configure.py. Does not yet fix the
notation written to GNUMakefile or m4 files since that requires
modification of multiple files. Save this for the next pass.
John Stebbins [Mon, 15 Apr 2019 18:12:08 +0000 (12:12 -0600)]
configure: add PkgConfigProbe and ChkLib actions
PkgConfigProbe checks for the existence of a lib using pkg-config.
ChkLib tries to verify a lib with PlkConfigProbe, then tries with
LDProbe.
Use ChkLib to verify existence of libnuma when configured and fail if
not found
John Stebbins [Mon, 15 Apr 2019 16:48:56 +0000 (10:48 -0600)]
configure: add option to enable/disable libnuma
It is not supported or not useful in some Linux environments, so allow
disabling it.
John Stebbins [Sun, 14 Apr 2019 23:34:28 +0000 (17:34 -0600)]
vfr: improve duplicate frame drop detection
More strictly limit the range of frames inspected when choosing a frame
to drop.
We were getting too many false positives which resulted in dropping
good frames. Limiting the range results in emitting good frames
before they can become the worst of a collection of other good
frames, and therefore be evaluated as droppable.
John Stebbins [Sun, 14 Apr 2019 14:31:23 +0000 (08:31 -0600)]
work: fix pix_fmt init input to filter pipeline
The pix_fmt of the filter input is the format output by decavcodec.c
which is currently YUV420P
Fixes https://github.com/HandBrake/HandBrake/issues/2041
Bradley Sepos [Sat, 13 Apr 2019 19:16:04 +0000 (15:16 -0400)]
make: Tweak configure summary language for consistency.
Bradley Sepos [Sat, 13 Apr 2019 18:57:26 +0000 (14:57 -0400)]
make: Fix non-fatal contrib download error.
Bradley Sepos [Thu, 28 Mar 2019 12:03:44 +0000 (08:03 -0400)]
contrib: Update to FFmpeg 4.1.3.
Bradley Sepos [Sat, 13 Apr 2019 16:13:27 +0000 (12:13 -0400)]
make: Tweak configure.py output language.
Internally, configure.py may use the terms host and build somewhat inappropriately, but that does not mean we should print such ambiguity.
Bradley Sepos [Sat, 13 Apr 2019 16:06:29 +0000 (12:06 -0400)]
make: Reflect FFmpeg AAC required on some platforms in help.
Bradley Sepos [Sat, 13 Apr 2019 15:55:13 +0000 (11:55 -0400)]
make: Fix initialization of minver in configure.py.
Bradley Sepos [Sat, 13 Apr 2019 15:48:19 +0000 (11:48 -0400)]
make: Remove SelectTool class from configure.py.
Has not been in use for a long time.
Bradley Sepos [Sat, 13 Apr 2019 15:43:59 +0000 (11:43 -0400)]
make: Remove last optparse import in configure.py.
Now fully transitioned to argparse.
Bradley Sepos [Sat, 13 Apr 2019 15:37:48 +0000 (11:37 -0400)]
make: Fix configure --minver argument showing for cross.
Bradley Sepos [Sat, 13 Apr 2019 15:33:20 +0000 (11:33 -0400)]
make: Rerun cross tools probe before creating CLI help.
Bradley Sepos [Sat, 13 Apr 2019 15:28:22 +0000 (11:28 -0400)]
make: Improve handling of cross argument in configure.py.
Bradley Sepos [Sat, 13 Apr 2019 15:20:18 +0000 (11:20 -0400)]
make: Fix configure.py conf args for reconfigure.
Bradley Sepos [Sat, 13 Apr 2019 11:39:05 +0000 (07:39 -0400)]
make: Tidy up configure help.
Should no longer need to specify platform in the help, since the help now only shows options available for the specified build.
Bradley Sepos [Sat, 13 Apr 2019 11:35:23 +0000 (07:35 -0400)]
make: Fix configure and Xcode where cross compiling.
John Stebbins [Fri, 12 Apr 2019 20:19:43 +0000 (14:19 -0600)]
configure: fix argparse callbacks
argparse does not have callbacks like optparse did, but a custom action
can be used to perform the callback.
John Stebbins [Thu, 11 Apr 2019 17:35:48 +0000 (11:35 -0600)]
configure: fix parsing debug and optimize options
required and optional arguments to an option requires setting nargs in
add_argument
Bradley Sepos [Fri, 5 Apr 2019 09:11:10 +0000 (05:11 -0400)]
make: Further improvements to feature enable/disable in configure.py.
Converts most of configure.py from optparse (deprecated) to argparse. Better fixes #1459.
John Stebbins [Fri, 12 Apr 2019 23:46:57 +0000 (17:46 -0600)]
LinGui: remove deleted file from translation list
Bradley Sepos [Fri, 12 Apr 2019 13:54:46 +0000 (09:54 -0400)]
make: Require FFmpeg AAC on Linux and Windows.
FFmpeg AAC was originally disabled when FDK enabled, but this did not seem to work correctly. When I "fixed" the issuein
7b035348b714f945cff1ae2940332960a8eb0f00 , WinGUI started throwing exceptions. This should fix the problem for now.
sr55 [Thu, 11 Apr 2019 18:02:29 +0000 (19:02 +0100)]
WinGui: Set the Countdown Alert to top most. #2032
Damiano Galassi [Tue, 9 Apr 2019 17:24:35 +0000 (19:24 +0200)]
ports: increase HB_LOW_PRIORITY on macOS to avoid threads being stalled on modern macOS versions.
Damiano Galassi [Tue, 9 Apr 2019 17:20:51 +0000 (19:20 +0200)]
ports: set pthreads name on macOS.
sr55 [Mon, 8 Apr 2019 19:45:30 +0000 (20:45 +0100)]
WinGui: Fix Race Condition crash when cancelling scan.
sr55 [Mon, 8 Apr 2019 19:35:28 +0000 (20:35 +0100)]
WinGui: Improve the failed scan information window. #2025
sr55 [Mon, 8 Apr 2019 19:24:42 +0000 (20:24 +0100)]
WinGui: Allow "Esc" key to be pressed on the source selection window. #2026
John Stebbins [Wed, 3 Apr 2019 18:20:30 +0000 (12:20 -0600)]
cropscale: force output pixfmt to YUV420P
It appears some color prim/tran/matrix settings result in high bit
depth output of the scale filter.
John Stebbins [Mon, 18 Mar 2019 16:33:08 +0000 (10:33 -0600)]
hbavfilter: fix filename in header comment
John Stebbins [Mon, 18 Mar 2019 16:28:32 +0000 (10:28 -0600)]
hbavfilter: hide internals of hb_avfilter_graph_s
John Stebbins [Mon, 18 Mar 2019 16:10:26 +0000 (10:10 -0600)]
avfilter: split individual filters to separate files
Splits the initialization of pad, cropscale, deinterlace, rotate, and
colorspace into their own files. Also splits internal avfilter API into
it's own file.
John Stebbins [Fri, 15 Mar 2019 23:38:58 +0000 (17:38 -0600)]
avfilter: fix header file comment
John Stebbins [Fri, 15 Mar 2019 23:35:12 +0000 (17:35 -0600)]
libhb: change preset key to VideoColorMatrixCodeOverride
Reserve VideoColorMatrixCode for doing color conversion.
VideoColorMatrixCodeOverride sets color flags without transforming video
frame colors.
John Stebbins [Fri, 15 Mar 2019 21:59:53 +0000 (15:59 -0600)]
Add missing yuv444p12 colorspace opton
John Stebbins [Fri, 15 Mar 2019 21:27:01 +0000 (15:27 -0600)]
libhb: propagate color matrix info through the pipeline
Propagates pix_fmt, range, primaries, transfer, and matrix everywhere.
Everything that passes or creates video frames tags the frames with
their color matrix info.
All filters know the expected color matrix info of input frames.
John Stebbins [Fri, 15 Mar 2019 17:12:38 +0000 (11:12 -0600)]
avfilter: simplify internal API to avfilter
Use this interface in decavcodec.
Remove cropscale.c and use avfilter for crop and scale.
Improve log output of filters that are aliases for avfilter.
John Stebbins [Mon, 8 Apr 2019 13:17:04 +0000 (07:17 -0600)]
Fix crash when chroma smooth tune is NULL
'HandBrakeCLI --help' was crashing ;)
sr55 [Sat, 6 Apr 2019 15:25:17 +0000 (16:25 +0100)]
WinGui: Retry menu item disabled state fixed on queue.
sr55 [Sat, 6 Apr 2019 15:04:31 +0000 (16:04 +0100)]
WinGui: Minor bug fixes and UX improvements to the new queue design.
sr55 [Sat, 6 Apr 2019 14:41:04 +0000 (15:41 +0100)]
WinGui: Add "hardware.enabled" option to portable.ini
sr55 [Sat, 6 Apr 2019 14:35:13 +0000 (15:35 +0100)]
WinGui: Reafactor application init and introduce a --no-hardware flat that can be added to HandBrake.exe to disable hardware encoder support.
John Stebbins [Sat, 6 Apr 2019 14:09:10 +0000 (08:09 -0600)]
LinGui: put libnuma after libx265 in link command
Ubuntu fails to link when numa is listed before x265. Fedora somehow
fixes the order, libtool (evil) magic.
Damiano Galassi [Sat, 6 Apr 2019 10:28:19 +0000 (12:28 +0200)]
MacGui: reset destination folder if the current folder is not available.
Damiano Galassi [Fri, 5 Apr 2019 17:46:42 +0000 (19:46 +0200)]
MacGui: fail gracefully when trying to encode to a not available disk under the sandbox.
John Stebbins [Fri, 5 Apr 2019 15:20:41 +0000 (09:20 -0600)]
flatpak: add libnuma build dependency
Fixes flatpak builds
John Stebbins [Fri, 5 Apr 2019 13:52:19 +0000 (07:52 -0600)]
Add libnuma-dev to ubuntu nightly build dependencies
Fixes ubuntu nightly builds
Bradley Sepos [Fri, 5 Apr 2019 09:41:14 +0000 (05:41 -0400)]
configure: Fix logic error detecting python.
Previous version would emit an error (while continuing just fine) if the found python was not the first item in the list.
Bradley Sepos [Fri, 5 Apr 2019 00:01:14 +0000 (20:01 -0400)]
make: Disable features on unsupported platforms in configure.py.
Fixes #1459.
John Stebbins [Thu, 4 Apr 2019 22:49:37 +0000 (16:49 -0600)]
decvobsub: fix crash due to malformed vobsub
Check that a runlength does not exceed the width of a line
John Stebbins [Sun, 20 Jan 2019 21:08:30 +0000 (13:08 -0800)]
x265: enable building with libnuma on linux
Threadripper and other modern CPUs are now multi-core modules that
benefit from having NUMA available.
Adds a dependency for libnuma.
Fixes https://github.com/HandBrake/HandBrake/issues/1142
Damiano Galassi [Mon, 1 Apr 2019 09:48:05 +0000 (11:48 +0200)]
MacGui: improve localized string formats.
Damiano Galassi [Mon, 1 Apr 2019 09:46:25 +0000 (11:46 +0200)]
MacGui: don't allow empty output file names.
Damiano Galassi [Mon, 1 Apr 2019 07:13:03 +0000 (09:13 +0200)]
MacGui: don't allow nil chapters titles.
Bradley Sepos [Mon, 1 Apr 2019 00:50:50 +0000 (20:50 -0400)]
wingui: Fix filter order caused by addition of Chroma Smooth.
Bradley Sepos [Sat, 30 Mar 2019 15:17:28 +0000 (11:17 -0400)]
scripts: Update to mingw-w64-build 6.0.1.
Fixes an issue with GDB makeinfo path.
Ewout ter Hoeven [Mon, 11 Feb 2019 11:33:05 +0000 (12:33 +0100)]
contrib: Update to libvpx 1.8.0.
Bradley Sepos [Mon, 11 Mar 2019 17:18:19 +0000 (13:18 -0400)]
contrib: Remove local pthreads-w32 in favor of winpthreads.
Cross-compiling for Windows now requires winpthreads which is part of the toolchain provided by scripts/mingw-w64-build, and similar packages provided by Linux distros.
Bradley Sepos [Mon, 11 Mar 2019 22:37:13 +0000 (18:37 -0400)]
Update to mingw-w64-build 6.0.0.
Adds winpthreads and gdb. Disable gdb with --disable-gdb.
sr55 [Sat, 30 Mar 2019 21:18:01 +0000 (21:18 +0000)]
WinGui: Minor queue bugfix for delete action
sr55 [Sat, 23 Mar 2019 14:46:34 +0000 (14:46 +0000)]
Libhb: Some minor logging cleanup
Ewout ter Hoeven [Sat, 30 Mar 2019 21:07:11 +0000 (22:07 +0100)]
contrib: Update to nvenc 9.0.18.1 (#1937)
Contrib: Update to nvenc 9.0.18.0
sr55 [Fri, 29 Mar 2019 21:31:49 +0000 (21:31 +0000)]
WinGui: Increase Queue Window size and make more space for the Filenames on the left panel. #2009
Bradley Sepos [Fri, 29 Mar 2019 14:27:23 +0000 (10:27 -0400)]
meta: Belatedly add news for 1.2.2 release.
Andrew Brezovsky [Fri, 29 Mar 2019 01:28:02 +0000 (21:28 -0400)]
make: decode bytes objects from subprocess stdout in configure.py Launcher class, resolves #2011
Signed-off-by: Andrew Brezovsky <abrezovsky@gmail.com>
Bradley Sepos [Thu, 28 Mar 2019 16:36:16 +0000 (12:36 -0400)]
libhb: Consolidate plane functions and eliminate a malloc in Chroma Smooth.
Bradley Sepos [Wed, 13 Mar 2019 21:36:43 +0000 (17:36 -0400)]
libhb: Tweak Chroma Smooth filter presets and tunes.
The initial tunes were too weak.
Bradley Sepos [Thu, 7 Mar 2019 12:55:15 +0000 (07:55 -0500)]
libhb: Initial implementation of Chroma Smooth filter.
Damiano Galassi [Thu, 28 Mar 2019 11:23:30 +0000 (12:23 +0100)]
MacGui: specify is a path is a folder or not when creating an url.
Damiano Galassi [Thu, 28 Mar 2019 11:22:29 +0000 (12:22 +0100)]
MacGui: improve localized progress number formats, use a monospace string to avoid numbers jumping around.
sr55 [Sun, 24 Mar 2019 21:45:13 +0000 (21:45 +0000)]
WinGui: Fix an issue where cropping was taking into account too late when loading presets. Fixes #2007
sr55 [Sat, 23 Mar 2019 14:19:05 +0000 (14:19 +0000)]
WinGui: More robust Timespan parsing.
John Stebbins [Wed, 20 Mar 2019 22:01:36 +0000 (16:01 -0600)]
LinGui: work around GTK slider value formatting bug
When the range of a slider changes, GTK used to sample all the
possible values to determine the correct amount of screen space to
allocate for the value strings. Some *genius* decided it would be
more effecient to just sample the first and last value which means
that if certain characters are wider than others and the middle
values happen to use those characters, the space allocated is
too small and the string wraps to the next line or is truncated.
So, we have to randomly add some extra space to the first and
last value string in order for the string to be displayed properly.
WTF guys!
Damiano Galassi [Wed, 20 Mar 2019 12:37:09 +0000 (13:37 +0100)]
MacGui: add French localization and update Italian and German.
sr55 [Sun, 17 Mar 2019 14:49:36 +0000 (14:49 +0000)]
WinGui: Add protection against unavailable directory in MRU List. Fixes #1995
John Stebbins [Wed, 13 Mar 2019 22:12:32 +0000 (16:12 -0600)]
qsv: fix build when qsv is disabled
John Stebbins [Tue, 12 Mar 2019 19:57:17 +0000 (13:57 -0600)]
qsv: add i965 VA driver fallback
The iHD VA driver does not work for Sandy bridge, Ivy bridge and
Haswell. iHD will fail to initialize on these CPUs. So when a failure
occurs, fallback to i965.
John Stebbins [Tue, 12 Mar 2019 18:45:24 +0000 (12:45 -0600)]
qsv: allow user to override VA driver name
John Stebbins [Tue, 12 Mar 2019 18:24:13 +0000 (12:24 -0600)]
fix spurious libswscale warning
These messages only appear rarely, but they annoy.
It's complaining about an uninitialized unused plane
John Stebbins [Tue, 12 Mar 2019 17:29:24 +0000 (11:29 -0600)]
sync: imporve accuracy of logged min/max fps
John Stebbins [Tue, 12 Mar 2019 15:06:24 +0000 (09:06 -0600)]
encavcodec: fix bitrate ceiling overflow for VP8/9
When using constant quality encoding with VP8/9, we set a bitrate
ceiling to prevent bitrate spikes. The calculation of this ceiling was
duplicated at some point and the second copy was not transcribed
properly and resulted in integer overflow.
Fixes https://github.com/HandBrake/HandBrake/issues/1966
Damiano Galassi [Tue, 12 Mar 2019 11:01:24 +0000 (12:01 +0100)]
MacGui: don't enable the sandbox by default.
Damiano Galassi [Sun, 10 Mar 2019 13:39:37 +0000 (14:39 +0100)]
MacGui: update codesign script.
Damiano Galassi [Sun, 10 Mar 2019 13:04:51 +0000 (14:04 +0100)]
MacGui: use ui-separation-and-xpc Sparkle branch.
John Stebbins [Mon, 11 Mar 2019 21:43:47 +0000 (15:43 -0600)]
qsv: fix 'quality' preset on linux
Drop back to MediaSDK 18.4.1 and Media Driver 18.4.1.
The MSS KBL 19.1.0 version of MediaSDK results in a shared lib that
can't be cached by ldconfig. We need shared object caching in the
flatpak plugin for things to work correctly. Version 18.4.1 creates a
properly versioned library that ldconfig can cache.
John Stebbins [Sun, 10 Mar 2019 16:30:35 +0000 (10:30 -0600)]
qsv: fix logging of implementation 'via' option
implementation is not a bit vector. It has bit fields.
Damiano Galassi [Sun, 10 Mar 2019 12:58:17 +0000 (13:58 +0100)]
MacGui: improve main window UI sizing.
sr55 [Sun, 10 Mar 2019 11:55:00 +0000 (11:55 +0000)]
WinGui: Move all image paths to be consistent.
sr55 [Sun, 10 Mar 2019 11:53:59 +0000 (11:53 +0000)]
WinGui: Fix inline queue.
sr55 [Sat, 9 Mar 2019 21:30:14 +0000 (21:30 +0000)]
WinGui: Log exceptions out to files in the log directory. #1950
sr55 [Sat, 9 Mar 2019 21:13:45 +0000 (21:13 +0000)]
WinGui: Add log messages around preset service actions that were not previously logged.
sr55 [Sat, 9 Mar 2019 21:09:06 +0000 (21:09 +0000)]
WinGui: Add some error checking into the Portable mode to guide users when there are problems with probable.ini
sr55 [Sat, 9 Mar 2019 20:50:06 +0000 (20:50 +0000)]
WinGui: Bind "Ctrl-C" on the Error window. This *may* be usable in some instances where the screen doesn't render correctly to allow us to see the error. #1950