Thursday, November 29, 2007

Mix 6 channels audio with MPEG2 video

Recently I had such task - mix 6 channels audio track with MPEG2 video. Sure, it is possible do with expensive video editing systems on Windows and MAC, but as a simple and free alternative It is possible do with Linux ;-)

The problem was that synchronization offset between audio and video equal 8 sec. The audio stream started before video. So I need fix it. It's possible do via console ;-) with such command:
# mplex -V -f 8 --sync-offset -8800ms -o mixedvideo.mpg videoshot.m2v audioshot.ac3


By '-l 600' key is possible test how it works (tuning and debugging)

See ya,

No comments: