Revision e6d40195 doc/demuxers.texi

View differences:

doc/demuxers.texi
24 24

  
25 25
This demuxer reads from a list of image files specified by a pattern.
26 26

  
27
The filename of each file to read must contain a sequential number,
28
which specifies the position of the file in the sequence.
29

  
30
The pattern must contain the string "%d" or "%0@var{N}d", which
31
specifies the position of the characters representing the seqential
27
The pattern may contain the string "%d" or "%0@var{N}d", which
28
specifies the position of the characters representing a sequential
32 29
number in each filename matched by the pattern. If the form
33 30
"%d0@var{N}d" is used, the string representing the number in each
34 31
filename is 0-padded and @var{N} is the total number of 0-padded
35 32
digits representing the number. The literal character '%' can be
36 33
specified in the pattern with the string "%%".
37 34

  
38
The first filename of the file sequence specified by the pattern must
39
contain a number inclusively contained between 0 and 4, all the
40
following numbers must be sequential.
35
If the pattern contains "%d" or "%0@var{N}d", the first filename of
36
the file list specified by the pattern must contain a number
37
inclusively contained between 0 and 4, all the following numbers must
38
be sequential. This limitation may be hopefully fixed.
41 39

  
42 40
The pattern may contain a suffix which is used to automatically
43 41
determine the format of the images contained in the files.
......
59 57
ffmpeg -r 10 -f image2 -i 'img-%03d.jpeg' out.avi
60 58
@end example
61 59

  
60
Note that the pattern must not necessarily contain "%d" or
61
"%0@var{N}d", for example to convert a single image file
62
@file{img.jpeg} you can employ the command:
63
@example
64
ffmpeg -f image2 -i img.jpeg img.png
65
@end example
66

  
62 67
@c man end INPUT DEVICES

Also available in: Unified diff