mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
Amend documentation for the image2 demuxer, to better reflect the current behavior.
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
db2ddd3885
commit
10ed96c78f
@ -24,20 +24,18 @@ Image file demuxer.
|
|||||||
|
|
||||||
This demuxer reads from a list of image files specified by a pattern.
|
This demuxer reads from a list of image files specified by a pattern.
|
||||||
|
|
||||||
The filename of each file to read must contain a sequential number,
|
The pattern may contain the string "%d" or "%0@var{N}d", which
|
||||||
which specifies the position of the file in the sequence.
|
specifies the position of the characters representing a sequential
|
||||||
|
|
||||||
The pattern must contain the string "%d" or "%0@var{N}d", which
|
|
||||||
specifies the position of the characters representing the seqential
|
|
||||||
number in each filename matched by the pattern. If the form
|
number in each filename matched by the pattern. If the form
|
||||||
"%d0@var{N}d" is used, the string representing the number in each
|
"%d0@var{N}d" is used, the string representing the number in each
|
||||||
filename is 0-padded and @var{N} is the total number of 0-padded
|
filename is 0-padded and @var{N} is the total number of 0-padded
|
||||||
digits representing the number. The literal character '%' can be
|
digits representing the number. The literal character '%' can be
|
||||||
specified in the pattern with the string "%%".
|
specified in the pattern with the string "%%".
|
||||||
|
|
||||||
The first filename of the file sequence specified by the pattern must
|
If the pattern contains "%d" or "%0@var{N}d", the first filename of
|
||||||
contain a number inclusively contained between 0 and 4, all the
|
the file list specified by the pattern must contain a number
|
||||||
following numbers must be sequential.
|
inclusively contained between 0 and 4, all the following numbers must
|
||||||
|
be sequential. This limitation may be hopefully fixed.
|
||||||
|
|
||||||
The pattern may contain a suffix which is used to automatically
|
The pattern may contain a suffix which is used to automatically
|
||||||
determine the format of the images contained in the files.
|
determine the format of the images contained in the files.
|
||||||
@ -59,4 +57,11 @@ second:
|
|||||||
ffmpeg -r 10 -f image2 -i 'img-%03d.jpeg' out.avi
|
ffmpeg -r 10 -f image2 -i 'img-%03d.jpeg' out.avi
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
Note that the pattern must not necessarily contain "%d" or
|
||||||
|
"%0@var{N}d", for example to convert a single image file
|
||||||
|
@file{img.jpeg} you can employ the command:
|
||||||
|
@example
|
||||||
|
ffmpeg -f image2 -i img.jpeg img.png
|
||||||
|
@end example
|
||||||
|
|
||||||
@c man end INPUT DEVICES
|
@c man end INPUT DEVICES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user