FFMPEG Main Website
Get you latest copy of ffmpeg from the website above.
Trick #1: Merging 2 streams from 2 different files
File 1: monage.mpg
0.0 : Video mpeg2video (1280x768)
0.1 : Mpeg2 Audio (192KBits/44.1KHz)
File 2: hd_audio.wav
0.0 :PCM Audio (384Kbits/44.1KHz)
I want to multiplex Video from file1 with audio from file2
ffmpeg -i monage.mpg -i hd_audio.wav -ab 384 -ac 6 -vcodec mpeg2video -acodec ac3 -map 0:0 -map 1:0 laikos.mpg