Commit Graph

13258 Commits

Author SHA1 Message Date
sr55 61c71fca25
WinGui: Fix an issue where preset order is inconsistent between the display modes. Fixes #7114 2025-08-06 18:24:26 +01:00
Damiano Galassi 14e77c6cb5
contrib: backport a fix for x265 2 pass mode 2025-08-06 08:28:57 +02:00
Damiano Galassi fa25fc88e8
contrib: fix x265 cross-compilation
Compiling the arm64 version on a x86_64 Mac now works.
2025-08-05 20:34:09 +02:00
robxnano 76fb9a6f45 LinGUI: Fix custom tmp dir and avoid setenv
As multiple threads are running by this point, using setenv()
here is unsafe.
2025-08-05 19:13:18 +02:00
robxnano 5df6cfb1cd qsv: Initialize libva without using setenv
Uses vaSetDriverName to try the different Intel drivers,
as it is not safe to call setenv() with multiple threads
running. As there is no way to unset the driver name, we must
try the default method with no name before trying other
driver names.
2025-08-05 19:13:18 +02:00
Damiano Galassi c8eda0d471
libhb: set AVFMT_FLAG_BITEXACT flag
Avoid having the 'Encoded by' metadata
filled by libavformat by default.
2025-08-05 18:23:30 +02:00
Damiano Galassi 7e7e8962a3
libhb: fix various clang static analyzer warnings 2025-08-04 18:43:05 +02:00
Damiano Galassi 54a05b9719
Update NEWS 2025-08-04 07:01:41 +02:00
Damiano Galassi 9095ca046b
actions: update macOS runners to macOS 15 2025-08-04 07:01:22 +02:00
Damiano Galassi 0aafbd6ad4
WinGui: remove unused class 2025-08-03 07:04:32 +02:00
Nomis101 66367f114d
[LinuxGUI] Update dutch and swedish locale (#7106) 2025-08-03 07:03:12 +02:00
Nomis101 7d080cae4d Add locale update to NEWS 2025-08-02 20:25:41 +02:00
Nomis101 14ed505de7 [macGUI] Update all locales 2025-08-02 20:25:41 +02:00
Nomis101 e084777b2d winGUI: update locales and remove non-maintained ones 2025-08-02 15:12:52 +01:00
Damiano Galassi 55c59cb6f5
libhb: fix build on gcc 15 2025-08-02 14:27:35 +02:00
Damiano Galassi 60f8c8419f
libhb: fix qsv hw device init 2025-08-02 12:25:44 +02:00
Damiano Galassi da286148cc
libhb: cosmetics 2025-08-02 11:50:44 +02:00
Damiano Galassi 3ac94caf0e
libhb: fix a hw frames context leak
When creating the black buffer, the hw frames context was never freed.
2025-08-02 11:43:50 +02:00
Damiano Galassi e48d53d6ac
preset: update AV1 and Social presets
Use higher quality presets for SVT-AV1
due to the recent speed improvements.
Disable metadata passthru in Social presets
now that the location metadata is preserved.
2025-08-02 08:39:53 +02:00
Damiano Galassi 85e842ba3f
libhb: gracefully fail when an hw device can't be created 2025-08-01 12:07:02 +02:00
Damiano Galassi 0bc77c63a8
libhb: improve qsv device selection logging 2025-08-01 12:06:41 +02:00
Damiano Galassi 8119674d71
libhb: fix the hw device selection
Don't ignore the dictionary with the child device index.
2025-08-01 12:05:45 +02:00
Damiano Galassi e7f31f8a2b
libhb: properly match amf presets
Fix #7095.
2025-08-01 08:36:07 +02:00
Nomis101 3f58a5af55
LinGUI: update locales and remove non-maintained ones (#7086) 2025-07-31 08:02:39 +02:00
Damiano Galassi b2c6b323a8
contrib: use absolute dir path when building libdovi
Fix a build issue that happens with older cargo-c versions"
2025-07-30 15:55:13 +02:00
Damiano Galassi ba11bbb908
MacGui: update Sparkle to version 2.7.1 2025-07-30 15:54:06 +02:00
Damiano Galassi 55279eda49
Update NEWS 2025-07-30 08:46:24 +02:00
hnsteyding f86369a18d
contrib: update HarfBuzz to 11.3.3 (#7079) 2025-07-30 08:42:30 +02:00
Damiano Galassi 15d0308529 contrib: update to x265 rev 13276 2025-07-30 08:42:05 +02:00
Damiano Galassi 5ebba0e4a3 contrib: update to x264 rev 3222 2025-07-30 08:42:05 +02:00
robxnano 7525042653 LinGUI: Replace deprecated GTK functions
The gtk_widget_show() and gtk_widget_hide() functions are deprecated in
GTK 4.10 in favor of gtk_widget_set_visible().
2025-07-30 07:39:28 +02:00
robxnano efeab41949 LinGUI: Bump GTK minimum version to 4.6
The previous minimum version, 4.4, is no longer available in any
supported distribution, so 4.6 is the lowest version which can be
tested.
2025-07-30 07:39:28 +02:00
robxnano bdc52b984c LinGUI: Don't allow unsupported bitrates
When the maximum bitrate is reduced due to a codec or mixdown change,
and the previously selected bitrate is out of range, change to the
highest allowed bitrate, and vice versa for the minimum bitrate.
2025-07-30 07:39:28 +02:00
robxnano 1ddad8ed72 LinGUI: Fix maximum bitrate calculation
Use the current audio mixdown to determine the maximum bitrate in the
audio defaults dialog, instead of only using the mono rate.
Fixes https://github.com/HandBrake/HandBrake/issues/6997
2025-07-30 07:39:28 +02:00
robxnano d56195c73d libhb: Fallback to first audio track
If no track was found in any of the selected languages, fall back to
the first audio track.
Fixes https://github.com/HandBrake/HandBrake/issues/6666.
2025-07-30 07:39:28 +02:00
dashsantosh-mcw 71eeb9a609
filter: optimize framerate shaper filter (#6656)
Run the metric on downscaled buffers only for high res.

Co-authored-by: Logaprakash Ramajayam <logaprakash.ramajayam@multicorewareinc.com>
2025-07-28 18:27:35 +02:00
Damiano Galassi 45d86b1edd
contrib: update SVT-AV1 to version 3.1.0 (#7075)
Removed cpuinfo, is no longer needed.
2025-07-28 17:46:00 +02:00
Nomis101 84d85581c9
Add some points to consider to TRANSLATION.markdown (#7064) 2025-07-28 08:12:59 +02:00
robxnano cca03252fb configure: Don't store --build flag in CONF.args
This causes `make reconfigure` to fail when a custom build dir
is set, as the configure command is run inside the build dir
but the flag makes it create another build dir inside that one.
The same problem occurs when `make ub` on macOS is used.
2025-07-27 08:10:00 +02:00
robxnano 4834b9c299 flatpak: Improve build feature options
Refactor create_flatpak_manifest.py to make adding extra options easier
and enable building with fdk-aac or without nvenc support.
Fixes https://github.com/HandBrake/HandBrake/issues/6251
2025-07-27 08:10:00 +02:00
robxnano 473ec7fc21 libdovi: Install to correct libdir 2025-07-27 08:10:00 +02:00
robxnano 087f1a740b libdovi: Use correct Rust target for Windows ARM64 2025-07-27 08:10:00 +02:00
robxnano 5193e59be9 actions: Add more tools to Windows ARM64 build 2025-07-27 08:10:00 +02:00
robxnano 10136212da actions: Upgrade Windows runners to Ubuntu 24.04 2025-07-27 08:10:00 +02:00
robxnano 64c21d5438 contrib: Build libiconv before dependent libraries
Ensures libiconv is available to the libraries that use it:
- ffmpeg
- lame
- xz
2025-07-27 08:10:00 +02:00
Damiano Galassi 1138c44dd6
qsv: set the vpp scale mode to hq by default
The previous default (compute) quality is not too good.
Fix reading vpp-sm options and remove the unimplemented vpp-im option.
2025-07-26 13:09:42 +02:00
Damiano Galassi 6a8f543a0f
qsv: remove dead code 2025-07-26 13:07:22 +02:00
Damiano Galassi 36dcae62e2
qsv: add back hb_qsv_adapters_list
It's used by the WinUI, so add it back until
there is a better replacement.
2025-07-25 18:41:11 +02:00
robxnano bdc320fad0 LinGUI: Hide unavailable hardware encoder presets
Official hardware encoder presets are hidden, while user-created ones
are shown grayed out, to avoid confusion if the hardware encoders get
disabled somehow.

Fixes https://github.com/HandBrake/HandBrake/issues/6734
2025-07-25 16:51:45 +01:00
robxnano 08e1a6a231 LinGUI: Remove unused DBus code 2025-07-25 16:51:45 +01:00