From 7276dbd38d0ca1373f14c692d940e1e20f2d202f Mon Sep 17 00:00:00 2001 From: Chris Greenshields Date: Wed, 15 Mar 2017 19:10:10 +0000 Subject: [PATCH] foamCreateVideo: avoid dropping frames for some color depths --- bin/foamCreateVideo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/foamCreateVideo b/bin/foamCreateVideo index a204d7cdbc..d86f225763 100755 --- a/bin/foamCreateVideo +++ b/bin/foamCreateVideo @@ -122,7 +122,7 @@ if [ "$FMT" = "webm" ] ; then if command -v avconv >/dev/null 2>&1 ; then echo "Creating image with avconv..." avconv \ - -r $FPS \ + -framerate $FPS \ $START_NUMBER \ -i ${DIR}/${IMAGE}.%04d.png \ -c:v libvpx -crf 15 -b:v 1M \ @@ -134,7 +134,7 @@ else if command -v avconv >/dev/null 2>&1 ; then echo "Creating image with avconv..." avconv \ - -r $FPS \ + -framerate $FPS \ $START_NUMBER \ -i ${DIR}/${IMAGE}.%04d.png \ -c:v libx264 -pix_fmt yuv420p \