[MPlayer-users] Syncronization problem
Giacomo Comes
comes at naic.edu
Wed Dec 22 13:57:04 CET 2004
On Tue, Dec 21, 2004 at 08:33:22PM +0100, Reimar Döffinger wrote:
> 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
I see. I will give a try.
Giacomo
More information about the MPlayer-users
mailing list