Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I'd love to be able to encode high quality GIF on the client-side with WASM ffmpeg. Right now the pure-JS GIF encoding solutions are pretty slow and don't produce the same high quality as ffmpeg.
I wonder if you'd consider adding a GIF only build?
Here's a couple articles on what flags are used in high quality ffmpeg GIFs:
I've had success simply adding the gif demuxer/decoder/encoder flags in the Makefile, if you're able to build this yourself. Just add
If you wanted a gif only build, you could go down that road probably with only the Makefile, removing what you don't want, just be careful not to remove any dependencies ffmpeg needs in general (there aren't many, you could probably just start removing stuff until it breaks :P).
Anyway, all those flags will be available if you add