Multiplexing one video and multiple audio tracks with mplex 

Joined:
01/15/2009
Posts:
78

May 05, 2009 20:54:23    Last update: May 17, 2009 01:33:01
Mplex is a general-purpose audio/video multiplexer for MPEG-1/MPEG-2 (part of mjpeg tools).
# -f 9 is DVD
mplex -V -f 9 -M -S 5000 -o out.mpg video.mpv audio1.ac3 audio2.ac3 audio3.ac3


However, you must use "-f 8" if you want to use dvdauthor to create an actual DVD with the resulting mpg file:
# -f 8 is DVD with appropriate headers for authoring DVD
mplex -V -f 8 -M -S 5000 -o out.mpg video.mpv audio1.ac3 audio2.ac3 audio3.ac3


I got the following error when I used "-f 9":
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...


Mplex works with raw video and audio streams. To get a raw video stream out of a media file, use mencoder:
mencoder PandaKing.mpg -o PandaKing-nosound.mpv -of rawvideo -nosound -ovc copy
Share |
| Comment  | Tags