[MEncoder-users] Unable to do a 2nd pass with AVI sources
Corey Hickey
bugfood-ml at fatooh.org
Fri Aug 4 00:36:59 CEST 2006
Rodolfo Quesada Z. wrote:
> Hi,
>
> Since the CVS to SVN upgrade at mplayer's headquarters, neither the
> 1.0pre8 or svn upgrades let me to do a 2nd pass when using a AVI source.
>
> I'm currently using a CVS source tree (MEncoder
> dev-CVS-060324-06:06-4.0.3) that allows me to do that, but every time I
> try to transcode a AVI file to a lower bitrate with any of the mentioned
> recent sources, the second pass just dies saying:
>
> [mpeg4 @ 0x872dcf8]Error: 2pass curve failed to converge
> Could not open codec.
> FATAL: Cannot initialize video driver.
>
> Using the following two commands (For testing):
>
> mencoder source.avi -ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=800:vpass=1 -endpos 10 -oac copy -o test.avi
>
> mencoder source.avi -ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=800:vpass=2 -endpos 10 -oac copy -o test.avi
>
> Those two lines and any other permutation of options just die on the
> second pass. DVD ripping works just fine, only AVI (No matter wich
> codec, FMP4, XVID, DX50, DIVX... All of them crashes mencoder!)
>
> The CVS version I have can work the second pass without problems!!!
>
> Any clue??? Somebody else having these problems?? I believe there is
> nothing else to do other than code
> tweaking...
This is a known problem in ffmpeg but it hasn't been fixed yet. :(
Please revert the attached patch, recompile, and report if that works
for you (I bet it will). Patch with commands like:
$ cd .../mplayer/libavcodec
$ patch -p2 -R < /tmp/ffmpeg_r5422.eml
-Corey
-------------- next part --------------
An embedded message was scrubbed...
From: michael <subversion at mplayerhq.hu>
Subject: [Ffmpeg-cvslog] r5422 - trunk/libavcodec/ratecontrol.c
Date: Mon, 29 May 2006 18:50:37 +0200 (CEST)
Size: 3590
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20060803/21b724cc/attachment.eml>
More information about the MEncoder-users
mailing list