Step 1:
If frameno.avi exists, remove it.
rm frameno.avi
Step 2:
The first pass extracts the audio stream for the video.
mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3Step 3:
The second pass is the first pass of video encoding
mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o video.aviStep 4:
The third pass is the second pass of video encoding and the audio from frameno.avi will be inserted.
mencoder dvd://1 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o video.avi
No comments:
Post a Comment