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

foamCreateVideo: avoid dropping frames for some color depths

parent dc328945
Branches
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment