[XviD-devel] [Fwd: [XviD-users] Two pass encoding time savings]

J. Grant jg-lists at jguk.org
Sat Jun 26 00:13:47 CEST 2004


Hello,

I posted this on users previously, perhaps it was too technical.  Can
anyone tell me if the code contains any way to create an approximation
of the first pass stats?  If not, I wonder if such a feature could be
considered for addition please?

Kind regards

JG

-------- Original Message --------
Subject: [XviD-users] Two pass encoding time savings
Date: Tue, 25 May 2004 00:55:10 +0100
From: J. Grant <jg-lists at jguk.org>
Reply-To: xvid-users at xvid.org
To: xvid-users <xvid-users at xvid.org>

Hello,

I've done a two pass encoding using mplayer, the first pass created the
xvid-twopass.stats file  and approx 1.2GB avi file.  This is my command:

mencoder dvd://2 -ovc xvid -xvidencopts
aspect=1.777778:bitrate=1200:pass=1 -oac mp3lame -lameopts vbr=3 -ss 15
-o output1200.avi;mencoder dvd://2 -ovc xvid -xvidencopts
aspect=1.777778:bitrate=1200:pass=2 -oac mp3lame -lameopts vbr=3 -ss 15
-o output1200.avi


The resulting output1200.avi is about 240MB.

My query is if it is possible to create an approximation of the stats
file? (Not creating a perfect stats file, which takes 6 hours in my
case.)  For instance only processing a one quarter size image of each
frame would likely produce near identical overall statistics for the
actual encode in pass2.  Obviously the stats would need to be scaled to
apply the data to the full size stream in pass2, but this approximation
would save a great deal off the pass1 time.

Maybe this feature is already present?  I could not spot it.  I would be
interested to know what people think of my idea for saving time on the
profiling of the stream to generate the graph.

Regards

JG

_______________________________________________
XviD-users mailing list
XviD-users at xvid.org
http://list.xvid.org/mailman/listinfo/xvid-users





More information about the XviD-devel mailing list