[FFmpeg-user] mpeg2 file

Mike Scheutzow mjs973 at optonline.net
Sun May 1 13:52:33 CEST 2011


Andre wrote:
> I have 2 files. One is the video, file.m2v, the other is the audio, audio.wav. 
> How do I join these files to make a mpeg2 file. What extension should I 
> use: .mpg, .vob

For future reference, there is documentation at 
http://www.ffmpeg.org/ffmpeg.html

I would try a command like:

ffmpeg -i file.m2v -i audio.wav -vcodec copy -acodec copy out.mpg -map 
0.0 -map 1.0

Mike Scheutzow




More information about the ffmpeg-user mailing list