[FFmpeg-devel] [PATCH] af_mix: mix two audio streams
matthieu.bouron at gmail.com
Tue Dec 13 16:57:15 CET 2011
Here is a first attempt to write an audio filter which merge two audio streams.
ffplay -f lavfi "amovie=test1.mp3[a];amovie=test2.mp3[b];[a][b]mix=0.7:0.3[out]"
The volume of each streams can be configured and default to 0.5:0.5 is
not specified. It only support two s16 audio streams with same sample
Feel free to comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8864 bytes
Desc: not available
More information about the ffmpeg-devel