[FFmpeg-devel] [PATCH]Animated gif transparency
Don Moir
donmoir at comcast.net
Thu Dec 27 13:45:49 CET 2012
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 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gifdec.diff
Type: application/octet-stream
Size: 550 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121227/1189377e/attachment.obj>
More information about the ffmpeg-devel
mailing list