[FFmpeg-devel] [PATCH] doc/muxers: itemize image2 examples and put them in a dedicated subsection

Stefano Sabatini stefasab at gmail.com
Sat Aug 4 18:40:07 CEST 2012


---
 doc/demuxers.texi |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 7e6d078..b1667c4 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -83,25 +83,31 @@ Set the video size of the images to read. If not specified the pixel
 format 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},
- at file{img-002.jpeg}, ..., assuming an input frame rate of 10 frames per
-second:
+ at subsection Examples
+
+ at itemize
+ at 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
 
+ at 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
 
-The following example shows how to read images matching the "*.png"
-glob pattern (which must be escaped as illustrated above), that is all
-the files terminating with the ".png" suffix:
+ at item
+Read images matching the "*.png" glob pattern (which must be escaped
+as illustrated above), that is all the files terminating with the
+".png" suffix:
 @example
 ffmpeg -i "%*.png" -r 10 out.mkv
 @end example
+ at end itemize
 
 Note that the pattern must not necessarily contain "%d" or
 "%0 at var{N}d", for example to convert a single image file
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list