Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 54
View file
ffx264.changes
Changed
@@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Mon Jun 05 03:55:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.4.4 + * Remove redundant software scaler warning and exit in + the sws_func() function for the config file + * Added support for the experimental software scaler + * Added support for software scaler tuning where applicable + * Removed additional encoder info on max audio channels support + +------------------------------------------------------------------- Sun Jun 04 21:45:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.4.3
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.4.3 +Version: 3.4.4 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.4.3.tar.gz/ChangeLog -> ffx264-3.4.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,10 @@ +2017-06-05 - ffx264 3.4.4 + * Remove redundant software scaler warning and exit in + the sws_func() function for the config file + * Added support for the experimental software scaler + * Added support for software scaler tuning where applicable + * Removed additional encoder info on max audio channels support + 2017-06-04 - ffx264 3.4.3 * Match software scaler options in config file with the ones inside the script. $SCALER in config file now
View file
ffx264-3.4.3.tar.gz/ffx264 -> ffx264-3.4.4.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.3 -# Date: 2017-06-04 +# Version: 3.4.4 +# Date: 2017-06-05 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.4.3" +version="3.4.4" CFG="$HOME/.ffx264" -cfgversion="31" +cfgversion="32" genconfig_func() { cat<<EOF>>"$CFG" @@ -63,16 +63,17 @@ # Leave empty to ask each time or # set a default software scaler # -# 0 = fast_bilinear +# 0 = fast bilinear # 1 = bilinear # 2 = bicubic -# 3 = neighbor -# 4 = area -# 5 = bicublin -# 6 = gauss +# 3 = nearest neighbor +# 4 = area averaging +# 5 = luma bicubic/chroma bilinear +# 6 = gaussian # 7 = sinc # 8 = lanczos # 9 = spline +# 10 = experimental # SCALER="" @@ -1151,12 +1152,9 @@ 7) scaler="sinc" ;; 8) scaler="lanczos" ;; 9) scaler="spline" ;; + 10) scaler="experimental" ;; *) case "$1" in - config) - error "-> Invalid software scaler in config file '$CFG'" - exit 1 - ;; script) error "-> Invalid option!" exit 1 @@ -1169,23 +1167,24 @@ echo brown " Software Scalers" brown " ~~~~~~~~~~~~~~~~" - echo " 0 -> Fast Bilinear" - echo " 1 -> Bilinear" - echo " 2 -> Bicubic" - echo " 3 -> Neighbor" - echo " 4 -> Area" - echo " 5 -> Luma Bicubic/Chroma Bilinear" - echo " 6 -> Gaussian" - echo " 7 -> Sinc" - echo " 8 -> Lanczos" - echo " 9 -> Natural Bicubic Spline" + echo " 0 --> Fast Bilinear" + echo " 1 --> Bilinear" + echo " 2 --> Bicubic" + echo " 3 --> Nearest Neighbor" + echo " 4 --> Area Averaging" + echo " 5 --> Luma Bicubic/Chroma Bilinear" + echo " 6 --> Gaussian" + echo " 7 --> Sinc" + echo " 8 --> Lanczos" + echo " 9 --> Natural Bicubic Spline" + echo " 10 -> Experimental" echo printf "Sepcify the Software Scaler [default is 9]: " read swsopt sws_func script else case "$SCALER" in - [0-9]) + [0-9]|10) sws_func config echo green "-> Using software scaler set in config file '$CFG'" @@ -1197,6 +1196,78 @@ ;; 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) + echo + brown "Scaler Tuning" + brown "~~~~~~~~~~~~~" + echo " 0 -> Default (0.00, 0.60)" + echo " 1 -> Catmull-Rom Spline (0.00, 0.50)" + echo " 2 -> Mitchell-Netravali Spline (0.33, 0.33)" + echo " 3 -> Cubic B-Spline (1.00, 0.00)" + echo " 4 -> Custom" + echo + printf "Specify 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.50" ;; + 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]: " + 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 + ;; + esac printf "Enable Accurate Rounding? [y/N]: " read around if [ "$around" = "y" -o "$around" = "Y" ]; then @@ -1208,7 +1279,7 @@ fullchroma="+full_chroma_int" fi test ! -z "$interlaced" && interl=":interl=1" - scale="scale=$res$interl:flags=$scaler$accuround$fullchroma," + scale="scale=$res$interl:flags=$scaler$accuround$fullchroma$swsparam0$swsparam1," fi fi @@ -1754,19 +1825,19 @@ echo brown " Available Audio Codecs" brown " ~~~~~~~~~~~~~~~~~~~~~~" - echo " AC3 -----> Channels Support: 6 (codec max)" - echo " EAC3 ----> Channels Support: 6 (encoder max)" - echo " DTS -----> Channels Support: 6 (codec max)" - echo " AAC -----> Channels Support: 8 (ffmpeg max)" - echo " FDK-AAC -> Channels Support: 8 (ffmpeg max)" - echo " Libopus -> Channels Support: 8 (ffmpeg max)" - echo " Opus ----> Channels Support: 2 (encoder max)" - echo " Vorbis --> Channels Support: 8 (ffmpeg max)" - echo " MP3 -----> Channels Support: 2 (codec max)" - echo " TrueHD --> Channels Support: 6 (encoder max)" - echo " FLAC ----> Channels Support: 8 (codec max)"
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
.