From 74c6a6d3735f79671b177a0e0c6f2db696c2a6d2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 23 Mar 2018 19:21:52 +0100 Subject: [PATCH] doc/filters: itemize channelmap examples Signed-off-by: Paul B Mahol --- doc/filters.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 421b5f6cd2..e684e490f0 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2188,6 +2188,10 @@ The channel layout of the output stream. If no mapping is present, the filter will implicitly map input channels to output channels, preserving indices. +@subsection Examples + +@itemize +@item For example, assuming a 5.1+downmix input MOV file, @example ffmpeg -i in.mov -filter 'channelmap=map=DL-FL|DR-FR' out.wav @@ -2195,10 +2199,12 @@ ffmpeg -i in.mov -filter 'channelmap=map=DL-FL|DR-FR' out.wav will create an output WAV file tagged as stereo from the downmix channels of the input. +@item To fix a 5.1 WAV improperly encoded in AAC's native channel order @example ffmpeg -i in.wav -filter 'channelmap=1|2|0|5|3|4:5.1' out.wav @end example +@end itemize @section channelsplit