[FFmpeg-user] merging webm and wav files to create mp4

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Aug 18 18:46:44 CEST 2015

Edgar Cheney <edgarcheney <at> outlook.com> writes:

> We are working on a web app (node.js) and can't 
> seem to find a good way to merge a .webm video 
> file and a .wav audio file to create an MP4

Did you try the following?
$ ffmpeg -i in.webm -i in.wav -acodec aac -strict -2 
-vcodec mpeg4 -qscale 2 -map 0 -map 1 out.mp4

Carl Eugen

More information about the ffmpeg-user mailing list