Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 6
View file
ffxvid.changes
Changed
@@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Sat May 13 18:10:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.0.7 + * Support accurate rounding for the software scalers + * Support full chroma interpolation for the software scalers + * Use the flags option of the scale option instead of -sws_flags + to set scaler and its options + * Bugfix: software scaler code missing + +------------------------------------------------------------------- Mon Apr 03 19:04:00 UTC 2017 - neutrino8@opensuse.org - Update to version 1.0.6
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.0.6 +Version: 1.0.7 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.0.6.tar.gz/ChangeLog -> ffxvid-1.0.7.tar.gz/ChangeLog
Changed
@@ -1,3 +1,10 @@ +2017-05-13 - ffxvid 1.0.7 + * Support accurate rounding for the software scalers + * Support full chroma interpolation for the software scalers + * Use the flags option of the scale option instead of -sws_flags + to set scaler and its options + * Bugfix: software scaler code missing + 2017-04-03 - ffxvid 1.0.6 * Support setting the input/output color range
View file
ffxvid-1.0.6.tar.gz/ffxvid -> ffxvid-1.0.7.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.0.6 -# Date: 2017-04-03 +# Version: 1.0.7 +# Date: 2017-05-13 # # 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="1.0.6" +version="1.0.7" CFG="$HOME/.ffxvid" cfgversion="4" @@ -987,6 +987,57 @@ test ! -z "$cropval" && crop="crop=$cropval," fi +if [ "$SCALE" = "y" ]; then + printf "Specify the Desired Resolution [WxH - press 'Enter' to skip]: " + read res + if [ ! -z "$res" ]; then + test -z "$interlaced" && scale="scale=$res," || scale="scale=$res:interl=1," + if [ -z "$SCALER" ]; then + 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 + printf "Sepcify the Software Scaler [default is 9]: " + read swsopt + case "$swsopt" in + 0) scaler="fast_bilinear" ;; + 1) scaler="bilinear" ;; + 2) scaler="bicubic" ;; + 3) scaler="neighbor" ;; + 4) scaler="area" ;; + 5) scaler="bicublin" ;; + 6) scaler="gauss" ;; + 7) scaler="sinc" ;; + 8) scaler="lanczos" ;; + 9|"") scaler="spline" ;; + *) + error "-> Invalid option!" + exit 1 + ;; + esac + else + scaler="$SCALER" + fi + printf "Enable Accurate Rounding? [y/N]: " + read around + test ! -z "$around" && accuround="+accurate_rnd" + printf "Enable Full Chroma Interpolation? [y/N]: " + read fci + test ! -z "$fci" && fullchroma="+full_chroma_int" + test -z "$interlaced" && scale="scale=$res:flags=$scaler$accuround$fullchroma," || scale="scale=$res:interl=1:flags=$scaler$accuround$fullchroma," + fi +fi + if [ "$VID_FPS_CONVERT" = "y" ]; then # Not supported with interlaced encoding, # deinterlacing with a bobber and IVTC @@ -2389,7 +2440,7 @@ test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\"" encoder_func() { - VIDOPTS="${EXTSUBS[*]} -map 0:0 -disposition:v:0 default $ofps $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters $sws" + VIDOPTS="${EXTSUBS[*]} -map 0:0 -disposition:v:0 default $ofps $MDATA $CHPS $METATITLE $METAGENRE $METAYEAR $METACOMMENT $vfilters" case "$1" in 1p|cq) test "$encmode" = "1p" && passone="-b:v $vbitrate" || passone="-q:v $CQ"
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
.