[FFmpeg-devel] [PATCH] amerge audio filter [WIP]

Clément Bœsch ubitux at gmail.com
Sun Nov 6 21:46:19 CET 2011


On Sun, Nov 06, 2011 at 09:32:55PM +0100, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/Makefile     |    1 +
>  libavfilter/af_amerge.c  |  177 ++++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c |    1 +
>  3 files changed, 179 insertions(+), 0 deletions(-)
>  create mode 100644 libavfilter/af_amerge.c
> 
> 
> This is early work in progress, just in case someone would happen to work on
> the same thing at the same time, and because I will not be able to come back
> on it for a few days.
> 
> The following command works for me:
> 
> ./ffmpeg_g -f lavfi -i 'amovie=1.wav [b] ; amovie=2.mp3 [a] ;
>   [a] [b] amerge, pan=5.1:1:0:0:0:0:0:0:1:0:0:0:0:0:0:0:0:1:0:0:0:0:0:0:1' \
>   -f alsa surround51
> 
> (On the other hand, amovie segfaults on Ogg Vorbis files.)
> 

Oh great, this will put an end to the -map_channel limitation of one input
stream as source. I guess you could replace the paragraph mentionning that
limitation to a redirection to this filter.

BTW, would it be possible to select N sources instead of two?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111106/66c12797/attachment.asc>


More information about the ffmpeg-devel mailing list