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:   ryoon
Date:           Sat Aug 30 04:45:32 UTC 2025

Modified Files:
        pkgsrc/multimedia/handbrake: Makefile PLIST distinfo options.mk
        pkgsrc/multimedia/handbrake/patches: patch-make-include-main.defs
Added Files:
        pkgsrc/multimedia/handbrake: PLIST.gtk4
Removed Files:
        pkgsrc/multimedia/handbrake: PLIST.gtk3
        pkgsrc/multimedia/handbrake/patches: patch-libhb_encx265.c
            patch-test_module.defs

Log Message:
multimedia/handbrake: Update to 1.10.0

Changelog:
## HandBrake 1.10.0

#### General

- Added new "Social 10MB" presets
- Improved metadata passthru, preserving additional metadata including:
    - Creation date
    - Cover art
    - Location
- Fixed an excessive memory usage during the indepth scan (#6963)

#### Command line interface

- Added an option to disable Dolby Vision and HDR10+ passthru

#### Video

- Added an option to choose the encoder color range
- Improved Framerate Shaper metrics performance for high resolution frames
- Fixed VCN encoder presets (#6974)
- Updated NVEnc CQ range (#6418)

#### Audio

- Addded an option to disable track names passthru and autonaming
- Fixed selection behaviour fallback when no audio track is found (#6666)
- EAC3 + Atmos is now properly signaled in MP4

#### Subtitles

- Addded an option to disable track names passthru
- SubRip/UTF-8 subtitles are now passed through to MKV without conversion to SSA
- Fixed a crash that could happen when burning bitmap subtitles

#### Filters

- Fixed a crash that could happen when using the Chroma Smooth filter (#7033)

#### Third-party libraries

- Updated libraries
  - AMF 1.4.36 (AMD VCN video encoding)
  - FFmpeg 7.1.1 (decoding and filters)
  - HarfBuzz 11.3.3 (subtitles)
  - libass 0.17.4 (subtitles)
  - libdovi 3.3.2 (Dolby Vision dynamic metadata)
  - libiconv 1.18 (character encoding support)
  - libjpeg-turbo 3.1.1 (preview image compression)
  - liblzma (xz) 5.8.1 (LZMA video decoding, e.g. TIFF)
  - libogg 1.3.6 (Xiph codecs support)
  - libtheora 1.2.0 (Theora video encoding)
  - libvpx 1.15.2 (VP8/VP9 video encoding)
  - nv-codec-headers 13.0.19.0 (Nvidia NVENC encoding)
  - oneVPL 2.15.0 (Intel QSV video encoding/decoding)
  - SVT-AV1 3.1.0 (AV1 video encoding)
  - x264 165 r3222 (H.264/AVC video encoding)
  - x265 r13276 (H.265/HEVC video encoding)

### Linux

- Fixed Opus and Vorbis passthru validation in Webm
- Fixed a crash that could happen when removing items from queue
- Fixed audio bitrates list validation (#6997)
- Built-in presets for unavailable hardware encoders are now hidden
- Removed orphaned, no longer maintained locales or locales without active translators (af, cs, da, he, hr, ka, no, pl, pt, ro, ru, si, sk, th, tr, uk_UA, zh_TW). Removed locales are welcome back as 
soon as the locales are updated.
- Updated existing and maintained locales.

### Mac

- Added support for the VideoToolbox AV1 hardware decoder
- Added a Metal accelerated Render Sub filter
- Added a contextual menu to the presets popover
- Updated Auto Naming Preferences to add "{angle}" as a filename generation option (#6086)
- Reduced CPU usage when using VideoToolbox decoders and encoders
- Encoded files are now excluded from Time Machine until they are completed
- Fixed queue jobs not being reloaded properly when the source is a .iso file
- Fixed "Same as source" destination option, it didn't work properly in some case
- Updated existing and maintained locales

### Windows

- Added a new preference "Default Range Mode for titles". See Preferences -> Advanced (#6385)
- Added a new preference to run a custom action when the queue completes. See Preferences -> When Done (#4851)
- Added "{destination_folder}" as option on the "Encode Completed" "Send File To" option.
- Added support for DirectX based AV1 video decoding when using the Media Foundation encoder on ARM devices
- Updated Auto Naming Preferences to add "{angle}" as a filename generation option (#6086)
- Performance Optimisations for ARM64 devices running Windows
- Minor miscellaneous UI improvements.
- Various bug fixes and improvements (#6524, #6517, #6514, #6477, #6473, #6086, #6984, #6892, #6999, #7003)
- Added new translations
  - Galician (Galego)
  - Hungarian (Magyar)
- Removed orphaned, no longer maintained locales or locales without active translators (cs-CZ). Removed locales are welcome back as soon as the locales are updated.
- Updated existing and maintained locales.

## HandBrake 1.9.2

### All platforms

#### General

- Allowed muxing NVENC AV1 and VCN AV1 in WebM container
- Fixed a crash that could happen when a source contains chapters with no titles (#6632)

### Windows

- Fixed and issue where the audio track name would not reset on source track change. (#6642)

## HandBrake 1.9.1

### All platforms

#### General

- Fixed FFV1 pixel format selection when an hardware decoder is used (#6565)
- Fixed an issue that could happen when chapters titles are not UTF-8 (#6489)
- Fixed gcc14 aarch64 build failures (#6463)

#### Subtitles

- Improved support for SRT files with overlapping subtitles (#6155)

#### Audio

- Fixed AC3 and EAC3 extradata in MKV (#6582)

#### Third-party libraries

- nv-codec-headers: Harden DLL loading so that it only uses system32 for the search path on Windows (#6548)

- Updated libraries
  - libdav1d 1.5.1 (AV1 video decoding)
  - HarfBuzz 10.2.0 (subtitles)
  - libjpeg-turbo 3.1.0 (preview image compression)

### Windows

- Fix an issue with the autoname function not updating when title is the only option (#6517)
- Fix an issue where the audio encoder may not display correctly after a queue has been imported and queue item edited. This may exhibit in other scenarios as well (#6524)
- Fix an issue with titlebar / taskbar progress erroneously showing with multi-instance encodes (#6477)
- Fix a crash when importing chapters where there is a chapter count mis-match (#6514)
- Fixed an issue with autoname pre/postfix option where it would apply regardless of file path collision.
- Fixed an issue where the crop controls would not enable correctly when editing jobs (#6614)

## HandBrake 1.9.0

### All platforms

#### General

- Added Intel QSV VVC (hardware) video decoder
- Added an option to enable AV1 screen content coding (SCC) on Intel Lunar Lake QSV AV1 encoder
- Added support for lossless VP9 encoding
- Added a preference to keep duplicated Blu-ray titles
- Added support for Max Duration of Scan titles for disc based sources (#6304)

#### Audio

- Added ALAC encoder
- Added Vorbis passthru
- Improved scan of DTS audio profiles

#### Subtitles

- Improved quality of subtitles burn-in
- Fixed a rare video corruption issue that could happen when burning-in subtitles

#### Third-party libraries

- Updated libraries
  - AMF 1.4.35 (AMD VCN video encoding)
  - FFmpeg 7.1 (decoding and filters)
  - FreeType 2.13.3 (subtitles)
  - Fribidi 1.0.16 (subtitles)
  - HarfBuzz 10.1.0 (subtitles)
  - libdav1d 1.5.0 (AV1 video decoding)
  - libdovi 3.3.1 (Dolby Vision dynamic metadata)
  - libjpeg-turbo 3.0.4 (preview image compression)
  - libvpx 1.15.0 (VP8/VP9 video encoding)
  - nv-codec-headers 12.2.72.0 (Nvidia NVENC encoding)
  - oneVPL 2.13.0 (Intel QSV video encoding/decoding)
  - SVT-AV1 2.3.0 (AV1 video encoding)
  - x265 4.1 (H.265/HEVC video encoding)

### Linux

- Fixed the Power Save option to pause the encodes only when enabled
- Fixed the queue being stopped when removing completed items
- Fixed chapters names not being saved properly
- Fixed various issues related to presets
- Updated existing translations

### Mac

- Add Range Limit controls to the "Add to Queue" selection window (#4146)
- Fixed an issue that could cause corrupted video when using VideoToolbox HEVC multi-pass
- Miscellaneous bug fixes and improvements
- Updated existing translations
- Added new translations
  - Swedish (Svenska)

### Windows

- Added Range Limit controls to the "Add to Queue" "Add Selection" window (#4146)
- Added support for DirectX based video decoding when using the Media Foundation encoder on ARM devices
- Added support for the AV1 Media Foundation encoder on ARM devices
- Added a "Start Later" option to the Queue Window.
- Performance Improvements in the filter pipeline for ARM devices.
- Miscellaneous bug fixes and improvements
- Updated existing translations
- Added new translations
  - Swedish (Svenska)

## HandBrake 1.8.2

### All platforms

#### General

- Fixed a potential crash when trying to scan deleted files
- Fixed scan of broken video that uses reserved color matrix values
- Fixed an issue that could cause some audio tracks to be dropped

#### Third-party libraries

- Updated libraries
  - FFmpeg 7.0.2 (decoding and filters)
  - libass 0.17.3 (subtitles)
  - libvpx 1.14.1 (VP8/VP9 video encoding)

### Windows

- Fixed an issue where auto name wasn't triggering correctly with preset changes (#6159)
- Fixed a potential crash when importing presets from the mac version. (#6186)
- Fixed an issue loading presets where a video encode isn't available on the system. (#6184)
- Minor startup performance improvement on some Intel based systems.

### Linux

- Fixed an issue where an encoded file could be output to the wrong filename when using the queue (#6067)

## HandBrake 1.8.1

### All platforms

#### Video

- Fixed a warning / misconfiguration when repeat-headers is used with the x265 encoder.(#6061)
- Fixed an issue where the NVEnc encoder ignored the level option

#### Subtitles

- Fixed an issue where dvd subtitles could be corrupted during rendering.

#### Filters

- Fixed an issue that caused video artefacts to occur when using the eedi2 filter (#6073)

#### Third-party libraries

- Updated libraries
  - FFmpeg 7.0.1 (decoding and filters)
  - libdav1d 1.4.3 (AV1 video decoding)

### Mac

- Fixed a stall in the queue that could happen if the encoding process crashes when configuring a job
- Removed the "Show" button from the notifications when there is nothing to show

### Windows

- Hardware decoding is now defaulted to off for new installations. Users can opt-in whilst making sure they are running up-to-date drivers
- Fixed an issue where hardware decoding could erroneously be used for previews
- Fixed an issue where auto name was triggering too aggressively (#6079)
- Removed an erroneous error message when dragging files onto the main window that include a subtitle file.(#6065)

## HandBrake 1.8.0

### All platforms

#### General

- Allowed muxing VP9 and FLAC in the MP4 container
- Removed timestamp jitters when using a constant NTSC frame rate in the MP4 container
- Removed support for importing legacy plist based presets from much older versions of HandBrake
- Updated iso639 language codes list

#### Video

- Added support for the FFV1 encoder, including a new preset "Preservation FFV1" under the Professional category
- Added support for multi-pass CQ with VP9
- Added support for VP9 tunes
- Added Dolby Vision dynamic metadata pass through for SVT-AV1
- Improved Decomb speed by removing unneeded frame copies
- Improved Framerate Shaper metrics for high depth frames

#### Command line interface

- Fixed subtitle "scan" when not first in --subtitle list
- Fixed override of subtitle settings
- Fixed processing audio overrides to preset

#### Audio

- Added TrueHD encoder
- Added 88.2/96/176.4/192 kHz sample rates for TrueHD and FLAC encoders
- Improved audio tracks selection by tracking "linked" audio tracks
- Fixed incorrect channel layout when encoding a 6.1 track to Opus

#### Subtitles

- Fixed passthru of VobSub tracks that contains empty of fully transparent subtitles samples
- Fixed an issue that prevented decoding VobSub tracks stored inside MP4
- Fixed burn-in of SSA/ASS subtitles inside MKV that have duplicated Read Orders

#### Build system

- Reviewed and improved compiler optimization options for the third-party libraries
- Improved libdovi package to make it possible to ship it in Flathub flatpak version

#### Third-party libraries

- Updated libraries
  - AMF 1.4.33 (AMD VCN video encoding)
  - FFmpeg 7.0 (decoding and filters)
  - HarfBuzz 8.4.0 (subtitles)
  - libass 0.17.2 (subtitles)
  - libdav1d 1.4.1 (AV1 video decoding)
  - libdovi 3.3.0 (Dolby Vision dynamic metadata)
  - libopus 1.5.2 (Opus audio encoding)
  - libjpeg-turbo 3.0.3 (preview image compression)
  - libvpx 1.14.0 (VP8/VP9 video encoding)
  - oneVPL 2.10.1 (Intel QSV video encoding/decoding)
  - SVT-AV1 2.1.0 (AV1 video encoding)
  - x264 164 r3186 (H.264/AVC video encoding)
  - x265 3.6 (H.265/HEVC video encoding)
  - zlib 1.3.1 (general)
- Removed libraries
  - libxml2

### Linux

- Migrated the UI to GTK 4
- Added support for resursive file scan
- Added support for drag/drop/multi-file scanning. (Including subtitle files)
- Added --clear-queue and --auto-start-queue flags to the linux ui app.
- Update the "Open Source" button to make the folder/batch mode more discoverable.
- Refreshed app icons
- Miscellaneous bug fixes and improvements
- Updated existing translations

### Mac

- Added Dolby Vision and HDR10+ dynamic metadata pass through for VideoToolbox H.265 10-bit
- Added Metal accelerated Comb Detect and Framerate Shaper filters
- Added ability to drag and drop SRT and ASS subtitles files onto the main window
- Added support for excluding file extensions when opening files in batch mode
  - Default exclusions are common image, subtitles, and text file extensions; edit list in Preferences > Advanced
- Added new preference to pause encodes when switching to battery
- Added new preference to clear completed jobs at launch option
- Reworked notification options to allow per encode or per queue control
- Reworked toolbar to follow macOS UI style
- Improved performance of the Activity Log window
- Improved UI performances by avoiding uneeded window resizes and slow AppKit controls
- Miscellaneous bug fixes and improvements
- Updated existing translations
- Added new translations
  - Ukrainian

### Windows

- Requires Microsoft .NET Desktop Runtime 8.0.x
- Added Invert Queue option to the Add to Queue Window (#5741)
- Drag/Drop now supports resursive folder scan mode.
- Miscellaneous bug fixes and improvements
- Updated existing translations
- Added new translations
  - Catalan (Català)

## HandBrake 1.7.3

### All platforms

#### General

- Fixed formatting leading zeros for timestamps in logs
- Miscellaneous bug fixes and improvements

#### Video

- Fixed an issue that could potentially cause incorrect detection of source FPS value (#5677)

#### Subtitles

- Fixed tx3g to SSA subtitles conversion

### Linux

- Fixed the "All Files" open file dialog filter to really show all files
- Fixed an issue where adding a new default audio track automatically set the gain to -20 dB

### macOS

- Fixed a regression introduced in HandBrake 1.7.2 by the workaround for VideoToolbox crashes on Sonoma
- Miscellaneous bug fixes and improvements

### Windows

- Improved security hardening of loading of DLL files within libhb by limiting search scope (#5724)
- Improved keyboard navigation on Chapters tab (#5679)
- Fixed an issue that could cause encodes to appear stalled when process isolation is turned on
- Fixed an issue that could prevent QSV decode from being used when a system also has a non-Intel GPU
- Fixed an issue where the drive label was not always correctly detected (#5711)
- Miscellaneous bug fixes and improvements

## HandBrake 1.7.2

### All platforms

#### Video

- Improved automatic selection of Dolby Vision Level
- Fixed an issue in AMD VCN, MPEG-2, MPEG-4, NVIDIA NVENC, and VP9 encoders that could cause the creation of an excessive number of keyframes (#5530)
- Fixed unintentional automatic pass through of closed caption side data when using NVIDIA NVENC encoder
- Miscellaneous bug fixes and improvements

### Linux

- Improved performance by removing duplicate graphic assets and reducing file size
- Fixed Flatpak file chooser opening home directory instead of the previously selected directory
- Fixed last item in the queue sometimes having the wrong destination path
- Fixed some memory leaks in the graphical interface

### Mac

- Added a workaround to prevent a system crash when using VideoToolbox encoders with macOS 14 Sonoma on Apple Silicon Ultra
- Added a workaround to prevent issues decoding H.264 video by disabling VideoToolbox hardware decoding for Level 6.1 and 6.2
- Fixed a crash opening an empty folder

### Windows

- Added Automation Properties to some controls on the audio tab to assist screen readers
- Fixed NVIDIA NVDEC option being ignored (#5569)
- Fixed startup crash related to theme loading (#5567)
- Fixed subtitle language order not being honoured (#5590)

## HandBrake 1.7.1

### All platforms

#### Video

- Fixed Decomb filter producing corrupted frames with 10-bit depth or higher source (#5518)
- Fixed a potential crash when using the Comb Detect filter on an RGB source
- Fixed Intel QSV devices enumeration where devices from other vendors are present (#5317, #5177)

#### Mac

- Fixed an issue opening EyeTV sources (#5514)

## HandBrake 1.7.0

### All platforms

#### General

- Added Apple VideoToolbox hardware presets
- Updated Creator presets
  - Disabled interlacing detection and removal; assume creators are working with progressive sources by default
- Updated Social presets
  - Target higher quality and frame rate over shorter durations, without interlacing detection and removal
  - Better suited for modern social sharing of short live action clips and screen/game captures
- Removed Email presets in favor of revised Social presets
  - Please stop sending videos via email or use the new Social presets
- Miscellaneous bug fixes and improvements

#### Video

- Added AMD VCN AV1 encoder
- Added NVIDIA NVENC AV1 encoder
- Added support for SVT-AV1 multi-pass ABR mode
- Added support for preserving ambient viewing enviroment metadata
- Added QSV Rotate and Format filters
- Improved performance on arm64 / aarch64 / Apple Silicon architectures
  - Latest FFmpeg provides faster HEVC decoding, 30% faster bwdif filter
  - New SVT-AV1 assembly optimizations provide up to 4x increase in performance
- Improved video conversion speed by removing unneeded frame copies for better memory efficiency
- Improved Dolby Vision dynamic range metadata pass through
  - Supported encoders: x265 10-bit
  - Supported profiles and cross-compatibility IDs: 8.4, 8.1, 7.6 (base layer only, converted to 8.1), 5.0
- Improved HDR10+ dynamic range metadata pass through
  - Supported encoders: x265 10-bit, SVT-AV1
- Improved QSV support on Linux (#4958)
- Updated NVENC to not use multi-pass by default; user configurable advanced option
- Renamed 2-pass encode option to multi-pass (#5019)
- Fixed Intel QSV encoder outputting green video in some cases (#4842, #4876)
- Fixed pixel format conversion slightly altering colors when using a 10-bit hardware encoder (#5011)
- Fixed scan failures by using swscale instead of zscale when source resolution is not mod 2
- Fixed incorrect PAR when reading from an anamorphic AV1 video track
- Removed an artificial bitrate limit on VP9 CQ mode

#### Command line interface

- Renamed `--two-pass` to `--multi-pass` and `--no-two-pass` to `--no-multi-pass`, removed `-2` (#5019)
- Fixed automatic cropping enabled despite using preset with cropping disabled (#5055)

#### Audio

- Fixed low volume level when downmixing ac3 and eac3
- Fixed left-only and right-only mono mixdowns (#3533, #5054)

#### Subtitles

- Fixed locale settings potentially causing incorrect decimal separator in SSA headers
- Fixed a potential issue affecting zero-duration subtitles

#### Build system

- Added Meson build system for the Linux GUI

#### Third-party libraries

- New libraries
  - libdovi 3.2.0 (Dolby Vision dynamic range metadata)
- Updated libraries
  - AMF 1.4.30 (AMD VCN video encoding)
  - FFmpeg 6.1 (decoding and filters)
  - FreeType 2.13.2 (subtitles)
  - Fribidi 1.0.13 (subtitles)
  - HarfBuzz 8.2.2 (subtitles)
  - libass 0.17.1 (subtitles)
  - libdav1d 1.3.0 (AV1 video decoding)
  - liblzma (xz) 5.4.5 (LZMA video decoding, e.g. TIFF)
  - libopus 1.4 (Opus audio encoding)
  - libjpeg-turbo 3.0.1 (preview image compression)
  - libvpx 1.13.1 (VP8/VP9 video encoding)
  - libxml 2.11.5 (general)
  - oneVPL 2023.3.1 (Intel QSV video encoding/decoding)
  - SVT-AV1 1.7 (AV1 video encoding)
  - x264 164 r3107 (H.264/AVC video encoding)
  - x265 r12776 (H.265/HEVC video encoding)
  - zimg 3.0.5 (color conversion)
  - zlib 1.3 (general)

### Linux

- Added drag and drop support for video scanning
- Added support for native file choosers via xdg-desktop-portal
- Added Queue > Add All menu option
- Added XML chapter import and export
- Added bit depth and HDR information to video summary
- Added option to pause encoding when switching to battery power or when power save mode is activated
- Added automatic file naming options: {codec} {bit-depth} {width} {height} {modification-date} {modification-time}
- Updated Queue, Activity, and Presets windows to no longer float on top of the main window
- Updated existing translations
- Removed obsolete update checker
- Miscellaneous bug fixes and improvements

### Mac

- Added support for drag and drop of multiple files at once
- Added support for selecting multiple files at once in the Open Source dialog
- Added support for recursive folder scanning in the Open Source dialog
- Added support for VideoToolbox H.265/HEVC, H.264/AVC, ProRes, and VP9 hardware decoders on macOS 13 and later
  - Enable/disable in the Preferences > Advanced tab always or full path only
  - Using hardware decoders on modern devices may decrease CPU usage and thus speed up some filters and encoding
- Added GPU accelerated Crop & Scale, Rotate, Pad, Yadif, Bwdif, Chroma Smooth, Unsharp, Lasharp, Grayscale filters
- Added "Same as source" destination option that automatically sets the destination path to the source path
- Improved SVT-AV1 encoding performance by up to 4x on Apple Silicon Macs
- Improved automatic file naming Preferences UI and added new options: {width} {height} {quality_type} {encoder_bit_depth} {modification-time} {modification-date} {codec} {encoder} 
{encoder_bit_depth} {preset}
- Improved handling of security scoped bookmarks
- Fixed Chroma Smooth tune options
- Fixed Deblock Filter custom string field
- Fixed an issue that prevented the VideoToolbox "speed" preset from being used
- Fixed the file size display on the queue statistics window when file size info is not available
- Miscellaneous bug fixes and improvements
- Added new translations
  - Korean (한국어)
  - Bulgarian (Български)
- Updated existing translations

### Windows

- Added support for drag and drop of multiple files at once
- Added support for selecting multiple files at once in the Open Source dialog
- Added support for recursive folder scanning in the Open Source dialog
  - Enable/disable in Preferences > Advanced
- Added support for excluding file extensions when opening files in batch mode
  - Default exclusions are common image, subtitles, and text file extensions; edit list in Preferences > Advanced
- Improved Preview window native video playback to support most containers and codecs
  - Modern codec support requires Microsoft Codec Packs from the Microsoft Store
- Improved automatic file naming Preferences UI and added new options: {width} {height} {quality_type} {encoder_bit_depth} {modification-time} {modification-date} {encoder} {encoder_bit_depth} 
{preset}
- Improved Queue window UI to optionally show additional status information on the left progress panel
- Improved Presets panel
  - Manage Presets button replaced with a menu of discrete options for quicker access to functionality
  - Added an option to display the description for the selected preset
  - Added the ability to clone a preset (create a new preset based on an existing one)
- Improved Add Selection window to make sorting feature more discoverable
- Improved Process Isolation reliability
- Fixed automatic file naming when using physical drive sources (#4859)
- Fixed Title Specific Scan for physical drive sources (#4921)
- Fixed an potential issue that could cause an unmodified preset to display as "modified" (#4909, #4908)
- Fixed an potential issue where changes to queue order were not retained (#4922)
- Fixed an Audio tab issue where using a non-fallback encoder could lead to duplicated tracks (#5012)
- Fixed an issue where swapping graphics cards might cause hardware presets to be incorrectly shown as disabled
- Fixed a potential crash on startup related to Windows Notifications Service failures (#5097)
- Miscellaneous bug fixes and improvements
- Added new translations
 - Czech (česky) (partially complete)
 - Greek (Ελληνικά) (partially complete)
 - Estonian (Eesti) (partially complete)
 - Basque (Euskara)
 - Finnish (Suomi) (partially complete)
- Updated existing translations

## 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)


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/multimedia/handbrake/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/multimedia/handbrake/PLIST
cvs rdiff -u -r1.3 -r0 pkgsrc/multimedia/handbrake/PLIST.gtk3
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/handbrake/PLIST.gtk4
cvs rdiff -u -r1.22 -r1.23 pkgsrc/multimedia/handbrake/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/multimedia/handbrake/options.mk
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/multimedia/handbrake/patches/patch-libhb_encx265.c
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
cvs rdiff -u -r1.2 -r0 \
    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.120 pkgsrc/multimedia/handbrake/Makefile:1.121
--- pkgsrc/multimedia/handbrake/Makefile:1.120  Thu Apr 24 14:15:16 2025
+++ pkgsrc/multimedia/handbrake/Makefile        Sat Aug 30 04:45:32 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.120 2025/04/24 14:15:16 wiz Exp $
+# $NetBSD: Makefile,v 1.121 2025/08/30 04:45:32 ryoon Exp $
 
-DISTNAME=      HandBrake-1.6.1-source
+DISTNAME=      HandBrake-1.10.0-source
 PKGNAME=       ${DISTNAME:tl:S/-source//}
-PKGREVISION=   25
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=HandBrake/}
 EXTRACT_SUFX=  .tar.bz2
@@ -19,9 +18,19 @@ EXTRACT_ONLY=        ${DISTNAME}${EXTRACT_SUFX}
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
 
 # see contrib/libjpeg-turbo/module.defs for required version
-LIBJPEG_TURBO=         libjpeg-turbo-2.1.4.tar.gz
-DISTFILES+=            ${LIBJPEG_TURBO}
-SITES.${LIBJPEG_TURBO}=        https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/
+LIBJPEG_TURBO=         libjpeg-turbo-3.1.1.tar.gz
+EXTRA_FILES+=          ${LIBJPEG_TURBO}
+SITES.${LIBJPEG_TURBO}=        https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
+
+FFMPEG=                        ffmpeg-7.1.1.tar.bz2
+EXTRA_FILES+=          ${FFMPEG}
+SITES.${FFMPEG}=       https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
+
+X265=                  x265-snapshot-20250729-13276.tar.gz
+EXTRA_FILES+=          ${X265}
+SITES.${X265}=         https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/
+
+DISTFILES+=            ${EXTRA_FILES}
 
 RESTRICTED=            Unresolved patent issues
 NO_BIN_ON_CDROM=       ${RESTRICTED}
@@ -30,7 +39,7 @@ NO_SRC_ON_CDROM=      ${RESTRICTED}
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/-source//}
 
 HAS_CONFIGURE= yes
-USE_TOOLS+=    gmake perl intltool msgfmt pkg-config bash
+USE_TOOLS+=    gmake sed perl intltool msgfmt pkg-config bash
 USE_TOOLS+=    autoconf automake aclocal autoreconf m4
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
@@ -53,6 +62,8 @@ TOOL_DEPENDS+=                cmake-[0-9]*:../../devel
 TOOL_DEPENDS+=         nasm>=2.05.01:../../devel/nasm
 TOOL_DEPENDS+=         meson-[0-9]*:../../devel/meson
 
+LDFLAGS+=      -ldovi -L${PREFIX}/${BUILDLINK_PREFIX.libdovi}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libdovi}/lib
+
 .include "../../mk/compiler.mk"
 
 .if !empty(PKGSRC_COMPILER:Mclang)
@@ -61,15 +72,18 @@ CFLAGS+=    -fheinous-gnu-extensions
 
 .include "options.mk"
 
-BROKEN_GETTEXT_DETECTION=      yes
-GHB_LOCALES=   af co cs da de es eu fr he hr it ja ko nl no pl pt pt_BR ro ru si sk sl_SI sv th tr uk_UA zh_CN zh_TW
-
-# the build phase will attempt to download libjpeg-turbo if not provided
 pre-build:
        ${MKDIR} ${WRKSRC}/download
-       ${LN} -fs ${DISTDIR}/${DIST_SUBDIR}/${LIBJPEG_TURBO} ${WRKSRC}/download/${LIBJPEG_TURBO}
+.for f in ${EXTRA_FILES}
+       ${LN} -fs ${DISTDIR}/${DIST_SUBDIR}/${f} \
+               ${WRKSRC}/download
+.endfor
+
+BROKEN_GETTEXT_DETECTION=      yes
+GHB_LOCALES=   bg ca co de es eu fi fr it ja ko nl pt_BR sl_SI sv zh_CN
 
-post-build:
+.PHONY: post-build-gtk4
+post-build-gtk4:
        set -e; cd ${WRKSRC};                                                   \
        for po in ${GHB_LOCALES}; do                                            \
                mo="../.destdir/usr/pkg/share/locale/$${po%%.po}/LC_MESSAGES" ; \
@@ -80,6 +94,7 @@ post-build:
        done
 
 .include "../../audio/lame/buildlink3.mk"
+.include "../../audio/libdovi/buildlink3.mk"
 .include "../../audio/libopus/buildlink3.mk"
 .include "../../audio/libsamplerate/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
@@ -93,7 +108,7 @@ post-build:
 .include "../../graphics/zimg/buildlink3.mk"
 .include "../../lang/python/tool.mk"
 .include "../../multimedia/dav1d/buildlink3.mk"
-.include "../../multimedia/ffmpeg5/buildlink3.mk"
+#.include "../../multimedia/ffmpeg5/buildlink3.mk"
 .include "../../multimedia/gstreamer1/buildlink3.mk"
 .include "../../multimedia/libass/buildlink3.mk"
 .include "../../multimedia/libbluray/buildlink3.mk"
@@ -103,7 +118,6 @@ post-build:
 .include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../multimedia/svt-av1/buildlink3.mk"
 .include "../../multimedia/x264/buildlink3.mk"
-.include "../../multimedia/x265/buildlink3.mk"
+#.include "../../multimedia/x265/buildlink3.mk"
 .include "../../textproc/jansson/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/multimedia/handbrake/PLIST
diff -u pkgsrc/multimedia/handbrake/PLIST:1.8 pkgsrc/multimedia/handbrake/PLIST:1.9
--- pkgsrc/multimedia/handbrake/PLIST:1.8       Mon Oct  3 10:46:05 2022
+++ pkgsrc/multimedia/handbrake/PLIST   Sat Aug 30 04:45:32 2025
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.8 2022/10/03 10:46:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2025/08/30 04:45:32 ryoon Exp $
 bin/HandBrakeCLI

Index: pkgsrc/multimedia/handbrake/distinfo
diff -u pkgsrc/multimedia/handbrake/distinfo:1.22 pkgsrc/multimedia/handbrake/distinfo:1.23
--- pkgsrc/multimedia/handbrake/distinfo:1.22   Thu Aug 21 18:41:57 2025
+++ pkgsrc/multimedia/handbrake/distinfo        Sat Aug 30 04:45:32 2025
@@ -1,12 +1,16 @@
-$NetBSD: distinfo,v 1.22 2025/08/21 18:41:57 wiz Exp $
+$NetBSD: distinfo,v 1.23 2025/08/30 04:45:32 ryoon Exp $
 
-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
+BLAKE2s (handbrake/HandBrake-1.10.0-source.tar.bz2) = b4e7e0d95fa2eacc6874d93b7ca844b0daa23dede0f1d6244bd3c1a6522d654f
+SHA512 (handbrake/HandBrake-1.10.0-source.tar.bz2) = d03f6c60bde5d968c92044fee68afe533ce394eb9952ec330b06f6250197c99bbef46265393aa346816f3b8e816e453472a8ebd116b7c388a12e8b9142029cfc
+Size (handbrake/HandBrake-1.10.0-source.tar.bz2) = 9452293 bytes
+BLAKE2s (handbrake/ffmpeg-7.1.1.tar.bz2) = 95f62af1eb95f5c8bded7d0876e01a2b34c28879b1532654fa43d0d125e0292a
+SHA512 (handbrake/ffmpeg-7.1.1.tar.bz2) = db2682bd3f7dbfe4a33a5a7f0803010258d14f92e98ff2a5fdd17197422bc5cbfd992a63b93c9c5fb2b2420371a82e34a16e155f135a2aaf03764ed71adbc16b
+Size (handbrake/ffmpeg-7.1.1.tar.bz2) = 13278839 bytes
+BLAKE2s (handbrake/libjpeg-turbo-3.1.1.tar.gz) = b1c21dac0e2a2231ac6e0a63eedf13b6d6ec159899e6abb1275d9d43596756f9
+SHA512 (handbrake/libjpeg-turbo-3.1.1.tar.gz) = 4937b63a27818cdb5087091b2d78837f7f385fd6b4d3e3fcaf4d9ad2944fed4a00020dcacb33e9c2fd4b0f9d9851fb4051ed3da86f606aca5167357262a73e89
+Size (handbrake/libjpeg-turbo-3.1.1.tar.gz) = 2506010 bytes
+BLAKE2s (handbrake/x265-snapshot-20250729-13276.tar.gz) = 122bcf8aa664cdf163a33549d5bc45b27249b2769f52ab3bb2c5b1c7598f68ba
+SHA512 (handbrake/x265-snapshot-20250729-13276.tar.gz) = 50648176cf1e20e384be4145a525c193f515b73d3ff96ae2042b393ebb3ee3a8cab031e1c5314bdd67f53a6a00010226a5709cdb720dec47142a93c6828469af
+Size (handbrake/x265-snapshot-20250729-13276.tar.gz) = 1738652 bytes
 SHA1 (patch-contrib_libjpeg-turbo_module.defs) = ab3829aa63f286854893d0297d0f33707b2698bd
-SHA1 (patch-libhb_encx265.c) = 58255c80bbbf48459afd3fef25ec6a5713fc6553
-SHA1 (patch-make-include-main.defs) = 76fd8cd19059d77d93c4fafc50bc7b501e120283
-SHA1 (patch-test_module.defs) = 2fe9c787e849b5e0be6c1ebf469904a21f648e16
+SHA1 (patch-make-include-main.defs) = 9c0553a25cc8c376287e7272422dcea245b89aef

Index: pkgsrc/multimedia/handbrake/options.mk
diff -u pkgsrc/multimedia/handbrake/options.mk:1.3 pkgsrc/multimedia/handbrake/options.mk:1.4
--- pkgsrc/multimedia/handbrake/options.mk:1.3  Mon Oct  3 10:46:05 2022
+++ pkgsrc/multimedia/handbrake/options.mk      Sat Aug 30 04:45:32 2025
@@ -1,21 +1,22 @@
-# $NetBSD: options.mk,v 1.3 2022/10/03 10:46:05 adam Exp $
+# $NetBSD: options.mk,v 1.4 2025/08/30 04:45:32 ryoon Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.handbrake
-PKG_SUPPORTED_OPTIONS= gtk3
+PKG_SUPPORTED_OPTIONS= gtk4
 
 .include "../../mk/bsd.fast.prefs.mk"
 
 .if ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS= gtk3
+PKG_SUGGESTED_OPTIONS= gtk4
 .endif
 
 .include "../../mk/bsd.options.mk"
 
-.if !empty(PKG_OPTIONS:Mgtk3)
+.if !empty(PKG_OPTIONS:Mgtk4)
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/gtk4/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
-PLIST_SRC+=    ${PKGDIR}/PLIST.gtk3
+PLIST_SRC+=    ${PKGDIR}/PLIST.gtk4
+post-build: post-build-gtk4
 .else
 CONFIGURE_ARGS+=       --disable-gtk
 .endif

Index: pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs
diff -u pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.5 pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.6
--- pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs:1.5        Sun Apr  9 11:15:50 2023
+++ pkgsrc/multimedia/handbrake/patches/patch-make-include-main.defs    Sat Aug 30 04:45:32 2025
@@ -1,11 +1,11 @@
-$NetBSD: patch-make-include-main.defs,v 1.5 2023/04/09 11:15:50 plunky Exp $
+$NetBSD: patch-make-include-main.defs,v 1.6 2025/08/30 04:45:32 ryoon 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        2023-01-22 16:36:49.000000000 +0000
+--- make/include/main.defs.orig        2025-08-08 16:41:24.000000000 +0000
 +++ make/include/main.defs
-@@ -13,49 +13,12 @@ ifneq ($(HAS.bz2),1)
+@@ -14,23 +14,6 @@ ifneq ($(HAS.bz2),1)
  endif
  endif
  
@@ -13,7 +13,6 @@ cannot coexist with libjpeg (required by
 -    MODULES += contrib/freetype
 -    MODULES += contrib/fribidi
 -    MODULES += contrib/harfbuzz
--    MODULES += contrib/libxml2
 -    MODULES += contrib/libass
 -    MODULES += contrib/libogg
 -    MODULES += contrib/libvorbis
@@ -27,32 +26,31 @@ cannot coexist with libjpeg (required by
 -    MODULES += contrib/libjpeg-turbo
 -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
+ ifeq (1,$(FEATURE.flatpak))
+     MODULES += contrib/libass
+     MODULES += contrib/jansson
+@@ -48,13 +31,7 @@ ifeq (1,$(FEATURE.x265))
+     MODULES += contrib/x265_12bit
  endif
  
--ifeq (1,$(FEATURE.x265))
--    MODULES += contrib/x265
--    MODULES += contrib/x265_8bit
--    MODULES += contrib/x265_10bit
--    MODULES += contrib/x265_12bit
--endif
--
 -MODULES += contrib/libdav1d
 -MODULES += contrib/svt-av1
 -MODULES += contrib/zimg
--MODULES += contrib/ffmpeg
+ MODULES += contrib/ffmpeg
 -MODULES += contrib/libdvdread
 -MODULES += contrib/libdvdnav
 -MODULES += contrib/libbluray
--
+ 
  ifeq (1,$(FEATURE.qsv))
  ifeq (,$(filter $(HOST.system),freebsd))
-     MODULES += contrib/libvpl
+@@ -70,10 +47,6 @@ ifeq (1,$(FEATURE.nvenc))
+     MODULES += contrib/nvenc
+ endif
+ 
+-ifeq (1,$(FEATURE.libdovi))
+-    MODULES += contrib/libdovi
+-endif
+-
+ ifneq (,$(filter $(HOST.system),darwin))
+     MODULES += contrib/xz
+     MODULES += contrib/bin2c

Added files:

Index: pkgsrc/multimedia/handbrake/PLIST.gtk4
diff -u /dev/null pkgsrc/multimedia/handbrake/PLIST.gtk4:1.1
--- /dev/null   Sat Aug 30 04:45:32 2025
+++ pkgsrc/multimedia/handbrake/PLIST.gtk4      Sat Aug 30 04:45:32 2025
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.gtk4,v 1.1 2025/08/30 04:45:32 ryoon Exp $
+bin/ghb
+share/applications/fr.handbrake.ghb.desktop
+share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg
+share/metainfo/fr.handbrake.ghb.metainfo.xml



Home | Main Index | Thread Index | Old Index