[FFmpeg-devel] [PATCH 1/8] doc/muxers: fix order of options and examples for image2 muxer

Marton Balint cus at passwd.hu
Fri Dec 27 23:14:04 EET 2019


Signed-off-by: Marton Balint <cus at passwd.hu>
---
 doc/muxers.texi | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 5d7ff1ab3b..fb5c9bc4c0 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1169,6 +1169,32 @@ The pattern "img%%-%d.jpg" will specify a sequence of filenames of the
 form @file{img%-1.jpg}, @file{img%-2.jpg}, ..., @file{img%-10.jpg},
 etc.
 
+The image muxer supports the .Y.U.V image file format. This format is
+special in that that each image frame consists of three files, for
+each of the YUV420P components. To read or write this image file format,
+specify the name of the '.Y' file. The muxer will automatically open the
+'.U' and '.V' files as required.
+
+ at subsection Options
+
+ at table @option
+ at item frame_pts
+If set to 1, expand the filename with pts from pkt->pts.
+Default value is 0.
+
+ at item start_number
+Start the sequence from the specified number. Default value is 1.
+
+ at item update
+If set to 1, the filename will always be interpreted as just a
+filename, not a pattern, and the corresponding file will be continuously
+overwritten with new images. Default value is 0.
+
+ at item strftime
+If set to 1, expand the filename with date and time information from
+ at code{strftime()}. Default value is 0.
+ at end table
+
 @subsection Examples
 
 The following example shows how to use @command{ffmpeg} for creating a
@@ -1209,32 +1235,6 @@ You can set the file name with current frame's PTS:
 ffmpeg -f v4l2 -r 1 -i /dev/video0 -copyts -f image2 -frame_pts true %d.jpg"
 @end example
 
- at subsection Options
-
- at table @option
- at item frame_pts
-If set to 1, expand the filename with pts from pkt->pts.
-Default value is 0.
-
- at item start_number
-Start the sequence from the specified number. Default value is 1.
-
- at item update
-If set to 1, the filename will always be interpreted as just a
-filename, not a pattern, and the corresponding file will be continuously
-overwritten with new images. Default value is 0.
-
- at item strftime
-If set to 1, expand the filename with date and time information from
- at code{strftime()}. Default value is 0.
- at end table
-
-The image muxer supports the .Y.U.V image file format. This format is
-special in that that each image frame consists of three files, for
-each of the YUV420P components. To read or write this image file format,
-specify the name of the '.Y' file. The muxer will automatically open the
-'.U' and '.V' files as required.
-
 @section matroska
 
 Matroska container muxer.
-- 
2.16.4



More information about the ffmpeg-devel mailing list