[FFmpeg-devel] Animated GIF support

Paul B Mahol onemda at gmail.com
Thu Dec 20 19:02:11 CET 2012


On 12/20/12, Paul B Mahol <onemda at gmail.com> wrote:
> On 12/19/12, Don Moir <donmoir at comcast.net> wrote:
>> I don't use ffmpeg for gif's but did a comparison of latest gif patches
>> and
>> found some problems with ffmpeg animtated gif support.
>>
>> Several had no transparency which should have been transparent and hears
>> a
>> couple samples of that:
>>
>> http://sms.pangolin.com/temp/chompy.gif  - shows gray background
>
> With what program? What background should really be?
>>
>> http://sms.pangolin.com/temp/cool.gif  - shows black background
>>
>
> ditto
>
>> This one gets transparency right but seems to have the wrong delay. The
>> delay value I get is 15 which is 150ms. With ffmpeg its way
>> to fast.
>>
>> http://sms.pangolin.com/temp/crazy.gif  - 2 frames and animates too fast
>
> How are you sure that is gif demuxer/decoder fault?
> Its delay is set correctly, it is player bug to ignore last frame duration.
>
>>
>> This one caused me to crash in avcodec_decode_video2:
>>
>> http://sms.pangolin.com/temp/heart.gif
>
> Reproduced. Will explore it. Thanks.

Fixed this and another similar issue.


More information about the ffmpeg-devel mailing list