Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 113
View file
ffxvid.changes
Changed
@@ -1,4 +1,23 @@ ------------------------------------------------------------------- +Sat Nov 15 14:10:00 UTC 2025 - neutrino8@gmail.com + +- Update to version 1.8.13 + * Support setting the default zimg scaler in the config file + * Use Natural Bicubic Spline FFmpeg scaler as default in-script + scaler and Spline36 scaler as default for zimg + * Minor improvements to the scaling code + * Updated the README and man page files + +------------------------------------------------------------------- +Fri Jun 06 11:06:00 UTC 2025 - neutrino8@gmail.com + +- Update to version 1.8.12 + * 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 AUTHORS, README and man page files + +------------------------------------------------------------------- Tue Nov 26 11:06:00 UTC 2024 - neutrino8@gmail.com - Update to version 1.8.11
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.8.11 +Version: 1.8.13 Release: %mkrel 1 Summary: A small shell script for encoding to Xvid with FFmpeg License: GPL-2.0+
View file
ffxvid-1.8.11.tar.gz/AUTHORS -> ffxvid-1.8.13.tar.gz/AUTHORS
Changed
@@ -1,3 +1,3 @@ -- Grozdan Nikolov aka microchip <neutrino8@gmail.com> +- Grozdan "microchip" Nikolov <microchip8@proton.me> Author/maintainer/developer/packager
View file
ffxvid-1.8.11.tar.gz/ChangeLog -> ffxvid-1.8.13.tar.gz/ChangeLog
Changed
@@ -1,3 +1,16 @@ +2025-11-15 - ffxvid 1.8.13 + * Support setting the default zimg scaler in the config file + * Use Natural Bicubic Spline FFmpeg scaler as default in-script + scaler and Spline36 scaler as default for zimg + * Minor improvements to the scaling code + * Updated the README and man page files + +2025-06-06 - ffxvid 1.8.12 + * 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 AUTHORS, README and man page files + 2024-11-26 - ffxvid 1.8.11 * Fixed a syntax error in the video_deinterlace_func() function. Reported by Christian Marillat
View file
ffxvid-1.8.11.tar.gz/README -> ffxvid-1.8.13.tar.gz/README
Changed
@@ -1,5 +1,6 @@ -ffxvid is a small shell script for encoding to MPEG4 Part 2/Xvid video -using the ffmpeg encoder. +ffxvid is a smallish TUI (Terminal User Interface) Bash shell program for +encoding to Xvid/MPEG-4 Part 2 video using FFmpeg and the libxvid library. +I wrote it for my own use but share it with others in the hope to be useful. Features: @@ -15,4 +16,4 @@ Donations: -PayPal address: neutrino8@gmail.com +PayPal address: microchip8@proton.me
View file
ffxvid-1.8.11.tar.gz/ffxvid -> ffxvid-1.8.13.tar.gz/ffxvid
Changed
@@ -1,9 +1,11 @@ #!/usr/bin/env bash # -# Small script to encode to Xvid video using FFmpeg. -# Author: Grozdan "microchip" Nikolov <neutrino8@gmail.com> -# Version: 1.8.11 -# Date: 2024-11-26 +# TUI (Terminal User Interface) Bash shell program for encoding +# to Xvid/MPEG-4 Part 2 video using FFmpeg and libxvid. +# +# Author: Grozdan "microchip" Nikolov <microchip8@proton.me> +# Version: 1.8.13 +# Date: 2025-11-15 # # 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 +26,10 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="1.8.11" +version="1.8.13" CFG="$HOME/.ffxvid" -cfgversion="16" +cfgversion="17" genconfig_func() { cat<<EOF>>"$CFG" @@ -57,7 +59,7 @@ # Constant Quantizer value # Leave empty to ask each time -CQ="2" +CQ="3" # Automatically crop the input? AUTOCROP="y" @@ -66,7 +68,7 @@ SCALE="y" # Leave empty to ask each time or -# set a default software scaler +# set a default FFmpeg scaler. # # 0 = fast bilinear # 1 = bilinear @@ -82,6 +84,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" @@ -752,9 +763,9 @@ printf "Add Temporal & Uniform Noise to the Input File? y/N: " read tun if "$tun" = "y" -o "$tun" = "Y" ; then - printf "Specify the Noise Strength 0-100 - default is 4: " + printf "Specify the Noise Strength 0-100 - default is 5: " read nvalue - test -z "$nvalue" && nval="4" || nval="$nvalue" + test -z "$nvalue" && nval="5" || nval="$nvalue" noise="noise=alls=$nval:allf=t+u," fi } @@ -1119,7 +1130,7 @@ echo " 5 -> Hable" echo " 6 -> Mobius" echo - printf "Specify the Tone Mapping Algorithm default is 4: " + printf "Specify the Tone Mapping Algorithm default is 6: " read tmaopt case "$tmaopt" in 0) tm_algo="none" ;; @@ -1224,7 +1235,7 @@ test ! -z "$satval" && eq="eq=saturation=$satval," fi fi - test ! -z "$zscale" && tonemap="zscale=transfer=linear,tonemap=$tm_algo$tm_param$tm_desat,$zscale," + test ! -z "$zscale" && tonemap="zscale=transfer=linear,tonemap=$tm_algo$tm_param$tm_desat,$zscale,sidedata=delete," test ! -z "$colorspace" && colorspace="$colorspace$wpadapt," fi fi @@ -1535,6 +1546,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 @@ -1559,7 +1587,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" ;; @@ -1599,19 +1627,17 @@ 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'" + error "-> Invalid software scaler in config file '$CFG'$PRST" exit 1 ;; esac @@ -1690,32 +1716,39 @@ *) 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 + presetconf_func zimg + 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 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" ;; + 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 @@ -2188,7 +2221,7 @@ error "-> No such file! Skipping!" echo else - subtitles="subtitles=\"$(realpath -e "$subfile")\"," + subtitles="subtitles=\"$(realpath "$subfile")\"," fi fi ;; @@ -2198,7 +2231,7 @@ if ! -z "$batchmode" ; then test -z "$subpos" && subtitles="subtitles=\"\$i\":si=0," || subtitles="subtitles=\"\$i\":si=$subpos," else - test -z "$subpos" && subtitles="subtitles=\"$(realpath -e "$input")\":si=0," || subtitles="subtitles=\"$(realpath -e "$input")\":si=$subpos," + test -z "$subpos" && subtitles="subtitles=\"$(realpath "$input")\":si=0," || subtitles="subtitles=\"$(realpath "$input")\":si=$subpos," fi ;; ""|*)
View file
ffxvid-1.8.11.tar.gz/ffxvid.1 -> ffxvid-1.8.13.tar.gz/ffxvid.1
Changed
@@ -3,7 +3,7 @@ .de IPs .IP "\\$1" .. -.TH ffxvid 1 "Oct 24, 2019" +.TH ffxvid 1 "Nov 15, 2025" .SH NAME ffxvid @@ -13,10 +13,10 @@ .br .SH DESCRIPTION -\fBffxvid\fR is a small yet quite capable shell script for encoding to the MPEG4 Part 2/Xvid video -format using the FFmpeg encoder and libxvid library. \fBffxvid\fR supports a wide range -of options for video encoding coupled with support for encoding multiple audio tracks -and copying multiple subtitles. \fBffxvid\fR only supports as input video files so it is +\fBffxvid\fR is a smallish yet quite capable TUI (Terminal User Interface) shell program for encoding +to the Xvid/MPEG-4 Part 2 video format. It uses the FFmpeg encoder and the libxvid library. \fBffxvid\fR +supports a wide range of options for video encoding coupled with support for encoding multiple audio +tracks and copying multiple subtitles. \fBffxvid\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/.ffxvid where the user can set things up. @@ -75,10 +75,10 @@ .SH AUTHORS .B ffxvid -was written by Grozdan Nikolov <neutrino8@gmail.com> +was written by Grozdan \'microchip\' Nikolov <microchip8@proton.me> .SH BUG REPORTS -Please send all bug reports and/or questions/suggestions/donations to <neutrino8@gmail.com> +Please send all bug reports and/or questions/suggestions/donations to <microchip8@proton.me> .SH WWW https://ffxvid.teambelgium.net
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
.