[FFmpeg-devel] GIF encoder transparency support

Jonathan Meson jona at visualblasters.com
Wed Mar 29 02:44:39 EEST 2017


Hey Guys,

I've been working with GIF encoding and was trying to encode GIFs with
transparency support but I'm having no luck. I'm getting black instead of
transparency. I'm currently using "palettegen" and "paletteuse" filters to
create nicer quality GIFs.

I have tried using GIF codec flag "gifflags=transdiff" and also
"palettegen=reserve_transparent=1".
I have also explored the code and see some hints that support is there but
not completed?

Reading around the internet seems like the whole GIF transparency with
ffmpeg isn't completed. So with that here my questions if anyone can answer
them.

1. GIF transparency support not completed?
2. If transparency not completed what would it take to complete? What is it
needed? Maybe I can try working on it.
3. Or, can someone who has already worked with GIF codec complete
transparency support? I'm more than willing to donate some money to whoever
can complete support. :)

Thanks!
- Jona


More information about the ffmpeg-devel mailing list