diff --git a/bin/foamCreateVideo b/bin/foamCreateVideo index a204d7cdbc81286e78bd4652c41c9a6bd56c565b..d86f22576374e67fedd555cf4495ee284913625c 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 \