Subject: CVS commit: pkgsrc/multimedia/handbrake
From: Ryo ONODERA
Date: 2020-02-12 14:54:56
Message id: 20200212135456.6FF2FFBF4@cvs.NetBSD.org

Log Message:
handbrake: Update to 1.3.1

Changelog:
HandBrake 1.3.1
All platforms
General

    Fixed potential crash when opening a DVD source

Video

    Fixed rotation/flip not working properly in some cases
    Fixed an issue with QSV failures when using --start-at
    Updated presets using x265 to set aq-mode 1, the default prior to HandBrake 1.3.0
    Improved AMD VCE rate control by always explicitly setting the rate control \ 
method
    Added a workaround to fix x265 not parsing the H.265 Level setting where \ 
localized
    Added an upstream patch to fix x265 limit-tu bug in loading co-located CU's \ 
TU depth
    Added an upstream patch to fix x265 2-pass encoding failure
    Added an upstream patch to fix x265 VBV macroblocking at end of final GOP

Audio

    Fixed importing older presets where "und" was used to select any \ 
language track
        Since HandBrake 1.3.0, "any" selects any language track and \ 
"und" selects undefined language tracks only
    Fixed secondary audio tracks on Blu-ray sources not being detected in some cases

Subtitles

    Fixed importing older presets where "und" was used to select any \ 
language track
        Since HandBrake 1.3.0, "any" selects any language track and \ 
"und" selects undefined language tracks only

Build system

    Fixed cpp and lib flags causing build failures on some Linux systems

Third-party libraries

    Updated libraries
        FFmpeg 4.2.2 (decoding and filters)

Linux

    Fixed UI translations not working in some cases
    Fixed display of chapter start times
    Fixed small memory leak in audio list

Mac

    Fixed importing external ASS/SSA subtitles
    Fixed statistics not updating after queue completion
    Updated documentation link to the most recent documentation version

Windows

    Fixed missing UI translations for some languages
        Español (Spanish)
        Français (French)
        한국어 (Korean)
        русский (Russian)
        Türkçe (Turkish)
    Fixed official presets not updating after installing a new release
    Fixed preference for automatically naming file extension MP4/M4V not working
    Fixed an issue preventing the use of relative paths for automatic naming
    Fixed audio and subtitles selection behavior not saving when set via the \ 
Save New Preset dialog
    Fixed closed captions not being added automatically per selection behavior
    Fixed iPod 5G support option displaying when an incompatible encoder is selected
    Fixed queue updating slowly or not updating in some cases
    Fixed a few UI issues and a crash with the new dark theme.
    Fixed window not restoring properly after minimizing to system tray
    Fixed frame rate mode not updating on video codec change, preventing QSV \ 
zero-copy mode

HandBrake 1.3.0
All platforms
General

    HandBrake is now translated into many more languages
    Redesigned queue UI
    Removed Windows Mobile presets
        See the list of compatible replacements on GitHub
    Improved log output by silencing many lines at standard log level
    Improved quality of Gmail presets slightly
    Added Playstation 2160p60 4K Surround preset (supports PS4 Pro)
    Added Discord and Discord Nitro presets

Video

    Updated Intel Quick Sync Video to use Direct3D 11 API
    Updated minimum title scan duration to only apply to disc-based sources like \ 
Blu-ray and DVD
    Improved detection of MPEG-1 video in program streams
    Improved interface to FFmpeg avfilter and color handling
    Improved Nvidia NVENC constant quality encoding slightly by not setting qmin \ 
and qmax
    Replaced pp7 Deblock filter with FFmpeg Deblock filter
    Added support for reading Ultra HD Blu-ray discs (without copy protection)
    Added support for reading AV1 via libdav1d
    Added encoding to WebM container format
    Added Chroma Smooth filter (CLI only)
    Added zero-copy path for Intel QSV encoding removed in a previous release
    Added support for Intel QSV low power encoding (lowpower=1)
    Added support for AMD VCE encoding on Linux via Vulkan
    Added ability to select x265 encoder level and Fast Decode tune

Audio

    Updated audio resampling code to use FFmpeg swresample instead of libsamplerate
    Added source audio bit rate to tracks list
    Added ability to select unknown language tracks
    Added automatic track name pass through

Subtitles

    Added ability to import external SSA/ASS subtitles
    Added ability to select unknown language tracks
    Added automatic track name pass through

Command line interface

    Added additional unit aliases to --start-at and --stop-at, notably seconds \ 
and frames

Build system

    HandBrake now builds with libnuma on Linux
    Fixed Python bytestrings causing newlines to be ignored in build output
    Fixed Xcode ignoring make jobs parameter and utilizing all CPU cores (macOS only)
    Updated configure to enable most hardware encoders by default where \ 
appropriate by platform
    Updated all scripts for compatibility with Python 3
    Updated mac-toolchain-build script with newer tool versions many improvements
    Updated mingw-w64-build script with mingw-w64 6.0.0, GCC 9.2, and many \ 
improvements
    Improved compatibility with GCC 9 and recent Clang releases
    Improved compatibility with recent Xcode releases (macOS only)
    Improved host/build semantics
    Improved namespace isolation
    Improved handling of all options passed to configure
    Improved configure help output
    Improved detection of missing executable dependencies during configure
    Added support for building on NetBSD
    Added --harden configure parameter to enable buffer overflow protections
    Added --sandbox configure parameter to enable sandbox build target on macOS
    Added --enable-gtk4 configure parameter to build with GTK 4 instead of GTK 3
    Added summary of build options to configure output
    Miscellaneous bug fixes and improvements

Third-party libraries

    Removed libraries
        libsamplerate (audio resampling)
    Updated libraries
        AMF 1.4.9 (AMD VCE encoding)
        bzip2 1.0.8 (general)
        FDK AAC 2.0.1 (AAC audio encoding, must compile from source)
        FFmpeg 4.2.1 (decoding and filters)
        FreeType 2.10.1 (subtitles)
        Fribidi 1.0.7 (subtitles)
        HarfBuzz 2.6.4 (subtitles)
        Jansson 2.12 (JSON architecture)
        libbluray 1.1.2 (Blu-ray decoding)
        libdav1d 0.5.1 (AV1 decoding)
        libdvdnav 6.0.1 (DVD decoding)
        libdvdread 6.0.2 (DVD decoding)
        libiconv 1.16 (character encoding support)
        libmfx (Intel QSV support)
        libogg 1.3.4 (Xiph codecs support)
        libopus 1.3.1 (Opus audio encoding)
        libvorbis 1.3.6 (Vorbis audio encoding)
        libvpx 1.8.1 (VP8/VP9 video encoding)
        libxml2 2.9.9 (general)
        nv-codec-headers 9.0.18.1 (Nvidia NVENC encoding)
        x265 3.2.1 (H.265/HEVC video encoding)

Linux

    Fixed slider control not showing complete values
    Updated translations (levels of completeness vary):
        Czech
        Chinese
        French
        German
        Italian
        Japanese
        Korean
        Norwegian
        Russian
        Spanish
        Thai
    Added translations (levels of completeness vary):
        Afrikaans
        Basque
        Croatian
        Dutch
        Polish
        Portuguese
        Romanian
        Slovak
        Swedish
        Turkish
        Ukrainian
    Added Intel QSV support to Flatpak (requires additional plugin installation)
    Added ability to double-click to edit audio track settings
    Added options to open encode log and log directory to actions menu on queue \ 
window
    Miscellaneous bug fixes and improvements

Mac

    HandBrake now requires OS X 10.11 El Capitan or later
    HandBrake is now sandboxed and uses the macOS hardened runtime
    Updated priority for low-priority threads on macOS to avoid potential stalls \ 
in future macOS
    Updated translations:
        German
    Added translations:
        French
        Italian
        Russian
    Added preference to disable preview image on summary tab
    Miscellaneous bcently used to fallback to parent directory
    Improved preferences layout
    Improved auto naming collision behavior and file overwriting
    Added preference to test selected notification sound
    Added preference to perform when done action immmediace safety measures
        Encoding jobs automatically pause when battery level is low, system \ 
sleep is allowed, and jobs resume when power is restored
        Encoding jobs automatically pause when disk space drops to critical levels
    Added translatioovements

Files:
RevisionActionfile
1.55modifypkgsrc/multimedia/handbrake/Makefile
1.4modifypkgsrc/multimedia/handbrake/PLIST
1.8modifypkgsrc/multimedia/handbrake/distinfo
1.2modifypkgsrc/multimedia/handbrake/patches/patch-libhb_fifo.c
1.1addpkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P04-netbsd-pthread__equal-check.patch
1.1removepkgsrc/multimedia/handbrake/patches/patch-contrib_libbluray_P02-netbsd-configure.patch
1.1removepkgsrc/multimedia/handbrake/patches/patch-libhb_module.defs
1.1removepkgsrc/multimedia/handbrake/patches/patch-make_configure.py
1.1removepkgsrc/multimedia/handbrake/patches/patch-make_include_main.defs
1.1removepkgsrc/multimedia/handbrake/patches/patch-make_variant_netbsd.defs