[MEncoder-users] mencoder and dvdauthor
Peter Hartshorn
peter at dimtech.com.au
Sun Dec 12 22:24:55 CET 2004
This is what I do:
two pass encoding, mpeg2 video, ac3 audio, mpeg container
mencoder -ovc frameno -oac lavc -lavcopts acodec=ac3:abitrate=448 rip.avi -o
frameno.avi
mencoder -oac copy -ovc lavc -lavcopts vpass=1:vcodec=mpeg2video... -of mpeg
rip.avi -o pass1.mpg
mencoder -oac copy -ovc lavc -lavcopts vpass=2:vcodec=mpeg2video... -of mpeg
rip.avi -o pass2.mpg
dump the video from the second pass file with -dumpvideo
mplayer pass2.mpg -dumpvideo -dumpfile final.m2v
dump the ac3 audio from frameno.avi with -dumpaudio
mplayer frameno.avi -dumpaudio -dumpfile final.ac3
use mplex to join the two streams together with "-f 8"
mplex -f 8 -o final.vob final.ac3 final.m2v
Hope that helps
More information about the MEncoder-users
mailing list