Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 55
View file
ffx264.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Thu Jun 08 14:51:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.4.5 + * Report software scaler set in the config file + * Merge the bicubic and spline scaler tuning code + * Mention for the Lanczos scaler that the scaler + tuning value is the filter length and not sharpness + +------------------------------------------------------------------- Mon Jun 05 03:55:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.4.4
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.4.4 +Version: 3.4.5 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.4.4.tar.gz/ChangeLog -> ffx264-3.4.5.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2017-06-08 - ffx264 3.4.5 + * Report software scaler set in the config file + * Merge the bicubic and spline scaler tuning code + * Mention for the Lanczos scaler that the scaler + tuning value is the filter length and not sharpness + 2017-06-05 - ffx264 3.4.4 * Remove redundant software scaler warning and exit in the sws_func() function for the config file
View file
ffx264-3.4.4.tar.gz/ffx264 -> ffx264-3.4.5.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 <neutrino8@opensuse.org> -# Version: 3.4.4 -# Date: 2017-06-05 +# Version: 3.4.5 +# Date: 2017-06-08 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.4.4" +version="3.4.5" CFG="$HOME/.ffx264" cfgversion="32" @@ -72,7 +72,7 @@ # 6 = gaussian # 7 = sinc # 8 = lanczos -# 9 = spline +# 9 = natural bicubic spline # 10 = experimental # SCALER="" @@ -1187,7 +1187,7 @@ [0-9]|10) sws_func config echo - green "-> Using software scaler set in config file '$CFG'" + green "-> Using software scaler '$scaler' set in config file '$CFG'" echo ;; *) @@ -1197,46 +1197,7 @@ esac fi case "$swsopt" in - 2) - echo - brown "Scaler Tuning" - brown "~~~~~~~~~~~~~" - echo " 0 -> Default (0.00, 0.60)" - echo " 1 -> VirtualDub's \"Precise Bicubic\" (0.00, 0.75)" - echo " 2 -> Custom" - echo - printf "Select the Scaler Tuning option [default is 0]: " - read swstune - case "$swstune" in - 0|"") swsparam0=":param0=0.00"; swsparam1=":param1=0.60" ;; - 1) swsparam0=":param0=0.00"; swsparam1=":param1=0.75" ;; - 2) - printf "Specify the Custom Scaler Tuning options [default is 0.00:0.60]: " - read swscus - if [ ! -z "$swscus" ]; then - swsparam0=":param0=$(echo "$swscus" | awk -F: '{print $1}')" - swsparam1=":param1=$(echo "$swscus" | awk -F: '{print $2}')" - fi - ;; - *) - error "-> Invalid option!" - exit 1 - ;; - esac - ;; - 6|8) - if [ "$swsopt" = "6" ]; then - swscaler="Gaussian" - swsharp="0-100" - else - swscaler="Lanczos" - swsharp="0-10" - fi - printf "Specify the $swscaler scaler Sharpness [$swsharp - default is 0]: " - read swstune - test ! -z "$swstune" && swsparam0=":param0=$swstune" - ;; - 9) + 2|9) echo brown "Scaler Tuning" brown "~~~~~~~~~~~~~" @@ -1254,7 +1215,7 @@ 2) swsparam0=":param0=0.33"; swsparam1=":param1=0.33" ;; 3) swsparam0=":param0=1.00"; swsparam1=":param1=0.00" ;; 4) - printf "Specify the Custom Scaler Tuning options [default is 0.00:0.60]: " + printf "Specify the Custom Scaler Tuning values [default is 0.00:0.60]: " read swscus if [ ! -z "$swscus" ]; then swsparam0=":param0=$(echo "$swscus" | awk -F: '{print $1}')" @@ -1267,6 +1228,22 @@ ;; esac ;; + 6|8) + if [ "$swsopt" = "6" ]; then + swscaler="Gaussian" + swsval="0-100" + swsdef="0" + swstype="Sharpness" + else + swscaler="Lanczos" + swsval="1-10" + swsdef="1" + swstype="Filter Length" + fi + printf "Specify the $swscaler scaler $swstype [$swsval - default is $swsdef]: " + read swstune + test ! -z "$swstune" && swsparam0=":param0=$swstune" + ;; esac printf "Enable Accurate Rounding? [y/N]: " read around
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
.