aboutsummaryrefslogtreecommitdiffstats
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-03-23 19:21:52 +0100
committerPaul B Mahol <onemda@gmail.com>2018-03-23 19:26:17 +0100
commit74c6a6d3735f79671b177a0e0c6f2db696c2a6d2 (patch)
tree14427c2226dea34c88f7c60193bd6e379d8b0505 /doc/filters.texi
parenta8c2d375ca68b7f001564ced14d8ac0757f53a29 (diff)
downloadffmpeg-74c6a6d3735f79671b177a0e0c6f2db696c2a6d2.tar.gz
doc/filters: itemize channelmap examples
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi6
1 files changed, 6 insertions, 0 deletions
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