Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 178
View file
ffx264.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Fri Nov 14 08:25:00 UTC 2025 - microchip8@proton.me + +- Update to version 4.3.2 + * Set default in-script FFmpeg scaler to natural bicubic + spline and the default zimg scaler to spline36 + * Minor improvements to the scaling code + * Updated the README and man page files + +------------------------------------------------------------------- Wed Nov 12 22:30:00 UTC 2025 - microchip8@proton.me - Update to version 4.3.1
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.3.1 +Version: 4.3.2 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.1.tar.gz/AUTHORS -> ffx264-4.3.2.tar.gz/AUTHORS
Changed
@@ -1,3 +1,3 @@ -- Grozdan Nikolov aka microchip <microchip8@proton.me> +- Grozdan "microchip" Nikolov <microchip8@proton.me> Author/maintainer/developer/packager
View file
ffx264-4.3.1.tar.gz/ChangeLog -> ffx264-4.3.2.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2025-11-14 - ffx264 4.3.2 + * Set default in-script FFmpeg scaler to natural bicubic + spline and the default zimg scaler to spline36 + * Minor improvements to the scaling code + * Updated the README and man page files + 2025-11-12 - ffx264 4.3.1 * Support setting a default zimg scaler in the config file
View file
ffx264-4.3.1.tar.gz/README -> ffx264-4.3.2.tar.gz/README
Changed
@@ -1,6 +1,6 @@ -ffx264 is a small shell script for encoding to H.264/AVC video using -ffmpeg and the libx264 library. I wrote it for my own use but share -it with others in the hope to be useful. +ffx264 is a smallish TUI (Terminal User Interface) Bash shell program +for encoding to H.264/AVC video using FFmpeg and the libx264 library. +I wrote it for my own use but share it with others in the hope to be useful. Features:
View file
ffx264-4.3.1.tar.gz/ffx264 -> ffx264-4.3.2.tar.gz/ffx264
Changed
@@ -1,9 +1,11 @@ #!/usr/bin/env bash # -# Small script to encode to H.264/AVC video using FFmpeg and libx264. +# TUI (Terminal User Interface) Bash shell program for +# encoding to H.264/AVC video using FFmpeg and libx264. +# # Author: Grozdan "microchip" Nikolov <microchip8@proton.me> -# Version: 4.3.1 -# Date: 2025-11-12 +# Version: 4.3.2 +# Date: 2025-11-14 # # 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,7 +26,7 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.3.1" +version="4.3.2" CFG="$HOME/.ffx264" cfgversion="47" @@ -65,8 +67,8 @@ # Enable software scaling support? SCALE="y" -# Leave empty to ask each time or -# set a default software scaler +# Leave empty to ask each time or set +# a default FFmpeg software scaler # # 0 = fast bilinear # 1 = bilinear @@ -83,7 +85,7 @@ SCALER="" # Leave empty to ask each time or -# set a default zimg scaler. +# set a default zimg software scaler # # Choose between: point, bilinear, # bicubic, spline16, spline36, @@ -1707,6 +1709,23 @@ fi if "$SCALE" = "y" ; then + presetconf_func() { + test ! -z "$PRESETFILE" && PRST=" or '$(realpath "$PRESETFILE")'" + case "$1" in + ffmpeg) + echo + green "-> Using FFmpeg software scaler '$scaler'" + green "-> Set in config file '$CFG'$PRST" + echo + ;; + zimg) + echo + green "-> Using zimg software scaler '$ZSCALER'" + green "-> Set in config file '$CFG'$PRST" + echo + ;; + esac + } echo green "-> Detecting video resolution..." sleep 1 @@ -1731,7 +1750,7 @@ sws_func() { case "$1" in config) swsopt="$SCALER" ;; - script) test -z "$swsopt" && swsopt="8" || swsopt="$swsopt" ;; + script) test -z "$swsopt" && swsopt="9" || swsopt="$swsopt" ;; esac case "$swsopt" in 0) scaler="fast_bilinear" ;; @@ -1771,16 +1790,14 @@ echo " 9 --> Natural Bicubic Spline" echo " 10 -> Experimental" echo - printf "Sepcify the Software Scaler default is 8: " + printf "Sepcify the Software Scaler default is 9: " read swsopt sws_func script else case "$SCALER" in 0-9|10) sws_func config - echo - green "-> Using software scaler '$scaler' set in config file '$CFG'" - echo + presetconf_func ffmpeg ;; *) error "-> Invalid software scaler in config file '$CFG'" @@ -1863,9 +1880,7 @@ ZWIDTH="$(echo "$res" | awk -Fx '{print $1}')" ZHEIGHT="$(echo "$res" | awk -Fx '{print $2}')" if ! -z "$ZSCALER" ; then - echo - green "-> Using zcale software scaler '$ZSCALER' set in config file '$CFG'" - echo + presetconf_func zimg zfilter="$ZSCALER" test "$ZSCALER" = "lanczos3" && zparam=":param_a=3" test "$ZSCALER" = "lanczos4" && zparam=":param_a=4" @@ -1881,15 +1896,15 @@ echo " 5 -> Lanczos3" echo " 6 -> Lanczos4" echo - printf "Specify the Software Scaler default is 5: " + printf "Specify the Software Scaler default is 4: " 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" ;; + 4|"") zfilter="spline36" ;; + 5) zfilter="lanczos"; zparam=":param_a=3" ;; 6) zfilter="lanczos"; zparam=":param_a=4" ;; *) error "-> Invalide software scaler!"
View file
ffx264-4.3.1.tar.gz/ffx264.1 -> ffx264-4.3.2.tar.gz/ffx264.1
Changed
@@ -3,7 +3,7 @@ .de IPs .IP "\\$1" .. -.TH ffx264 1 "Jun 04, 2025" +.TH ffx264 1 "Nov 13, 2025" .SH NAME ffx264 @@ -13,11 +13,11 @@ .br .SH DESCRIPTION -\fBffx264\fR is a small yet quite capable shell script for encoding to the H.264/AVC video -format. It uses the FFmpeg encoder and the libx264 library. \fBffx264\fR supports a wide range -of options for video encoding coupled with support for encoding multiple audio tracks -and copying multiple subtitles. \fBffx264\fR only supports as input video files so it is -not possible to encode directly from a DVD/BD drive or an ISO image. +\fBffx264\fR is a smallish yet quite capable TUI (Terminal User Interface) Bash shell program +for encoding to the H.264/AVC video format. It uses the FFmpeg encoder and the libx264 library. +\fBffx264\fR supports a wide range of options for video encoding coupled with support for encoding +multiple audio tracks and copying multiple subtitles. \fBffx264\fR only supports as input video +files so it is not possible to encode directly from a DVD/BD drive or an ISO image. .LP The script uses a configuration file stored in $HOME/.ffx264 where the user can set things up. \fBffx264\fR is interactive in nature but the user can pass through it in under a few minutes. @@ -124,7 +124,7 @@ .SH AUTHORS .B ffx264 -was written by Grozdan Nikolov <microchip8@proton.me> +was written by Grozdan \'microchip\' Nikolov <microchip8@proton.me> .SH BUG REPORTS Please send all bug reports and/or questions/suggestions/donations to <microchip8@proton.me>
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
.