[MEncoder-users] What's necessary in first pass of 2 passes

Pete Davis pete at petedavis.net
Tue Jul 5 17:16:25 CEST 2005


> 
> Hi,
> 
> On 7/5/05, Pete Davis <pete at petedavis.net> wrote:
> > I have a 2 pass encoding and it's kind of slow and I'm wonder if I can
> > remove anything time consuming from the first pass without affecting the
> > overall quality. I read the docs and I was a bit unclear on what could
> be
> > removed and what couldn't be removed. This is from a bash script, so $1
> is
> > the input AVI.
> >
> > I assume I can do the audio encoding in only one of the passes. Would
> that
> > just be the second?
> 
> I'd do that in just the first pass.
> 
> 
> > What about the deinterlacing filter? I assume that needs
> > to be in there.
> 
> I don't think there's much to save by deactivating it.
> 
> > mencoder $1 -oac mp3lame -lameopts cbr:br=128 -o /dev/null -vf pp=md -
> ovc
> > lavc -lavcopts vcodec=mpeg4:vbitrate=1000:mbd=2:vpass=1:vqmin=2:vqmax=31
> -f
> > fourcc DIVX -edl edit.edl -hr-edl-seek
> >
> > mencoder $1 -oac mp3lame -lameopts cbr:br=128 -o newfile.avi -vf pp=md -
> ovc
> > lavc -lavcopts vcodec=mpeg4:vbitrate=1000:mbd=2:vpass=2:vqmin=2:vqmax=31
> > -ffourcc DIVX -edl edit.edl -hr-edl-seek
> 
> I'd say use "turbo"
> 
> Guillaume

Thanks to both you and Martin for the help.

I forgot about turbo. I came across mention of it in the man page but forgot
to search for a description of what it did.

Thanks. Really, if I can just speed up the first pass a bit, it'll make
things much nicer for me.

Essentially, I'm doing an almost assembly line sort of thing. I have two
terminal windows going at all times:

1: Capturing from my Hauppauge to an mpg

2: Encoding the capture to an AVI.

I've got a TiVo that's basically recording every half decent or better movie
and then I'm capturing that to the Hauppauge. My TiVo has dual receivers so
sometimes it's recording 2 movies simultaneously and I'm having a tough time
keeping up. And the encoding right now is my bottleneck. If I can speed up
the encoding even 20 or 30%, that should get it pretty close to the speed
I'm capturing.

Thanks.

Pete







More information about the MEncoder-users mailing list