[FFmpeg-cvslog] doc/ffmpeg: update entry for stream disable options

Gyan Doshi git at videolan.org
Fri Jan 4 11:53:04 EET 2019


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Fri Jan  4 15:36:15 2019 +0530| [d7ef10f16d56c92404e74e8e4060ee79b906e00f] | committer: 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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d7ef10f16d56c92404e74e8e4060ee79b906e00f
---

 doc/ffmpeg.texi | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 3717f22d42..3687ab0d5c 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -614,8 +614,13 @@ they do not conflict with the standard, as in:
 ffmpeg -i myfile.avi -target vcd -bf 2 /tmp/vcd.mpg
 @end example
 
- at item -dn (@emph{output})
-Disable data recording. For full manual control see the @code{-map}
+ at item -dn (@emph{input/output})
+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.
 
 @item -dframes @var{number} (@emph{output})
@@ -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
 frames, if it exists.
 
- at item -vn (@emph{output})
-Disable video recording. For full manual control see the @code{-map}
+ at item -vn (@emph{input/output})
+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.
 
 @item -vcodec @var{codec} (@emph{output})
@@ -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
 this option only makes sense for audio grabbing devices and raw demuxers
 and is mapped to the corresponding demuxer options.
- at item -an (@emph{output})
-Disable audio recording. For full manual control see the @code{-map}
+ at item -an (@emph{input/output})
+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.
 @item -acodec @var{codec} (@emph{input/output})
 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
 @table @option
 @item -scodec @var{codec} (@emph{input/output})
 Set the subtitle codec. This is an alias for @code{-codec:s}.
- at item -sn (@emph{output})
-Disable subtitle recording. For full manual control see the @code{-map}
+ at item -sn (@emph{input/output})
+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.
 @item -sbsf @var{bitstream_filter}
 Deprecated, see -bsf



More information about the ffmpeg-cvslog mailing list