On 16/09/2011 17:18, Michael Niedermayer wrote:
> On Thu, Sep 15, 2011 at 10:21:33PM -0700, Luca Barbato wrote:
>> On 9/9/11 3:27 AM, Tom wrote:
>>> Hi,
>>>
>>>  I'm trying to convert a series of jpegs to a movie, and I get an
>>> error  (log below).
>>>  I've done this earlier, without issues, for other jpegs, but for this
>>> particular set, i get the error. I don't know how.
>>>
>>>  I'm using the latest version of ffmpeg (I built it last week from git
>>> sources), on ubuntu 8.04.
>>>  I do not believe the errors about passlogfile and pixel format are
>>> the relevant ones, because I've used an earlier version of ffmpeg
>>> (which did understand everything) and it resulted in the same "failed
>>> to converge" error..
>>
>> You should use avconv.
>>
> [...]
>> current version of avconv works as supposed I tried the current
>> provided by gentoo and the one provided by the libav git and both
>> they work w/out the patch proposed.
> 
> fresh checkout of avconv from libav.org
> 
> avconv -i ~/rc-convergernce-jpegs/7-%4d.jpg -b 4000k  -vcodec mpeg2video 
> -pass 1  X2.avi
> ...
> avconv -i ~/rc-convergernce-jpegs/7-%4d.jpg -b 4000k  -vcodec mpeg2video 
> -pass 2  X2.avi
> avconv version v0.7-911-gb59efc9, Copyright (c) 2000-2011 the Libav developers
>   built on Sep 16 2011 16:07:32 with gcc 4.5.2
> ...
> [mpeg2video @ 0x2d78260] [lavc rc] Error: 2pass curve failed to converge

You are right, looks like I completely miss the point.

Now that I eventually properly tested again the issue I see that in
order to make the ratecontrol converge there is a less intensive to do
it, even if calling twice get_diff_limited_q might give us a slightly
better estimate.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero

_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to