[FFmpeg-devel] [PATCH 0/7] Fix for transparent gif creation
Bjorn Roche
bjorn at giphy.com
Mon Oct 2 20:24:32 EEST 2017
These series of patches fixes transparent gifs.
See issue: https://trac.ffmpeg.org/ticket/4443
The paletteuse function had to be patched to support transparency, and the gif encoder had to be patched so that support for transparent gifs worked with animated gifs, not just single frames.
In addition, the side channel data has to change to support this, so the automated tests must be updated. I don't know how to do this. I give further explination of that here: http://ffmpeg.org/pipermail/ffmpeg-devel/2017-September/216863.html
Bjorn Roche (7):
First pass at fixing paletteuse
Fix for dithering.
Removing some debugging
First pass at making the gif support transparency with the right
disposal methods. Needs more optimization.
Reimplement optimization for transparency
cleanup
Fix for detecting opaque correctly.
libavcodec/avcodec.h | 6 ++
libavcodec/gif.c | 198 ++++++++++++++++++++++++++++++++++++++++++--
libavfilter/vf_paletteuse.c | 184 +++++++++++++++++++++++++---------------
libavformat/gif.c | 16 +++-
4 files changed, 329 insertions(+), 75 deletions(-)
--
2.14.1
More information about the ffmpeg-devel
mailing list