]> granicus.if.org Git - handbrake/log
handbrake
6 years agoUpdate NEWS.markdown for HandBrake 1.1.0 release.
Bradley Sepos [Sat, 31 Mar 2018 19:05:59 +0000 (15:05 -0400)]
Update NEWS.markdown for HandBrake 1.1.0 release.

Thanks Scott (@sr55) for the initial draft.

6 years agoPort to GDBus (#1234)
Arkadiy Illarionov [Sun, 18 Mar 2018 20:24:18 +0000 (23:24 +0300)]
Port to GDBus (#1234)

* Port to GDBus

Fixes #1121

* Restore NULL checks for the error return values.

* NULL check for DBUS connection

6 years agoMacGUI: Select newly saved preset on creation.
Bradley Sepos [Sat, 17 Mar 2018 22:16:20 +0000 (18:16 -0400)]
MacGUI: Select newly saved preset on creation.

6 years agoMacGUI: Improve rename return value conditional.
Bradley Sepos [Sat, 17 Mar 2018 21:38:46 +0000 (17:38 -0400)]
MacGUI: Improve rename return value conditional.

6 years agoMacGUI: Fix Rename dialog on 10.7.
Bradley Sepos [Sat, 17 Mar 2018 21:36:40 +0000 (17:36 -0400)]
MacGUI: Fix Rename dialog on 10.7.

6 years agoMacGUI: Add Rename Preset dialog.
Rodeo314 [Fri, 2 Feb 2018 09:57:52 +0000 (04:57 -0500)]
MacGUI: Add Rename Preset dialog.

@BradleyS thanks @Rodeo314 for his help with this.

6 years agoMacGUI: Rename Picture to Dimensions and move Destination on Queue jobs.
Bradley Sepos [Sat, 3 Feb 2018 20:17:37 +0000 (15:17 -0500)]
MacGUI: Rename Picture to Dimensions and move Destination on Queue jobs.

Consistent with the main window naming and flow.

6 years agoMacGUI: Set the popover selected preset to the current on make default.
Bradley Sepos [Fri, 2 Feb 2018 08:50:11 +0000 (03:50 -0500)]
MacGUI: Set the popover selected preset to the current on make default.

Avoids noop when popover has selected a folder. Only applies to Make Default Preset in the main menu; the popover menu item is disabled when a folder is selected.

6 years agoMacGUI: Add Make Default Preset item to Presets menu.
Bradley Sepos [Thu, 1 Feb 2018 18:15:21 +0000 (13:15 -0500)]
MacGUI: Add Make Default Preset item to Presets menu.

Move Set Default Preset directly above the presets list for clarity and to avoid confusion between get/set.

6 years agoMacGUI: Update main window preset control when changing the default preset via popover.
Bradley Sepos [Thu, 1 Feb 2018 18:23:18 +0000 (13:23 -0500)]
MacGUI: Update main window preset control when changing the default preset via popover.

6 years agoMacGUI: Update main window preset control when renaming via popover.
Bradley Sepos [Thu, 1 Feb 2018 13:33:34 +0000 (08:33 -0500)]
MacGUI: Update main window preset control when renaming via popover.

6 years agoMacGUI: After deleting a preset, select the default preset.
Bradley Sepos [Thu, 1 Feb 2018 07:39:59 +0000 (02:39 -0500)]
MacGUI: After deleting a preset, select the default preset.

Both the popover and main window control were selecting nothing at all in some/all cases.

6 years agoMacGUI: Add Delete item to Presets menu.
Bradley Sepos [Thu, 1 Feb 2018 06:37:58 +0000 (01:37 -0500)]
MacGUI: Add Delete item to Presets menu.

6 years agoMacGUI: Set the popover selected preset to the current preset on close.
Bradley Sepos [Thu, 1 Feb 2018 07:47:28 +0000 (02:47 -0500)]
MacGUI: Set the popover selected preset to the current preset on close.

Ensures we operate on the main window's currently selected preset when the popover is closed.

6 years agoMacGUI: Load the presets popover view on main window load.
Bradley Sepos [Thu, 1 Feb 2018 06:34:33 +0000 (01:34 -0500)]
MacGUI: Load the presets popover view on main window load.

Fixes the scenario where presets menu and controls do not update the popover until it is shown, e.g. Presets > Export...

6 years agoLinGui: fix problem with application of autoscale
John Stebbins [Sat, 17 Mar 2018 00:30:02 +0000 (18:30 -0600)]
LinGui: fix problem with application of autoscale

Fixes https://github.com/HandBrake/HandBrake/issues/1146

6 years agoLinGui: fix rounding error in display aspect
John Stebbins [Fri, 16 Mar 2018 18:06:04 +0000 (12:06 -0600)]
LinGui: fix rounding error in display aspect

This is only a cosmetic display problem.  The values used during
encoding are correct.

6 years agoAdds Load Queue File to main Queue menu (#1223)
Corey Daley [Mon, 12 Mar 2018 16:05:25 +0000 (12:05 -0400)]
Adds Load Queue File to main Queue menu (#1223)

Add a Load Queue File menu item to the main Queue menu for ease of use.

6 years agoFix typo
Bernhard Reutner-Fischer [Sun, 4 Mar 2018 12:59:13 +0000 (13:59 +0100)]
Fix typo

s/seletec/select/g

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
6 years agoWinGui: Fix Framerate mode setting when using presets and quicksync. Fixes #1222
sr55 [Sat, 10 Mar 2018 22:21:58 +0000 (22:21 +0000)]
WinGui: Fix Framerate mode setting when using presets and quicksync.  Fixes #1222

6 years agoLinGui: add support for GtkApplication suspend inhibit/uninhibit
John Stebbins [Tue, 27 Feb 2018 20:56:14 +0000 (13:56 -0700)]
LinGui: add support for GtkApplication suspend inhibit/uninhibit

This is a new API since GTK 3.4.  Use it instead of DBUS when available.

6 years agolibhb/param: skip redundant checks.
Tim Walker [Mon, 26 Feb 2018 00:15:39 +0000 (01:15 +0100)]
libhb/param: skip redundant checks.

6 years agolibhb: fix parsing of filters' tunes.
Tim Walker [Mon, 26 Feb 2018 00:02:03 +0000 (01:02 +0100)]
libhb: fix parsing of filters' tunes.

filter_param_get_entry() was using the preset count for bounds checking.

6 years agocontrib: Fix x265.clean warning. #1195
Bradley Sepos [Sat, 24 Feb 2018 17:04:28 +0000 (12:04 -0500)]
contrib: Fix x265.clean warning. #1195

6 years agoWinGui: Make the Audio Sample Rate tolerant of number styles. Fixes #1193
sr55 [Wed, 21 Feb 2018 22:02:34 +0000 (22:02 +0000)]
WinGui: Make the Audio Sample Rate tolerant of number styles. Fixes #1193

6 years agoMissed typo in previous commit
luz.paz [Tue, 20 Feb 2018 20:34:42 +0000 (15:34 -0500)]
Missed typo in previous commit

6 years agoplease review....
luz.paz [Wed, 7 Feb 2018 15:55:43 +0000 (10:55 -0500)]
please review....

there is a redundant 'the the' in this string, please advise

6 years agoMisc. typos
luz.paz [Wed, 7 Feb 2018 15:54:59 +0000 (10:54 -0500)]
Misc. typos

Found via `codespell -q 3 --skip="./gtk/po`

6 years agocontrib: Update to Libav 12.3.
Bradley Sepos [Mon, 19 Feb 2018 15:05:44 +0000 (10:05 -0500)]
contrib: Update to Libav 12.3.

Changelog: https://git.libav.org/?p=libav.git;a=blob;f=Changelog;hb=refs/tags/v12.3

Adds a workaround to ensure x264 is built first. Otherwise, it may fail to find nasm later.

Closes #1181.

6 years agoencx264: fix apply_h264_profile's lossless check for high bit depth.
Tim Walker [Sun, 18 Feb 2018 05:04:20 +0000 (06:04 +0100)]
encx264: fix apply_h264_profile's lossless check for high bit depth.

6 years agoWinGui: Fix various issues on the filter tab when returning items from the queue...
sr55 [Wed, 14 Feb 2018 21:50:39 +0000 (21:50 +0000)]
WinGui: Fix various issues on the filter tab when returning items from the queue. Fixes #1177

6 years agoWinGui: Remove debug option that's causing aspect ratio issues on the Picture setting...
sr55 [Wed, 14 Feb 2018 21:11:29 +0000 (21:11 +0000)]
WinGui: Remove debug option that's causing aspect ratio issues on the Picture settings view. #1180

6 years agoWinGui: New shortcuts for easier accessibility. Ctrl 1 through 7 activate given...
sr55 [Sat, 10 Feb 2018 21:22:53 +0000 (21:22 +0000)]
WinGui:  New shortcuts for easier accessibility.  Ctrl 1 through 7 activate given tabs and set focus to allow easier tab navigation of the guil

6 years agoWinGui: Label consistency tweak on audio tab.
sr55 [Sat, 10 Feb 2018 20:43:14 +0000 (20:43 +0000)]
WinGui: Label consistency tweak on audio tab.

6 years agoWinGui: Fixes to Anamorphic handling on the picture tab and in static preview #1169
sr55 [Sat, 10 Feb 2018 20:41:30 +0000 (20:41 +0000)]
WinGui: Fixes to Anamorphic handling on the picture tab and in static preview #1169

6 years agoWinGui: Change the checkbox text direction to be consistent with the rest of the...
sr55 [Sat, 10 Feb 2018 20:09:59 +0000 (20:09 +0000)]
WinGui: Change the checkbox text direction to be consistent with the rest of the UI.  #1174

6 years agoMacGUI: Add Presets item to main window toolbar again.
Bradley Sepos [Sat, 3 Feb 2018 15:44:37 +0000 (10:44 -0500)]
MacGUI: Add Presets item to main window toolbar again.

I initially removed it to sync with the other UIs, but this was based on a mistaken assumption that we had consensus (sorry).

6 years agoLinGui: don't remember state of presets window
John Stebbins [Wed, 31 Jan 2018 21:46:21 +0000 (13:46 -0800)]
LinGui: don't remember state of presets window

Do not automatically open the presets window when restarting the
application.

6 years agoWinGui: Add Presets button to toolbar. The preset management options are not discover...
sr55 [Wed, 31 Jan 2018 20:31:58 +0000 (20:31 +0000)]
WinGui: Add Presets button to toolbar. The preset management options are not discoverable enough as-is

6 years agoMacGui: do not resize the main window if the text in the title popup is too long.
Damiano Galassi [Wed, 31 Jan 2018 09:28:36 +0000 (10:28 +0100)]
MacGui: do not resize the main window if the text in the title popup is too long.

6 years agoMacGui: fix the queue job descriptions cache.
Damiano Galassi [Wed, 31 Jan 2018 09:10:58 +0000 (10:10 +0100)]
MacGui: fix the queue job descriptions cache.

6 years agoMacGUI: Minor revision to notification text.
Bradley Sepos [Sun, 28 Jan 2018 11:38:48 +0000 (06:38 -0500)]
MacGUI: Minor revision to notification text.

Capitalize the description and remove app title so more file name characters will fit.

6 years agoMacGUI: Coding style cosmetics.
Bradley Sepos [Fri, 26 Jan 2018 21:44:25 +0000 (16:44 -0500)]
MacGUI: Coding style cosmetics.

6 years agoMacGUI: More minor adjustments and fixes to main window auto layout.
Bradley Sepos [Fri, 26 Jan 2018 05:26:28 +0000 (00:26 -0500)]
MacGUI: More minor adjustments and fixes to main window auto layout.

6 years agoMacGUI: Use empty strings instead of "None" when Summary items are disabled.
Bradley Sepos [Fri, 26 Jan 2018 02:14:41 +0000 (21:14 -0500)]
MacGUI: Use empty strings instead of "None" when Summary items are disabled.

6 years agoMacGUI: Disable all labels when no source loaded.
Bradley Sepos [Fri, 26 Jan 2018 01:41:42 +0000 (20:41 -0500)]
MacGUI: Disable all labels when no source loaded.

6 years agoMacGUI: Consistently left-align main window titles.
Bradley Sepos [Fri, 26 Jan 2018 01:17:46 +0000 (20:17 -0500)]
MacGUI: Consistently left-align main window titles.

6 years agoMacGUI: Move toolbar item badge and vary type size with scale factor.
Bradley Sepos [Wed, 24 Jan 2018 22:49:37 +0000 (17:49 -0500)]
MacGUI: Move toolbar item badge and vary type size with scale factor.

10 pt for standard displays, 8 pt for high dpi displays. Alignment considerations.

6 years agoMacGUI: Make toolbar layout and configuration more consistent.
Bradley Sepos [Wed, 24 Jan 2018 06:17:26 +0000 (01:17 -0500)]
MacGUI: Make toolbar layout and configuration more consistent.

6 years agoMacGUI: Fix sizing issue with Add Titles To Queue toolbar button.
Bradley Sepos [Wed, 24 Jan 2018 04:30:58 +0000 (23:30 -0500)]
MacGUI: Fix sizing issue with Add Titles To Queue toolbar button.

6 years agoMacGUI: Add ellipsis to label button that opens a dialog, update tooltip.
Bradley Sepos [Wed, 24 Jan 2018 04:20:07 +0000 (23:20 -0500)]
MacGUI: Add ellipsis to label button that opens a dialog, update tooltip.

Tooltip was decided here: https://github.com/HandBrake/HandBrake/issues/833#issuecomment-330325069

6 years agoMacGUI: Improve auto layout on main window.
Bradley Sepos [Wed, 24 Jan 2018 04:06:39 +0000 (23:06 -0500)]
MacGUI: Improve auto layout on main window.

6 years agoMacGui: Add preset reload button.
sr55 [Sun, 21 Jan 2018 21:32:05 +0000 (21:32 +0000)]
MacGui: Add preset reload button.

6 years agoMacGui: Change + to 'Save New Preset' to be consistent with the Win/Linux GUIs.
sr55 [Sun, 21 Jan 2018 20:41:01 +0000 (20:41 +0000)]
MacGui: Change + to 'Save New Preset' to be consistent with the Win/Linux GUIs.

6 years agoLinGui: remove Ubuntu Zesty nightly build
John Stebbins [Thu, 25 Jan 2018 21:50:18 +0000 (14:50 -0700)]
LinGui: remove Ubuntu Zesty nightly build

Zesty is obsolete

6 years agosync: fix hang in searching for PtoP start frame
John Stebbins [Thu, 25 Jan 2018 21:46:56 +0000 (14:46 -0700)]
sync: fix hang in searching for PtoP start frame

fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37311

6 years agographics: Add markdown extension to AUTHORS file.
Bradley Sepos [Wed, 24 Jan 2018 06:31:23 +0000 (01:31 -0500)]
graphics: Add markdown extension to AUTHORS file.

6 years agomac: Use E-AC3 instead of EAC3 in audio selection behavior sheet.
Bradley Sepos [Tue, 23 Jan 2018 19:27:25 +0000 (14:27 -0500)]
mac: Use E-AC3 instead of EAC3 in audio selection behavior sheet.

Fixes #1131.

6 years agoscripts: Update to mingw-w64-build 3.1.1.
Bradley Sepos [Tue, 23 Jan 2018 19:10:04 +0000 (14:10 -0500)]
scripts: Update to mingw-w64-build 3.1.1.

6 years agoBuild: Make --enable-qsv MinGW and Linux only. #1060
sr55 [Tue, 23 Jan 2018 16:52:10 +0000 (16:52 +0000)]
Build: Make --enable-qsv MinGW and Linux only.  #1060

6 years agoWinGui: Small UI consistency Tweak on the subtitle tab. #1119
sr55 [Sun, 21 Jan 2018 17:41:03 +0000 (17:41 +0000)]
WinGui: Small UI consistency Tweak on the subtitle tab.  #1119

6 years agoLinGui: fix "official" preset reload
John Stebbins [Sun, 14 Jan 2018 20:10:02 +0000 (13:10 -0700)]
LinGui: fix "official" preset reload

The preset type was overwritten with custom type causing a failure to
look up the preset when reloading.

6 years agocontrib/libxml2: explicitly disable LZMA support.
Tim Walker [Thu, 4 Jan 2018 00:24:51 +0000 (01:24 +0100)]
contrib/libxml2: explicitly disable LZMA support.

Fix possible build failure, when liblzma
(xz) is found in pkg-config's search path.

6 years agoLinGui: fix tooltip for "Save New Preset"
John Stebbins [Sat, 13 Jan 2018 20:33:26 +0000 (13:33 -0700)]
LinGui: fix tooltip for "Save New Preset"

6 years agoWinGui: Reselect the last selected preset (if still available) when editing a queue...
sr55 [Sat, 13 Jan 2018 20:30:44 +0000 (20:30 +0000)]
WinGui: Reselect the last selected preset (if still available) when editing a queue task. Fix a bug on the summary task not rendering correctly when queue editing.

6 years agoLinGui: update preset menu button when editing queue item
John Stebbins [Sat, 13 Jan 2018 20:08:27 +0000 (13:08 -0700)]
LinGui: update preset menu button when editing queue item

6 years agoWinGui: Remove duplicate line in AudioConverter
sr55 [Sat, 13 Jan 2018 13:02:33 +0000 (13:02 +0000)]
WinGui: Remove duplicate line in AudioConverter

6 years agocontrib: Update libsamplerate.
Bradley Sepos [Wed, 27 Dec 2017 20:10:27 +0000 (15:10 -0500)]
contrib: Update libsamplerate.

I've asked upstream a couple times to push at least one tag, but it seems the maintainer is busy with other projects. Imagining a world where libsamplerate 0.1.9 was tagged, this is libsamplerate 0.1.9-35-g02ebb9f.

Numerous improvements include upstream moving from bzr to git, modernizing and cleaning up the autotools-based build system, fixing issues involving GCC 7, and *nine* years of improvements to the code base.

libsamplerate is now under a 2-clause BSD license.

6 years agobuild: Add FreeBSD support.
Yuichiro NAITO [Mon, 25 Dec 2017 07:13:30 +0000 (16:13 +0900)]
build: Add FreeBSD support.

Closes #1076.

6 years agogtk: socket(2) is defined in sys/socket.h in FreeBSD.
Yuichiro NAITO [Mon, 25 Dec 2017 07:36:26 +0000 (16:36 +0900)]
gtk: socket(2) is defined in sys/socket.h in FreeBSD.

6 years agogtk: libdl is not needed for FreeBSD.
Yuichiro NAITO [Mon, 25 Dec 2017 07:05:25 +0000 (16:05 +0900)]
gtk: libdl is not needed for FreeBSD.

6 years agolibhb: Define SYS_FREEBSD in libhb module.
Yuichiro NAITO [Mon, 25 Dec 2017 07:02:56 +0000 (16:02 +0900)]
libhb: Define SYS_FREEBSD in libhb module.

6 years agoWinGui: Order presets by name. Fixes #1102
sr55 [Fri, 12 Jan 2018 22:04:13 +0000 (22:04 +0000)]
WinGui: Order presets by name. Fixes #1102

6 years agoWinGui: Remove E-AC3 Passthru for MP4.
sr55 [Fri, 12 Jan 2018 22:00:55 +0000 (22:00 +0000)]
WinGui: Remove E-AC3 Passthru for MP4.

6 years agoWinGui: Fix an issue where TrueHD and Flac passthru showed up for MP4 files. Fixes...
sr55 [Fri, 12 Jan 2018 21:59:44 +0000 (21:59 +0000)]
WinGui: Fix an issue where TrueHD and Flac passthru showed up for MP4 files.  Fixes #1096

6 years agoWinGui: Fix Binding Error.
sr55 [Fri, 12 Jan 2018 21:46:06 +0000 (21:46 +0000)]
WinGui: Fix Binding Error.

6 years agolibhb: fix a number of issues reported by clang.
Damiano Galassi [Fri, 12 Jan 2018 19:54:08 +0000 (20:54 +0100)]
libhb: fix a number of issues reported by clang.

7 years agolibhb: Allow NLMeans prefilter passthru when strength is 0 (zero).
Bradley Sepos [Thu, 11 Jan 2018 04:58:02 +0000 (23:58 -0500)]
libhb: Allow NLMeans prefilter passthru when strength is 0 (zero).

7 years agolibhb: Make NLMeans prefilter order consistent.
Bradley Sepos [Thu, 11 Jan 2018 04:56:54 +0000 (23:56 -0500)]
libhb: Make NLMeans prefilter order consistent.

7 years agolibhb: Make prefiltered check in NLMeans more explicit.
Bradley Sepos [Thu, 11 Jan 2018 04:55:24 +0000 (23:55 -0500)]
libhb: Make prefiltered check in NLMeans more explicit.

7 years agolibhb: Reorder some code in nlmeans_prefilter for clarity.
Bradley Sepos [Thu, 11 Jan 2018 04:55:00 +0000 (23:55 -0500)]
libhb: Reorder some code in nlmeans_prefilter for clarity.

7 years agolibhb: Plug memory leak in NLMeans.
Bradley Sepos [Thu, 11 Jan 2018 04:50:43 +0000 (23:50 -0500)]
libhb: Plug memory leak in NLMeans.

This reverts 0e072aa42e3affd6280447317375460753f9284b and implements a proper fix for some frames not being prefiltered correctly. Turns out it was an issue with an uninitialized variable.

7 years agoqsv: better dimensions adjustments for HEVC 10b
maxd [Tue, 9 Jan 2018 07:37:48 +0000 (08:37 +0100)]
qsv: better dimensions adjustments for HEVC 10b

7 years agolibhb: fixed a dead assignment in avfilter.c.
Damiano Galassi [Wed, 10 Jan 2018 15:57:01 +0000 (16:57 +0100)]
libhb: fixed a dead assignment in avfilter.c.

7 years agolibhb: fix a leak in decssasub
Damiano Galassi [Wed, 10 Jan 2018 15:54:58 +0000 (16:54 +0100)]
libhb: fix a leak in decssasub

7 years agoports: fix a possible null deference.
Damiano Galassi [Wed, 10 Jan 2018 15:53:09 +0000 (16:53 +0100)]
ports: fix a possible null deference.

7 years agobuild: Add sign function to macosx module.
Bradley Sepos [Wed, 10 Jan 2018 12:13:22 +0000 (07:13 -0500)]
build: Add sign function to macosx module.

make sign ID="Developer ID"

7 years agoMacGui: rearrange the toolbar and add a button to save a new preset in the main window.
Damiano Galassi [Wed, 10 Jan 2018 09:32:34 +0000 (10:32 +0100)]
MacGui: rearrange the toolbar and add a button to save a new preset in the main window.

7 years agobuild: More robust failure on missing or old nasm.
Bradley Sepos [Wed, 10 Jan 2018 07:43:36 +0000 (02:43 -0500)]
build: More robust failure on missing or old nasm.

Since Linux and similar use system x264, avoid failure on missing/old nasm, since it should not be needed.

7 years agoencx264: check correct build number in ifdef
John Stebbins [Sun, 31 Dec 2017 16:42:26 +0000 (08:42 -0800)]
encx264: check correct build number in ifdef

The multi-lib change actually happend in build 153

7 years agobuild: Unclobber PATH when shunting build through Xcode.
Bradley Sepos [Fri, 29 Dec 2017 18:09:38 +0000 (13:09 -0500)]
build: Unclobber PATH when shunting build through Xcode.

Tools shipping with Xcode are still in PATH, only moved from first to last priority. Avoids accidentally using old tools where a newer version is installed. This ensures the tools identified by configure will be the exact tools used by make via Xcode.

7 years agoscripts: Enable sections and lto for nasm.
Bradley Sepos [Thu, 28 Dec 2017 21:06:53 +0000 (16:06 -0500)]
scripts: Enable sections and lto for nasm.

Pass a couple standard variables since make sometimes makes zero sense.

7 years agocontrib: Make x264 cross options valid for all cross, not just mingw.
Bradley Sepos [Thu, 28 Dec 2017 19:50:29 +0000 (14:50 -0500)]
contrib: Make x264 cross options valid for all cross, not just mingw.

Also set CONFIGURE.build to null since the configure script has no clue about --build.

7 years agobuild: Update configure.py to check for nasm >= 2.13.
Bradley Sepos [Thu, 28 Dec 2017 18:49:44 +0000 (13:49 -0500)]
build: Update configure.py to check for nasm >= 2.13.

Required for recent x264. Better to fail here than part-way through a build.

7 years agoscripts: Update mac-toolchain-build to add nasm.
Bradley Sepos [Thu, 28 Dec 2017 18:49:12 +0000 (13:49 -0500)]
scripts: Update mac-toolchain-build to add nasm.

7 years agocontrib: Remove yasm from x264 module.
Bradley Sepos [Thu, 28 Dec 2017 18:48:31 +0000 (13:48 -0500)]
contrib: Remove yasm from x264 module.

7 years agox264: bump to build 155
John Stebbins [Tue, 26 Dec 2017 20:38:21 +0000 (12:38 -0800)]
x264: bump to build 155

Requires NASM to build
Unified 8 and 10 bit library support
AVX-512 optimizations
Various other bug fixes and improvements

7 years agolibhb: Better prioritize NLMeans prefilter order.
Bradley Sepos [Tue, 9 Jan 2018 10:10:36 +0000 (05:10 -0500)]
libhb: Better prioritize NLMeans prefilter order.

7 years agolibhb: Add CSM prefilter to NLMeans.
Bradley Sepos [Tue, 9 Jan 2018 09:30:28 +0000 (04:30 -0500)]
libhb: Add CSM prefilter to NLMeans.

CSM is a Conservative Smoothing filter with Median-like tendencies.

Conservative Smoothing is a basic noise reduction method that ensures a given pixel is within the values of those around it. A value higher than all the others is clamped to the maximum value in the neighborhood. Likewise, a value lower than all the others is clamped to the minimum value in the neighborhood. Basically, pixel values that seem to "fit in" are left alone, and extreme values are brought in line.

CSM takes this a step further. A pixel not affected by the previous part of the algorithm is subjected to additional thresholding. If the pixel value is closer to the minimum or maximum neighborhood value than the median, it is clamped to the half-way point. Finally, a pixel still not affected is subjected to a third level of thresholding, clamping to the half-way point between the median and the previous half-way point. Any other pixel value is deemed close enough to its peers and left alone.

In effect, this creates a "soft" median-like filter, where relatively similar values are left alone and increasingly disparate values are nudged closer together.

Practically, CSM is the best prefilter to date for improving weight decisions with sources containing a type or amount of noise proving difficult for NLMeans to uniformly dampen or completely remove on its own. Additionally, it does not significantly alter the strength metric in most cases, so it can simply be enabled wherever desired. From what I can tell in my limited testing, the algorithm respects proper detail and edges well enough that it seems to be safe with nearly any source. Perhaps it should be the default if I ever get around to creating NLMeans 2.

Unlike the mean and median prefilters where a larger neighborhood increases the strength of the prefilter, a larger CSM neighborhood merely takes more pixels into account, theoretically decreasing the strength of the filter. In practice, the provided 3x3 and 5x5 neighborhoods typically do not produce significantly differing results.

Basic usage: Add y-prefilter=16 to your desired parameters and NLMeans will use CSM for weighting decisions. Use y-prefilter=2064 if you want to see the output of the prefilter itself—the visual effect is mild. Adjust these values to 32 and 2080 for a 5x5 neighborhood; 3x3 works well in all cases I've tried.

7 years agoQSV: fix ICQ availability detection for HEVC encoder.
Tim Walker [Thu, 4 Jan 2018 00:02:42 +0000 (01:02 +0100)]
QSV: fix ICQ availability detection for HEVC encoder.

Explicitly set all relevant rate control parameters when
querying for availability of a given rate control method.

I still "blame" Intel, as the existing code managed to
query ICQ availability for the H.264 encoder just fine.