diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-12-16 01:40:26 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-12-16 13:57:50 +0400 |
commit | cb0f97b59d67bda2c33586922640e65e128c17fb (patch) | |
tree | dab09f883da09f4136521eb14ee8aa43ad510f9d /doc | |
parent | 718eab527b9af53582c0370e28967e20df991364 (diff) |
ffplay: improve robustness of opt_codec(), and add options acodec,vcodec,scodec
Fail with a meaningfull error message in case of bogus input.
Also the new options are more consistent with the rest of the tool
options, since it does not support generic stream specifiers.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ffplay.texi | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/ffplay.texi b/doc/ffplay.texi index e2bded7dcc..1396b01b42 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -134,8 +134,20 @@ Exit when video is done playing. Exit if any key is pressed. @item -exitonmousedown Exit if any mouse button is pressed. -@item -codec:@var{stream_type} -Force a specific decoder implementation + +@item -codec:@var{media_specifier} @var{codec_name} +Force a specific decoder implementation for the stream identified by +@var{media_specifier}, which can assume the values @code{a} (audio), +@code{v} (video), and @code{s} subtitle. + +@item -acodec @var{codec_name} +Force a specific audio decoder. + +@item -vcodec @var{codec_name} +Force a specific video decoder. + +@item -scodec @var{codec_name} +Force a specific subtitle decoder. @end table @section While playing |