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

Nicolas George nicolas.george at normalesup.org
Mon Jan 23 15:13:29 CET 2012


L'octidi 28 nivôse, an CCXX, Tim Nicholson a écrit :
> OK so after further testing I propose this amendment to Clément's patch:-
> 
> was:-
> + at example
> +ffmpeg -i input.mkv -f lavfi -i "
> +amovie=input.mkv:si=1 [a1];
> +amovie=input.mkv:si=2 [a2];
> +[a1][a2] amerge" -c:a pcm_s16le -c:v copy output.mkv
> + at end example
> +
> 
> becomes:-
> + at example
> +ffmpeg -i input.mkv -f lavfi -i "
> +amovie=input.mkv:si=1 [a1];
> +amovie=input.mkv:si=2 [a2];
> +[a1][a2] amerge, aformat=s16:stereo:all" -c:a pcm_s16le -c:v copy output.mkv
> + at end example
> +
> 
> Thus forcing the stereo format in cases where the source bit depth may not be 16.

I have a mixed feeling about that: the aformat/s16 problem is not related to
amerge, if we start adding it there, we should add it pretty anywhere, and
it will make all examples muddy.

A dedicated section on troubleshooting would, IMHO, more appropriate.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list