[MPlayer-users] Syncronization problem

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Dec 21 20:33:22 CET 2004


Hi,
> > > > [...]
> > > > > Instead of 3 pass encoding try 2 pass (it's equivalent to 3 pass, just a little bit slower):
> > > > > 
> > > > > mencoder video.avi -oac mp3lame -lameopts cbr -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600:vpass=1:mbd=2 -o newvideo.avi
> > > > > mencoder video.avi -oac mp3lame -lameopts cbr -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600:vpass=2:mbd=2 -o newvideo.avi
> > > > > (remove vhq because it is equivalent to mbd=1 and you have mbd=2 too)
> > > > 
> > > > Isn't it possible to use -oac copy on the first pass, thus making it a bit faster?
[...]
> > > What you are suggesting is:
> > > 
> > > Pass 1: audio encoding
> > > Pass 2: video encoding
> > > Pass 3: audio+video encoding
> > 
> > No, I suggest
> > 
> > Pass 1: video encoding + audio copy
> > Pass 2: audio+video encoding
> 
> >From where do you take the audio stream to copy
> if you don't do an audio encoding first?

>From the original file of course?
Like:
mencoder video.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600:vpass=1:mbd=2 -o newvideo.avi

mencoder video.avi -oac mp3lame -lameopts cbr -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1600:vpass=2:mbd=2 -o newvideo.avi

Greetings,
Reimar Döffinger




More information about the MPlayer-users mailing list