From fe1477546e3c345aca219daeecdc7d652e44c2ef Mon Sep 17 00:00:00 2001 From: Chris Greenshields <http://cfd.direct> Date: Tue, 14 Jul 2015 09:28:03 +0100 Subject: [PATCH] foamCreateVideo: fix framerate option with avconv --- bin/foamCreateVideo | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/foamCreateVideo b/bin/foamCreateVideo index c5701012a6c..fa4a01166fd 100755 --- a/bin/foamCreateVideo +++ b/bin/foamCreateVideo @@ -115,9 +115,8 @@ if [ "$FMT" = "webm" ] ; then if command -v avconv >/dev/null 2>&1 ; then echo "Creating image with avconv..." avconv \ - -r 1 \ - -i ${DIR}/${IMAGE}.%04d.png \ -r $FPS \ + -i ${DIR}/${IMAGE}.%04d.png \ -c:v libvpx -crf 15 -b:v 1M \ $VIDEO.$FMT else @@ -127,9 +126,8 @@ else if command -v avconv >/dev/null 2>&1 ; then echo "Creating image with avconv..." avconv \ - -r 1 \ - -i ${DIR}/${IMAGE}.%04d.png \ -r $FPS \ + -i ${DIR}/${IMAGE}.%04d.png \ -c:v libx264 -pix_fmt yuv420p \ $VIDEO.$FMT elif command -v mencoder >/dev/null 2>&1 ; then -- GitLab