[FFmpeg-devel] How to Mix a wave file with media(video+audio) file???

Michel Bardiaux mbardiaux
Wed Nov 7 12:20:59 CET 2007

Toan_Gmail a ?crit :
> Hi all, 
> I want to mix an audio file (WAV) with a media file by FFMPEG. The media file contains video (mpeg) and audio (mp3). 
> Can i do that ? and if yes then how to do that?
> Thanks so much to any help.

Demux the audio from 'media' to wav. Use sox to audiomix the 2 wav 
(something ffmpeg cant do now). Use ffmpeg to remux the video with the 
final audio.

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles

More information about the ffmpeg-devel mailing list