doc/demuxers: fix image2 examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f2eb474a5a
commit
5a47f12390
@ -262,20 +262,20 @@ Use @command{ffmpeg} for creating a video from the images in the file
|
|||||||
sequence @file{img-001.jpeg}, @file{img-002.jpeg}, ..., assuming an
|
sequence @file{img-001.jpeg}, @file{img-002.jpeg}, ..., assuming an
|
||||||
input frame rate of 10 frames per second:
|
input frame rate of 10 frames per second:
|
||||||
@example
|
@example
|
||||||
ffmpeg -i 'img-%03d.jpeg' -r 10 out.mkv
|
ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
As above, but start by reading from a file with index 100 in the sequence:
|
As above, but start by reading from a file with index 100 in the sequence:
|
||||||
@example
|
@example
|
||||||
ffmpeg -start_number 100 -i 'img-%03d.jpeg' -r 10 out.mkv
|
ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Read images matching the "*.png" glob pattern , that is all the files
|
Read images matching the "*.png" glob pattern , that is all the files
|
||||||
terminating with the ".png" suffix:
|
terminating with the ".png" suffix:
|
||||||
@example
|
@example
|
||||||
ffmpeg -pattern_type glob -i "*.png" -r 10 out.mkv
|
ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv
|
||||||
@end example
|
@end example
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user