Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
7276dbd3
Commit
7276dbd3
authored
Mar 15, 2017
by
Chris Greenshields
Browse files
foamCreateVideo: avoid dropping frames for some color depths
parent
dc328945
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/foamCreateVideo
View file @
7276dbd3
...
...
@@ -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
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment