Skip to content
Snippets Groups Projects
Commit fe147754 authored by Chris Greenshields's avatar Chris Greenshields
Browse files

foamCreateVideo: fix framerate option with avconv

parent a1797e92
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment