diff mbox series

[FFmpeg-devel,2/5] doc/ffmpeg: document -channel_layout/ch_layout options

Message ID 20240518161116.8661-2-cus@passwd.hu
State New
Headers show
Series [FFmpeg-devel,1/5] fftools/ffmpeg_demux: also set -ch_layout avcodec option for -ch_layout CLI param | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marton Balint May 18, 2024, 4:11 p.m. UTC
Signed-off-by: Marton Balint <cus@passwd.hu>
 doc/ffmpeg.texi | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series


diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 83db6584fd..9b490f523f 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1720,6 +1720,16 @@  This is an alias for @code{-filter:a}, see the @ref{filter_option,,-filter optio
 @table @option
 @item -atag @var{fourcc/tag} (@emph{output})
 Force audio tag/fourcc. This is an alias for @code{-tag:a}.
+@item -ch_layout[:@var{stream_specifier}] @var{layout} (@emph{input/output,per-stream})
+@item -channel_layout[:@var{stream_specifier}] @var{layout} (@emph{input/output,per-stream})
+Set the audio channel layout. For output streams it is set by default to the
+input channel layout. For input streams it overrides the channel layout if the
+decoder allows it. When used without a stream specifier it also sets the input
+channel layout for audio grabbing devices and raw demuxers and is mapped to the
+corresponding demuxer options.
+Note that specifying a channel layout also sets the channel count and this
+option has precedence over the @code{-ac} option.
 @item -guess_layout_max @var{channels} (@emph{input,per-stream})
 If some input channel layout is not known, try to guess only if it
 corresponds to at most the specified number of channels. For example, 2