Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 99
View file
ffxvid.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 17 03:35:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 1.7.5 + * Fix crop detection for HDR content + * Set Lanczos as default scaler option + +------------------------------------------------------------------- Mon Jan 23 10:43:00 UTC 2023 - neutrino8@opensuse.org - Update to version 1.7.4
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.7.4 +Version: 1.7.5 Release: %mkrel 1 Summary: A small shell script for encoding to Xvid with FFmpeg License: GPL-2.0+
View file
ffxvid-1.7.4.tar.gz/ChangeLog -> ffxvid-1.7.5.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2023-08-17 - ffxvid 1.7.5 + * Fix crop detection for HDR content + * Set Lanczos as default scaler option + 2023-01-23 - ffxvid 1.7.4 * Support more deinterlacing filters
View file
ffxvid-1.7.4.tar.gz/ffxvid -> ffxvid-1.7.5.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.7.4 -# Date: 2023-01-23 +# Version: 1.7.5 +# Date: 2023-08-17 # # 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 +24,7 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="1.7.4" +version="1.7.5" CFG="$HOME/.ffxvid" cfgversion="15" @@ -1464,8 +1464,7 @@ printf "Auto-Crop the Input Files? y/N: " read autocrop if "$autocrop" = "y" -o "$autocrop" = "Y" ; then - CROPVAL="\$($FFMPEG -ss \$((\$VLENGTH/2)) -i \"\$i\" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print \$NF}' | awk -F= '{print \$2}' | tail -1)" - # CROPVAL="\$($MPLAYER \"\$i\" -noconfig all -loop 1 -vid $vidtrack -frames 250 -ss \$((\$VLENGTH/2)) -vf cropdetect=24:4 -ao null -vo null -nocache 2>/dev/null | tr '\r' '\n' | grep 'crop=' | tail -n 1 | awk '{print \$9}' | sed 's|crop=||g; s|).||g')" + CROPVAL="\$($FFMPEG -ss \$((\$VLENGTH/2)) -i \"\$i\" $vidmap -vf cropdetect -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print \$NF}' | awk -F= '{print \$2}' | tail -1)" crop="crop=\$CROPVAL," fi else @@ -1477,8 +1476,7 @@ else vlength="$VLENGTH" fi - CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" - # CROPVAL="$($MPLAYER "$input" -noconfig all -loop 1 -vid $vidtrack -frames 250 -ss $(($vlength/2)) -vf cropdetect=24:4 -ao null -vo null -nocache 2>/dev/null | tr '\r' '\n' | grep 'crop=' | tail -n 1 | awk '{print $9}' | sed 's|crop=||g; s|).||g')" if ! -z "$CROPVAL" ; then + CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" if ! -z "$CROPVAL" ; then green "-> Found crop values: $CROPVAL" else @@ -1552,7 +1550,7 @@ sws_func() { case "$1" in config) swsopt="$SCALER" ;; - script) test -z "$swsopt" && swsopt="9" || swsopt="$swsopt" ;; + script) test -z "$swsopt" && swsopt="8" || swsopt="$swsopt" ;; esac case "$swsopt" in 0) scaler="fast_bilinear" ;; @@ -1592,7 +1590,7 @@ echo " 9 --> Natural Bicubic Spline" echo " 10 -> Experimental" echo - printf "Sepcify the Software Scaler default is 9: " + printf "Sepcify the Software Scaler default is 8: " read swsopt sws_func script else @@ -1653,8 +1651,8 @@ else swscaler="Lanczos" swsval="1-10" - swsdef="1" - swstype="Filter Length" + swsdef="3" + swstype="Width (alpha)" fi printf "Specify the $swscaler scaler $swstype $swsval - default is $swsdef: " read swstune @@ -3462,7 +3460,7 @@ echo "CROPVAL=\"$CROPVAL\"" >> "$OUTFILE" echo "green \"-> Found \$CROPVAL\"" >> "$OUTFILE" echo "echo" >> "$OUTFILE" - echo "sleep 3" >> "$OUTFILE" + echo "sleep 5" >> "$OUTFILE" echo "" >> "$OUTFILE" fi fi
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
.