Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 180
View file
ffx264.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Dec 30 12:13:00 UTC 2025 - microchip8@proton.me + +- Update to version 4.3.4 + * Add support for detecting type of content (SDR/HDR10/DoVi) + * Minor tweaks to the lanczos3/4 zscale filter code + +------------------------------------------------------------------- Sat Dec 20 16:27:00 UTC 2025 - microchip8@proton.me - Update to version 4.3.3
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.3.3 +Version: 4.3.4 Release: %mkrel 1 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+
View file
ffx264-4.3.3.tar.gz/ChangeLog -> ffx264-4.3.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2025-12-30- ffx264 4.3.4 + * Add support for detecting type of content (SDR/HDR10/DoVi) + * Minor tweaks to the lanczos3/4 zscale filter code + 2025-12-20 - ffx264 4.3.3 * Bugfix in the zscale scale filter for Lanczos3/4
View file
ffx264-4.3.3.tar.gz/ffx264 -> ffx264-4.3.4.tar.gz/ffx264
Changed
@@ -4,8 +4,8 @@ # encoding to H.264/AVC video using FFmpeg and libx264. # # Author: Grozdan "microchip" Nikolov <microchip8@proton.me> -# Version: 4.3.3 -# Date: 2025-12-20 +# Version: 4.3.4 +# Date: 2025-12-30 # # ffx264 is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.3.3" +version="4.3.4" CFG="$HOME/.ffx264" cfgversion="47" @@ -729,6 +729,25 @@ ;; esac +echo +green "-> Detecting type of content..." +HDR10="$($FFPROBE -i "$input" -v quiet -select_streams v:$vidtrack -show_entries side_data -read_intervals %+1 | grep -i 'mastering' | tail -1)" +DOVI="$($FFPROBE -i "$input" -v quiet -select_streams v:$vidtrack -show_entries side_data -read_intervals %+1 | grep -i 'dolby' | tail -1)" +if ! -z "$HDR10" -a ! -z "$DOVI" ; then + hdrcontent="1" + green "-> Detected HDR10(+) and Dolby Vision HDR content" +elif ! -z "$HDR10" -a -z "$DOVI" ; then + hdrcontent="1" + green "-> Detected HDR10(+) content" +elif -z "$HDR10" -a ! -z "$DOVI" ; then + hdrcontent="1" + green "-> Detected Dolby Vision HDR content" +else + green "-> Detected SDR content" +fi +echo + + case "$encmode" in 1-3p) printf "Specify the desired Video Bitrate in kbps default is 8000: " @@ -1883,13 +1902,13 @@ presetconf_func zimg zfilter="$ZSCALER" case "$zfilter" in - lanczos3) - zfilter="lanczos" - zparam=":param_a=3" - ;; - lanczos4) + lanczos3|lanczos4) + if "$zfilter" = "lanczos3" ; then + zparam=":param_a=3" + else + zparam=":param_a=4" + fi zfilter="lanczos" - zparam=":param_a=4" ;; esac else
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.