[FFmpeg-devel] [PATCH] doc: document amerge filter as an alternative for the -map_channel limitation.

Tim Nicholson nichot20 at yahoo.com
Tue Jan 10 16:45:18 CET 2012

----- Original Message -----
> From: Clément Bœsch <ubitux at gmail.com>
> To: ffmpeg-devel at ffmpeg.org
> Cc: Clément Bœsch <clement.boesch at smartjog.com>
> Sent: Tuesday, 10 January 2012, 10:52
> Subject: [FFmpeg-devel] [PATCH] doc: document amerge filter as an alternative for the -map_channel limitation.
> From: Clément Bœsch <clement.boesch at smartjog.com>
> ---
> doc/ffmpeg.texi |   19 +++++++++++++++++++
> 1 files changed, 19 insertions(+), 0 deletions(-)
> diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> index 83a45a8..f4df331 100644
> --- a/doc/ffmpeg.texi
> +++ b/doc/ffmpeg.texi
> @@ -833,6 +833,25 @@ possible, for example, to turn two separate mono streams 
> into a single stereo
> stream. However spliting a stereo stream into two single channel mono streams
> is possible.
> +If you need this feature, a possible workaround is to use the @emph{amerge}
> +filter. For example, if you need to merge a media (here @file{input.mkv}) with
> +6 mono audio streams into one single 5.1 channel audio stream:

Would it not be better initially to give an example of the previous example (sic), e.g turning dual mono into stereo?
And preferably from a file also containing video so it is clear how to use it instead of the "map_channel", then it
looks like a workaround for the case in point.

I think that more comprehensive samples (with the complete command line as you do) could then go in the actual amerge
section which is somewhat terse and lacking enough examples to make the syntax clear for all cases.



More information about the ffmpeg-devel mailing list