pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/handbrake



Module Name:    pkgsrc
Committed By:   plunky
Date:           Sun Apr  9 11:15:50 UTC 2023

Modified Files:
        pkgsrc/multimedia/handbrake: Makefile distinfo
        pkgsrc/multimedia/handbrake/patches: patch-make-include-main.defs
            patch-test_module.defs

Log Message:
Update HandBrake to 1.6.1, changes as below:

HandBrake 1.6.1
All platforms
Video

    Fixed a potential decoder issue that could cause desync with audio (#4788, #4789)

Command line interface

    Fixed inability to name external subtitles tracks using --subname

Mac

    Fixed behavior of quality slider when changing encoders

Linux

    Fixed translations missing updates as part of 1.6.0 (#4790)
        Bulgarian (Български)
        Corsican (Corsu)
        Dutch (Nederlands)
        German (Deutsch)
        Spanish (Español)
    Fixed (partially) Intel QSV hardware detection (#4768)
    Fixed a potential crash when canceling an Intel QSV encode (#4341)
    Fixed building with -Werror=format-security by adding missing format strings where needed

Windows

    Fixed quality slider not allowing negative values for encoders supporting them
    Fixed issues upgrading presets from older versions (#4820)
    Fixed a potential graphical interface hang when stopping the queue (#4782)
    Fixed optical disc drives on the source selection pane not scanning correctly (#4771)
    Fixed erroneous display of 2-pass check box for Intel QSV AV1 encoder (not yet supported) (#4777)
    Fixed a build configuration issue that broke version 1.6.0 for Windows on arm64
    Fixed an issue that prevented NVDEC from being available
    Fixed passthru audio erroneously falling back to encoding (#4795)
    Fixed the Save New Preset button incorrectly overwriting recently added presets (#4804)

HandBrake 1.6.0
All platforms
General

    Added AV1 video encoding
    Added high bit depth and color depth support to various encoders and filters
    Added 4K AV1 General, QSV (Hardware), and MKV (Matroska) presets
    Added 4K HEVC General presets and updated related presets to use similar encoder settings
    Revised Web presets and renamed to Creator, Email, and Social
    Removed VP8 presets
        The VP8 video encoder is now deprecated and will be removed in a future release
        Related, the Theora encoder is long deprecated and will be removed in a future release
    Miscellaneous other preset revisions

Video

    Added SVT-AV1 (software) and Intel QSV AV1 (hardware) video encoders
    Added VP9 10-bit encoder
    Added NVENC HEVC 10-bit encoder
    Added VCN HEVC 10-bit encoder
    Added H.264 levels 6, 6.1, and 6.2 for the x264 encoder
    Added H.264/H.265 4:2:2 and 4:4:4 profiles for the x264 and x265 encoders
    Added H.265 4:2:2 profile for VideoToolbox encoder on Apple Silicon
    Added support for Intel Deep Link Hyper Encode (leverage multiple QSV media engines to increase performance)
    Fixed longstanding issue where slowest NVENC encoder preset caused encoding failures
    Removed support for Intel CPUs older than 6th generation (Skylake) when using Intel Quick Sync Video

Filters

    Added Bwdif deinterlace filter
    Improved Autocrop filter algorithm
        Higher accuracy on mixed aspect ratio content, e.g. both letterbox and full frame pictures
    Improved video scaling performance on Apple Silicon and ARM-based systems
        Use zscale (zimg) by default, falling back to swscale where necessary
    Improved multithread performance (slightly) for the following filters on high core count systems
        Comb Detect
        Decomb
        Denoise
            NLMeans
    Updated the following filters to support higher than 8-bit content and 4:2:2/4:4:4 chroma subsampling
        Detelecine
        Comb Detect
        Decomb
        Grayscale
        Denoise
            NLMeans
            HQDN3D
        Chroma Smooth
        Sharpen
            UnSharp
            LapSharp

Build system

    Added support for building for OpenBSD
    Added --cpu configure parameter to enable building for native CPU architecture
    Added --lto configure parameter to enable link time optimization
    Miscellaneous bug fixes and improvements

Third-party libraries

    Updated libraries
        AMF 1.4.24 (AMD VCN encoding)
        FFmpeg 5.1.2 (decoding and filters)
        FreeType 2.12.1 (subtitles)
        Fribidi 1.0.12 (subtitles)
        HarfBuzz 4.4.1 (subtitles)
        libass 0.16.0 (subtitles)
        libbluray 1.3.4 (Blu-ray decoding)
        libdav1d 1.0.0 (AV1 decoding)
        libdvdread 6.1.3 (DVD decoding)
        liblzma (xz) 5.2.6 (LZMA video decoding, e.g. TIFF)
        libjpeg-turbo 2.1.4 (preview image compression)
        libspeex 1.2.1 (Speex audio decoding)
        libvpx 1.12.0 (VP8/VP9 video encoding)
        libxml 2.10.3 (general)
        oneVPL 2023.1.0 (Intel QSV encoding/decoding)
        x264 164 r3100 (H.264/AVC video encoding)
        x265 r12747 (H.265/HEVC video encoding)
        zimg 3.0.4 (color conversion)
    New libraries
        SVT-AV1 1.4.1 (AV1 encoding)

Linux

    Added many quality of life improvements contributed by community members
    Improved parity with the Mac and Windows graphical interfaces
    Miscellaneous bug fixes and improvements
    Updated translations
    Added new translations
        Bulgarian (Български)
        Finnish (Suomi)
        Georgian (ქართული)

Mac

    Added Quick Look support to the queue
    Miscellaneous bug fixes and improvements
    Updated translations
    Added Japanese translation

Windows

    Miscellaneous bug fixes and improvements
    Updated all translations
    Added new translations
        Bulgarian (Български)
        Dutch (Nederlands)
        Polish (Polski)


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/multimedia/handbrake/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/multimedia/handbrake/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/multimedia/handbrake/patches/patch-test_module.defs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/handbrake/Makefile
diff -u pkgsrc/multimedia/handbrake/Makefile:1.91 pkgsrc/multimedia/handbrake/Makefile:1.92
--- pkgsrc/multimedia/handbrake/Makefile:1.91   Sun Apr  9 08:57:19 2023
+++ pkgsrc/multimedia/handbrake/Makefile        Sun Apr  9 11:15:50 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2023/04/09 08:57:19 plunky Exp $
+# $NetBSD: Makefile,v 1.92 2023/04/09 11:15:50 plunky Exp $
 
-DISTNAME=      HandBrake-1.5.1-source
+DISTNAME=      HandBrake-1.6.1-source
 PKGNAME=       ${DISTNAME:tl:S/-source//}
-PKGREVISION=   9
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=HandBrake/}
 EXTRACT_SUFX=  .tar.bz2
@@ -19,7 +18,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 
 # see contrib/libjpeg-turbo/module.defs for required version
-LIBJPEG_TURBO=         libjpeg-turbo-2.1.2.tar.gz
+LIBJPEG_TURBO=         libjpeg-turbo-2.1.4.tar.gz
 DISTFILES+=            ${LIBJPEG_TURBO}
 SITES.${LIBJPEG_TURBO}=        https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/
 
@@ -94,7 +93,7 @@ post-build:
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/zimg/buildlink3.mk"
 .include "../../multimedia/dav1d/buildlink3.mk"
-.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../multimedia/ffmpeg5/buildlink3.mk"
 .include "../../multimedia/gstreamer1/buildlink3.mk"
 .include "../../multimedia/libass/buildlink3.mk"
 .include "../../multimedia/libbluray/buildlink3.mk"
@@ -102,6 +101,7 @@ post-build:
 .include "../../multimedia/libdvdread/buildlink3.mk"
 .include "../../multimedia/libtheora/buildlink3.mk"
 .include "../../multimedia/libvpx/buildlink3.mk"
+.include "../../multimedia/svt-av1/buildlink3.mk"
 .include "../../multimedia/x264/buildlink3.mk"
 .include "../../multimedia/x265/buildlink3.mk"
 .include "../../textproc/jansson/buildlink3.mk"

Index: pkgsrc/multimedia/handbrake/distinfo
diff -u pkgsrc/multimedia/handbrake/distinfo:1.18 pkgsrc/multimedia/handbrake/distinfo:1.19
--- pkgsrc/multimedia/handbrake/distinfo:1.18   Sun Apr  9 08:57:19 2023
+++ pkgsrc/multimedia/handbrake/distinfo        Sun Apr  9 11:15:50 2023
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.18 2023/04/09 08:57:19 plunky Exp $
+$NetBSD: distinfo,v 1.19 2023/04/09 11:15:50 plunky Exp $
 
-BLAKE2s (handbrake/HandBrake-1.5.1-source.tar.bz2) = 47b0351cc3edf04e3cf946b052431f851a006779a5feb63bb5bf8faa41b1fd3b
-SHA512 (handbrake/HandBrake-1.5.1-source.tar.bz2) = 63c5933f77d417a89512abd278a1d844f2b7a36ec9f8ab664c1a1348fd228ee389fc8e349b2df6cbf5d617b912d4634457ebea86490ff5ed4930f39a90dc7568
-Size (handbrake/HandBrake-1.5.1-source.tar.bz2) = 16137974 bytes
-BLAKE2s (handbrake/libjpeg-turbo-2.1.2.tar.gz) = 41d420e6aac0098326644768b51b745160402384b811956bdada22837a1047ca
-SHA512 (handbrake/libjpeg-turbo-2.1.2.tar.gz) = 172c3d8bdad62c32c4560754422fb36f0e80c8316e44d08708f0cba8ee9fd0830f5295d380de34d0f90ec07df6ab4dbe2f0c8451bc60553371c022c9077447c2
-Size (handbrake/libjpeg-turbo-2.1.2.tar.gz) = 2257645 bytes
+BLAKE2s (handbrake/HandBrake-1.6.1-source.tar.bz2) = c6e252157756026b1f46e399805b5568c77261046737d4041f3876763900e8dd
+SHA512 (handbrake/HandBrake-1.6.1-source.tar.bz2) = e5cc0fee5bf063c4cdb8f64a772dac6800a7214bfdc65042c121e0e81878599fe615b499ebf6466bb78740314374ad8b8fa364fb24ff86852183e7dbbf565617
+Size (handbrake/HandBrake-1.6.1-source.tar.bz2) = 15934833 bytes
+BLAKE2s (handbrake/libjpeg-turbo-2.1.4.tar.gz) = 496a0492afa7a589fcc570ab4b171392729ca8128e795338d4d8f4739fd4a034
+SHA512 (handbrake/libjpeg-turbo-2.1.4.tar.gz) = d3e92d614168355827e0ed884ff847cc7df8f6f1fb7b673c6c99afdf61fdfc0372afe5d30fdbf5e743335e2a7a27ca9f510c67d213e5cb2315a8d946e9414575
+Size (handbrake/libjpeg-turbo-2.1.4.tar.gz) = 2261822 bytes
 SHA1 (patch-configure) = 5f0452587c82ac9a419ac5fc06f07d35d174bc24
-SHA1 (patch-make-include-main.defs) = 53ca462076392c2ee2901b05b12d81faf145d3ab
+SHA1 (patch-make-include-main.defs) = 76fd8cd19059d77d93c4fafc50bc7b501e120283
 SHA1 (patch-make-python_launcher) = db0e01e9a5063b0d083f56840079e74909c729c6
-SHA1 (patch-test_module.defs) = f88ffc65f8e8bddb87de1af0fcc91f2abc6f819a
+SHA1 (patch-test_module.defs) = 2fe9c787e849b5e0be6c1ebf469904a21f648e16

Index: pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
diff -u pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.4 pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.5
--- pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.4        Sun Apr  9 08:57:19 2023
+++ pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs    Sun Apr  9 11:15:50 2023
@@ -1,15 +1,14 @@
-$NetBSD: patch-make-include-main.defs,v 1.4 2023/04/09 08:57:19 plunky Exp $
+$NetBSD: patch-make-include-main.defs,v 1.5 2023/04/09 11:15:50 plunky Exp $
 
 Use comon pkgsrc libraries, except for libjpeg-turbo which is required but
 cannot coexist with libjpeg (required by gtk3)
 
---- make/include/main.defs.orig        2022-01-10 19:11:37.000000000 +0000
+--- make/include/main.defs.orig        2023-01-22 16:36:49.000000000 +0000
 +++ make/include/main.defs
-@@ -13,47 +13,11 @@ ifneq ($(HAS.bz2),1)
+@@ -13,49 +13,12 @@ ifneq ($(HAS.bz2),1)
  endif
  endif
  
-+MODULES += contrib/libjpeg-turbo
 -ifneq (,$(filter $(HOST.system),darwin cygwin mingw))
 -    MODULES += contrib/freetype
 -    MODULES += contrib/fribidi
@@ -29,10 +28,12 @@ cannot coexist with libjpeg (required by
 -endif
 -
 -ifeq (1,$(FEATURE.flatpak))
+-    MODULES += contrib/libass
 -    MODULES += contrib/jansson
 -    MODULES += contrib/x264
 -endif
--
++MODULES += contrib/libjpeg-turbo
+ 
  ifeq (1,$(FEATURE.fdk_aac))
      MODULES += contrib/fdk-aac
  endif
@@ -45,6 +46,7 @@ cannot coexist with libjpeg (required by
 -endif
 -
 -MODULES += contrib/libdav1d
+-MODULES += contrib/svt-av1
 -MODULES += contrib/zimg
 -MODULES += contrib/ffmpeg
 -MODULES += contrib/libdvdread

Index: pkgsrc/multimedia/handbrake/patches/patch-test_module.defs
diff -u pkgsrc/multimedia/handbrake/patches/patch-test_module.defs:1.1 pkgsrc/multimedia/handbrake/patches/patch-test_module.defs:1.2
--- pkgsrc/multimedia/handbrake/patches/patch-test_module.defs:1.1      Mon Oct  3 10:46:05 2022
+++ pkgsrc/multimedia/handbrake/patches/patch-test_module.defs  Sun Apr  9 11:15:50 2023
@@ -1,8 +1,8 @@
-$NetBSD: patch-test_module.defs,v 1.1 2022/10/03 10:46:05 adam Exp $
+$NetBSD: patch-test_module.defs,v 1.2 2023/04/09 11:15:50 plunky Exp $
 
 Link against x265.
 
---- test/module.defs.orig      2022-10-03 09:45:30.000000000 +0000
+--- test/module.defs.orig      2023-01-22 16:36:49.000000000 +0000
 +++ test/module.defs
 @@ -16,7 +16,7 @@ TEST.libs = $(LIBHB.a)
  TEST.GCC.l = \
@@ -10,6 +10,6 @@ Link against x265.
          dvdread fribidi swscale vpx theoraenc theoradec vorbis vorbisenc ogg \
 -        x264 bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d \
 +        x264 x265 bluray freetype xml2 bz2 z jansson harfbuzz opus speex lzma dav1d \
-         turbojpeg zimg
+         turbojpeg zimg SvtAv1Enc
  
  ifeq (,$(filter $(HOST.system),darwin cygwin mingw))



Home | Main Index | Thread Index | Old Index