[FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

Moritz Barsnick barsnick at gmx.net
Sun May 27 17:29:32 EEST 2018

On Sun, May 27, 2018 at 09:46:46 +0530, Gyan Doshi wrote:

> +The @code{-vn}, @code{-an}, @code{-sn} options can be used to skip automatic stream selection
> +for video, audio, and subtitle streams respectively.

This is incorrect, as it already was before. It doesn't disable
*automatic* stream selection, it rather disables mapping any of these
stream types at all, *even* if explictly mapped. (IOW: "-vn -map 0:v"
never gets you any video stream in the output.)

> + at file{out1.mkv} is a Matroska container file and accepts video, audio and subtitle streams,
> +so ffmpeg will try to select one of each type.
> +For video, it will select @code{stream 0} from @file{B.mp4}, which has the highest
> +resolution among all the input video streams.
> +For audio, it will select @code{stream 3} from @file{B.mp4}, since it has the greatest
> +number of channels.
> +For subtitles, it will select @code{stream 2} from @file{B.mp4}, which is the first subtitle
> +stream from among @file{A.avi} and @file{B.mp4}.

Your inserted line breaks don't make this a list yet, as they will be
swallowed by the formatting. You either need to make paragraphs or a
proper list. (Either way, it's much better than listing them all in one


More information about the ffmpeg-devel mailing list