Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 60
View file
ffx264.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jul 11 11:39:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.5.0 + * Support setting the min/max keyframe/IDR intervals + +------------------------------------------------------------------- Wed Jun 14 12:15:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.4.9
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.4.9 +Version: 3.5.0 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.4.9.tar.gz/ChangeLog -> ffx264-3.5.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2017-07-11 - ffx264 3.5.0 + * Support setting the min/max keyframe/IDR intervals + 2017-06-14 - ffx264 3.4.9 * Make software scaler tweaking optional * Added support for the unsharp filter for sharpen/blur
View file
ffx264-3.4.9.tar.gz/ffx264 -> ffx264-3.5.0.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.9 -# Date: 2017-06-14 +# Version: 3.5.0 +# Date: 2017-07-11 # # 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.9" +version="3.5.0" CFG="$HOME/.ffx264" cfgversion="33" @@ -1413,6 +1413,29 @@ fi fi +printf "Set the Min/Max Keyframe/IDR Intervals? [y/N]: " +read kframe +if [ "$kframe" = "y" -o "$kframe" = "Y" ]; then + printf "Specify the Min/Max Intervals [default is 24:240]: " + read keyint + if [ ! -z "$keyint" ]; then + if [ -z "$(echo "$keyint" | grep ':')" ]; then + echo + error "-> Invalid setting! Valide is: <min>:<max>" + error "-> Using defaults" + echo + min_keyint=":min-keyint=24" + max_keyint=":keyint=240" + else + min_keyint=":min-keyint=$(echo "$keyint" | awk -F: '{print $1}')" + max_keyint=":keyint=$(echo "$keyint" | awk -F: '{print $2}')" + fi + else + min_keyint=":min-keyint=24" + max_keyint=":keyint=240" + fi +fi + if [ "$VID_FPS_CONVERT" = "y" ]; then # Not supported with interlaced encoding, # deinterlacing with a bobber and IVTC @@ -2859,7 +2882,7 @@ test ! -z "$vidfilters" && vfilters="-vf $vidfilters" -test ! -z "$vpreset" && X264PARAMS=":force-cfr=1:threads=auto$colorprim$interlaced $vpreset $vtune" || X264PARAMS=":$X264PARAMS$colorprim$interlaced" +test ! -z "$vpreset" && X264PARAMS=":force-cfr=1:threads=auto$colorprim$interlaced$min_keyint$max_keyint $vpreset $vtune" || X264PARAMS=":$X264PARAMS$colorprim$interlaced$min_keyint$max_keyint" test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\""
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
.