Commit 74c6a6d3 authored by Paul B Mahol's avatar Paul B Mahol

doc/filters: itemize channelmap examples

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent a8c2d375
...@@ -2188,6 +2188,10 @@ The channel layout of the output stream. ...@@ -2188,6 +2188,10 @@ The channel layout of the output stream.
If no mapping is present, the filter will implicitly map input channels to If no mapping is present, the filter will implicitly map input channels to
output channels, preserving indices. output channels, preserving indices.
@subsection Examples
@itemize
@item
For example, assuming a 5.1+downmix input MOV file, For example, assuming a 5.1+downmix input MOV file,
@example @example
ffmpeg -i in.mov -filter 'channelmap=map=DL-FL|DR-FR' out.wav 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 ...@@ -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 will create an output WAV file tagged as stereo from the downmix channels of
the input. the input.
@item
To fix a 5.1 WAV improperly encoded in AAC's native channel order To fix a 5.1 WAV improperly encoded in AAC's native channel order
@example @example
ffmpeg -i in.wav -filter 'channelmap=1|2|0|5|3|4:5.1' out.wav ffmpeg -i in.wav -filter 'channelmap=1|2|0|5|3|4:5.1' out.wav
@end example @end example
@end itemize
@section channelsplit @section channelsplit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment