Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 177
View file
ffx264.changes
Changed
@@ -1,11 +1,17 @@ ------------------------------------------------------------------- -Thu Jul 17 19:43:00 UTC 2025 - microchip8@proton.me +Wed Nov 12 22:30:00 UTC 2025 - microchip8@proton.me + +- Update to version 4.3.1 + * Support setting a default zimg scaler in the config file + +------------------------------------------------------------------- +Wed Jun 04 12:05:00 UTC 2025 - microchip8@proton.me - Update to version 4.3.0 * Increased default noise value from 4 to 5 * Fix wrong default option for tonemap algo * Delete side data when doing HDR -> SDR conversion - * Updated the README and man page file + * Updated the AUTHORS, README and man page files ------------------------------------------------------------------- Thu Jan 02 10:04:00 UTC 2025 - neutrino8@gmail.com
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.3.0 +Version: 4.3.1 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.0.tar.gz/ChangeLog -> ffx264-4.3.1.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2025-11-12 - ffx264 4.3.1 + * Support setting a default zimg scaler in the config file + 2025-06-04 - ffx264 4.3.0 * Increased default noise value from 4 to 5 * Fix wrong default option for tonemap algo
View file
ffx264-4.3.0.tar.gz/ffx264 -> ffx264-4.3.1.tar.gz/ffx264
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <microchip8@proton.me> -# Version: 4.3.0 -# Date: 2025-06-04 +# Version: 4.3.1 +# Date: 2025-11-12 # # ffx264 is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,10 +24,10 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.3.0" +version="4.3.1" CFG="$HOME/.ffx264" -cfgversion="46" +cfgversion="47" genconfig_func() { cat<<EOF>>"$CFG" @@ -82,6 +82,15 @@ # SCALER="" +# Leave empty to ask each time or +# set a default zimg scaler. +# +# Choose between: point, bilinear, +# bicubic, spline16, spline36, +# lanczos3 and lanczos4 +# +ZSCALER="" + # Video filters VID_DENOISE="y" VID_NOISE="y" @@ -1853,32 +1862,41 @@ *) ZWIDTH="$(echo "$res" | awk -Fx '{print $1}')" ZHEIGHT="$(echo "$res" | awk -Fx '{print $2}')" - echo - brown "Software Scalers" - brown "~~~~~~~~~~~~~~~~" - echo " 0 -> Point" - echo " 1 -> Bilinear" - echo " 2 -> Bicubic" - echo " 3 -> Spline16" - echo " 4 -> Spline36" - echo " 5 -> Lanczos3" - echo " 6 -> Lanczos4" - echo - printf "Specify the Software Scaler default is 5: " - read swsopt - case "$swsopt" in - 0) zfilter="point" ;; - 1) zfilter="bilinear" ;; - 2) zfilter="bicubic" ;; - 3) zfilter="spline16" ;; - 4) zfilter="spline36" ;; - 5|"") zfilter="lanczos"; zparam=":param_a=3" ;; - 6) zfilter="lanczos"; zparam=":param_a=4" ;; - *) - error "-> Invalide software scaler!" - exit 1 - ;; - esac + if ! -z "$ZSCALER" ; then + echo + green "-> Using zcale software scaler '$ZSCALER' set in config file '$CFG'" + echo + zfilter="$ZSCALER" + test "$ZSCALER" = "lanczos3" && zparam=":param_a=3" + test "$ZSCALER" = "lanczos4" && zparam=":param_a=4" + else + echo + brown "Software Scalers" + brown "~~~~~~~~~~~~~~~~" + echo " 0 -> Point" + echo " 1 -> Bilinear" + echo " 2 -> Bicubic" + echo " 3 -> Spline16" + echo " 4 -> Spline36" + echo " 5 -> Lanczos3" + echo " 6 -> Lanczos4" + echo + printf "Specify the Software Scaler default is 5: " + read swsopt + case "$swsopt" in + 0) zfilter="point" ;; + 1) zfilter="bilinear" ;; + 2) zfilter="bicubic" ;; + 3) zfilter="spline16" ;; + 4) zfilter="spline36" ;; + 5|"") zfilter="lanczos"; zparam=":param_a=3" ;; + 6) zfilter="lanczos"; zparam=":param_a=4" ;; + *) + error "-> Invalide software scaler!" + exit 1 + ;; + esac + fi scale="zscale=width=$ZWIDTH:height=$ZHEIGHT:filter=$zfilter$zparam," ;; esac
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
.