Originally committed as revision 17694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini authored on 2009/03/02 02:13:33... | ... |
@@ -87,6 +87,21 @@ quality broadcast) it is necessary to change that. This option is mainly |
87 | 87 |
used for debugging purposes. |
88 | 88 |
@item -threads @var{count} |
89 | 89 |
Set the thread count. |
90 |
+@item -ast @var{audio_stream_number} |
|
91 |
+Select the desired audio stream number, counting from 0. The number |
|
92 |
+refers to the list of all the input audio streams. If it is greater |
|
93 |
+than the number of audio streams minus one, then the last one is |
|
94 |
+selected, if it is negative the audio playback is disabled. |
|
95 |
+@item -vst @var{video_stream_number} |
|
96 |
+Select the desired video stream number, counting from 0. The number |
|
97 |
+refers to the list of all the input video streams. If it is greater |
|
98 |
+than the number of video streams minus one, then the last one is |
|
99 |
+selected, if it is negative the video playback is disabled. |
|
100 |
+@item -sst @var{subtitle_stream_number} |
|
101 |
+Select the desired subtitle stream number, counting from 0. The number |
|
102 |
+refers to the list of all the input subtitle streams. If it is greater |
|
103 |
+than the number of subtitle streams minus one, then the last one is |
|
104 |
+selected, if it is negative the subtitle rendering is disabled. |
|
90 | 105 |
@end table |
91 | 106 |
|
92 | 107 |
@section While playing |
... | ... |
@@ -2489,9 +2489,9 @@ static const OptionDef options[] = { |
2489 | 2489 |
{ "fs", OPT_BOOL, {(void*)&is_full_screen}, "force full screen" }, |
2490 | 2490 |
{ "an", OPT_BOOL, {(void*)&audio_disable}, "disable audio" }, |
2491 | 2491 |
{ "vn", OPT_BOOL, {(void*)&video_disable}, "disable video" }, |
2492 |
- { "ast", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_audio_stream}, "", "" }, |
|
2493 |
- { "vst", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_video_stream}, "", "" }, |
|
2494 |
- { "sst", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_subtitle_stream}, "", "" }, |
|
2492 |
+ { "ast", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_audio_stream}, "select desired audio stream", "stream_number" }, |
|
2493 |
+ { "vst", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_video_stream}, "select desired video stream", "stream_number" }, |
|
2494 |
+ { "sst", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&wanted_subtitle_stream}, "select desired subtitle stream", "stream_number" }, |
|
2495 | 2495 |
{ "ss", HAS_ARG | OPT_FUNC2, {(void*)&opt_seek}, "seek to a given position in seconds", "pos" }, |
2496 | 2496 |
{ "bytes", OPT_BOOL, {(void*)&seek_by_bytes}, "seek by bytes" }, |
2497 | 2497 |
{ "nodisp", OPT_BOOL, {(void*)&display_disable}, "disable graphical display" }, |