[FFmpeg-devel] Assert failing in libavcodec - ratecontrol.c

Víctor Paesa wzrlpy
Sun Jul 15 15:18:29 CEST 2007


Hi,

Neil Brown said:
> On Sunday July 15, michaelni at gmx.at wrote:
>> Hi
>>
>> On Sun, Jul 15, 2007 at 04:27:15PM +1000, Neil Brown wrote:
>> >
>> > Hi,
>> >  I have been exploring kdenlive (which uses the MLT framework with
>> uses the ffmpeg libraries) and I have experienced a problem with
>> assertions failing which kills the video rendering process.
>> >
>> >  When I assemble some clips together in kdenlive and ask it to
>> render the final product as an mpeg2 file, it starts rendering OK,
>> but will often crash at the point where one clip ends and the next
>> starts.
>> >
>> >  The crash is due to an assertion failing in ff_rate_estimate_qscale
>> in ratecontrol.c
>> >
>> >  There are 4 places in this code where it says:
>> >
>> >    assert(q>0.0);
>> >
>> >  The second and third of these can both fail. i.e. those that are
>> commented out here:
>>
>> is this reproduceable with command line ffmpeg? if yes please provide
>> full uncut output and command line parameters
>
> I was hoping someone would know what those asserts really meant and we
> could work backward from there.....
> But I can try working forward.  It would probably be easiest if I
> could feed a number of images (e.g. jpegs) into ffmpeg for it to
> encode into an mpeg.  I couldn't see anything obvious in the man page
> which would allow this.  Is there a way to do that?

Yes: second entry in FAQ. (http://ffmpeg.mplayerhq.hu/faq.html)

Regards,
V?ctor






More information about the ffmpeg-devel mailing list