... | ... |
@@ -241,8 +241,13 @@ ffmpeg -i in.avi -f image2 -frames:v 1 img.jpeg |
241 | 241 |
@end example |
242 | 242 |
|
243 | 243 |
@table @option |
244 |
-@item -start_number @var{number} |
|
245 |
-Start the sequence from @var{number}. |
|
244 |
+@item start_number @var{number} |
|
245 |
+Start the sequence from @var{number}. Default value is 1. Must be a |
|
246 |
+positive number. |
|
247 |
+ |
|
248 |
+@item updatefirst 1|0 |
|
249 |
+If set to 1, update the first written image file again and |
|
250 |
+again. Default value is 0. |
|
246 | 251 |
@end table |
247 | 252 |
|
248 | 253 |
The image muxer supports the .Y.U.V image file format. This format is |
... | ... |
@@ -128,8 +128,8 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) |
128 | 128 |
#define OFFSET(x) offsetof(VideoMuxData, x) |
129 | 129 |
#define ENC AV_OPT_FLAG_ENCODING_PARAM |
130 | 130 |
static const AVOption muxoptions[] = { |
131 |
- { "updatefirst", "", OFFSET(updatefirst), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC }, |
|
132 |
- { "start_number", "first number in the sequence", OFFSET(img_number), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, ENC }, |
|
131 |
+ { "updatefirst", "update the first image file", OFFSET(updatefirst), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, ENC }, |
|
132 |
+ { "start_number", "set first number in the sequence", OFFSET(img_number), AV_OPT_TYPE_INT, { .i64 = 1 }, 1, INT_MAX, ENC }, |
|
133 | 133 |
{ NULL }, |
134 | 134 |
}; |
135 | 135 |
|