[FFmpeg-devel] [PATCH]Animated gif transparency

Paul B Mahol onemda at gmail.com
Thu Dec 27 18:33:23 CET 2012

On 12/27/12, Don Moir <donmoir at comcast.net> wrote:
> Attached fixes remaining issue where transparent background is wrong for
> some gifs.
> example problem file:
> http://sms.pangolin.com/temp/transparent_background_wrong.gif
> Without the patch, it will show a gray background instead of a transparent
> background for above file.
> I also need the entire duration on open but its not set, so currently only
> option is to read packets and accumulate duration. I
> tried with gifs upto 225 frames and it worked fine but is overkill and would

Doing it in lavf is overkill too.
> be nice if the duration was set on open which means
> reading thru the file accumulating delays. Doing this also gives you the
> option of generating keyframes outside of first frame only.

More information about the ffmpeg-devel mailing list