[FFmpeg-devel] [PATCH] fix interlaced gif

Baptiste Coudurier baptiste.coudurier
Mon Mar 3 14:57:41 CET 2008

Reimar D?ffinger wrote:
> On Mon, Mar 03, 2008 at 02:34:16PM +0100, Baptiste Coudurier wrote:
>> Im not sure to correctly understand what you mean: gif was a demuxer,
>> and was made a decoder to use image2 mechanism.
> Hm. I missed that, the patch was only for the "demuxer", and that
> demuxer does decoding currently.

Right, demuxer was kept for animated gifs, since decoder cannot handle
them yet. It should be removed though.

I guess your patch applies to decoder as well, feel free to commit.

>> If you mean splitting animated gifs in seperate gif pictures, then a
>> parser should be implemented I think, though it's not that easy to split
>> independant gif picture since pictures share some data.
> Really? I think only the previously decoded image is needed, just as
> most decoders need.

Hummm, not sure, with image2 mechanism only one packet containing the
whole gif will be given to the decoder which will output more than one
frame. I remember Michael wanting a parser for this case last time I asked.

> But good to see that there is a proper decoder, maybe I can use it to at
> least throw out the libgif dependency of MPlayer...


Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list