[MEncoder-users] [mpeg4 @ 0x86f46cc]Error: 2pass curve failed to converge
Corey Hickey
bugfood-ml at fatooh.org
Mon Oct 23 00:48:25 CEST 2006
Pepe wrote:
> El Sábado, 21 de Octubre de 2006 15:41, Alejandro Vargas escribió:
>> I'm obtaining an error of "2pass curve failed to converge". The only
>> uncommon thing is the bitrate (more than 1300). (The problem is in the
>> second pass with MEncoder 1.0pre8-4.1.1) I'm re-encoding the video for
>> transcoding from xvid to divx and adding subtitles).
>>
>> ¿Is this a bug? Is there some walk-arrounds for this problem?
>
> I had the same problem. After searching in this list, I used this patch:
>
> --- libavcodec/ratecontrol-orig.c 2006-09-30 01:24:16.322544080 +0200
> +++ libavcodec/ratecontrol.c 2006-09-30 01:24:33.220975128 +0200
> @@ -911,7 +911,7 @@
> av_free(qscale);
> av_free(blured_qscale);
>
> - if(fabs(expected_bits/all_available_bits - 1.0) > 0.01 ){
> + if(abs(expected_bits/all_available_bits - 1.0) > 0.01 ){
> av_log(s->avctx, AV_LOG_ERROR, "Error: 2pass curve failed to
> converge\n");
> return -1;
> }
That was probably posted by me, before I figured out and properly fixed
the problem. SVN mplayer should work just fine in that respect. See my
other email in this thread.
-Corey
More information about the MEncoder-users
mailing list