aboutsummaryrefslogtreecommitdiffstats
path: root/doc/demuxers.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-04 18:33:19 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-08-08 23:43:31 +0200
commit0325e01fe795ef4eb2a21688e3e12191e9582e56 (patch)
tree1cc914568f2de1c31ecc7ec392fce18ebe72a75c /doc/demuxers.texi
parentcb5bb521aa01afd43a6d6b5dfcebb14ab73615c6 (diff)
downloadffmpeg-0325e01fe795ef4eb2a21688e3e12191e9582e56.tar.gz
doc/demuxers: itemize image2 examples and put them in a dedicated subsection
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r--doc/demuxers.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index d96fe71056..f97c1eff4f 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -71,18 +71,23 @@ Set the video size of the images to read. If not specified the video
size is guessed from the first image file in the sequence.
@end table
-The following example shows how to use @command{ffmpeg} for creating a
-video from the images in the file sequence @file{img-001.jpeg},
-@file{img-002.jpeg}, ..., assuming an input frame rate of 10 frames per
-second:
+@subsection Examples
+
+@itemize
+@item
+Use @command{ffmpeg} for creating a video from the images in the file
+sequence @file{img-001.jpeg}, @file{img-002.jpeg}, ..., assuming an
+input frame rate of 10 frames per second:
@example
ffmpeg -i 'img-%03d.jpeg' -r 10 out.mkv
@end example
+@item
As above, but start by reading from a file with index 100 in the sequence:
@example
ffmpeg -start_number 100 -i 'img-%03d.jpeg' -r 10 out.mkv
@end example
+@end itemize
Note that the pattern must not necessarily contain "%d" or
"%0@var{N}d", for example to convert a single image file