Commit d7ef10f1 authored by Gyan Doshi's avatar Gyan Doshi

doc/ffmpeg: update entry for stream disable options

-vn/-an/-sn/-dn can now be used to block input streams from a file.
parent b9523f2f
...@@ -614,8 +614,13 @@ they do not conflict with the standard, as in: ...@@ -614,8 +614,13 @@ they do not conflict with the standard, as in:
ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg
@end example @end example
@item -dn (@emph{output}) @item -dn (@emph{input/output})
Disable data recording. For full manual control see the @code{-map} As an input option, blocks all data streams of a file from being filtered or
being automatically selected or mapped for any output. See @code{-discard}
option to disable streams individually.
As an output option, disables data recording i.e. automatic selection or
mapping of any data stream. For full manual control see the @code{-map}
option. option.
@item -dframes @var{number} (@emph{output}) @item -dframes @var{number} (@emph{output})
...@@ -775,8 +780,13 @@ If used together with @option{-vcodec copy}, it will affect the aspect ratio ...@@ -775,8 +780,13 @@ If used together with @option{-vcodec copy}, it will affect the aspect ratio
stored at container level, but not the aspect ratio stored in encoded stored at container level, but not the aspect ratio stored in encoded
frames, if it exists. frames, if it exists.
@item -vn (@emph{output}) @item -vn (@emph{input/output})
Disable video recording. For full manual control see the @code{-map} As an input option, blocks all video streams of a file from being filtered or
being automatically selected or mapped for any output. See @code{-discard}
option to disable streams individually.
As an output option, disables video recording i.e. automatic selection or
mapping of any video stream. For full manual control see the @code{-map}
option. option.
@item -vcodec @var{codec} (@emph{output}) @item -vcodec @var{codec} (@emph{output})
...@@ -1089,8 +1099,13 @@ Set the number of audio channels. For output streams it is set by ...@@ -1089,8 +1099,13 @@ Set the number of audio channels. For output streams it is set by
default to the number of input audio channels. For input streams default to the number of input audio channels. For input streams
this option only makes sense for audio grabbing devices and raw demuxers this option only makes sense for audio grabbing devices and raw demuxers
and is mapped to the corresponding demuxer options. and is mapped to the corresponding demuxer options.
@item -an (@emph{output}) @item -an (@emph{input/output})
Disable audio recording. For full manual control see the @code{-map} As an input option, blocks all audio streams of a file from being filtered or
being automatically selected or mapped for any output. See @code{-discard}
option to disable streams individually.
As an output option, disables audio recording i.e. automatic selection or
mapping of any audio stream. For full manual control see the @code{-map}
option. option.
@item -acodec @var{codec} (@emph{input/output}) @item -acodec @var{codec} (@emph{input/output})
Set the audio codec. This is an alias for @code{-codec:a}. Set the audio codec. This is an alias for @code{-codec:a}.
...@@ -1125,8 +1140,13 @@ stereo but not 6 channels as 5.1. The default is to always try to guess. Use ...@@ -1125,8 +1140,13 @@ stereo but not 6 channels as 5.1. The default is to always try to guess. Use
@table @option @table @option
@item -scodec @var{codec} (@emph{input/output}) @item -scodec @var{codec} (@emph{input/output})
Set the subtitle codec. This is an alias for @code{-codec:s}. Set the subtitle codec. This is an alias for @code{-codec:s}.
@item -sn (@emph{output}) @item -sn (@emph{input/output})
Disable subtitle recording. For full manual control see the @code{-map} As an input option, blocks all subtitle streams of a file from being filtered or
being automatically selected or mapped for any output. See @code{-discard}
option to disable streams individually.
As an output option, disables subtitle recording i.e. automatic selection or
mapping of any subtitle stream. For full manual control see the @code{-map}
option. option.
@item -sbsf @var{bitstream_filter} @item -sbsf @var{bitstream_filter}
Deprecated, see -bsf Deprecated, see -bsf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment