[GTALUG] ffmpeg question
Zbigniew Koziol
softquake at gmail.com
Wed Nov 19 16:37:36 UTC 2014
Hello,
For some here the answer will probably be know right away. That is why I
am writing, after long googling.
I would like to create a sort of video presentation from images.
However, I would like that every slide (image) is displayed for a
different time duration. This is just the first step; next i would like
to combine voice with that, but it is probably another problem, for later.
Hence, I have a sequence of images y-%2d.png
The following works for me:
ffmpeg -framerate 1/10 -i y-%2d.png -c:v mpeg4 -vf
"fps=2,format=yuv420p" out.mp4
And the following works, too:
ffmpeg -r 1/2 -start_number 7 -i y-%2d.png -c:v mpeg4 -vf
"fps=2,format=yuv420p" out.mp4
However, how to control the time of displaying individual images? Is
that possible at all?
I thought that something like this may work:
ffmpeg -r 1/5 -i y-01.png -r 1 -i y-02.png -c:v mpeg4 -vf
"fps=2,format=yuv420p" out.mp4
It does not. The first image is displayed, only.
Kind regards from Poland,
zb.
--
Zbigniew Kozioł
http://nanophysics.pl
mobile: 500 685 477
stationary at home: 17 229 8940
More information about the talk
mailing list