Page 1 of 1
Video (MP4) to GIF
Posted: Wed Nov 23, 2022 1:42 pm
by authorleon
Hello,
Unless I've missed something, Is it possible to export to Animated GIF.
Also, having the about to have the keyframe would be great as well.
For example. I could set it to 12FPS or even 3 FPS.
Thank you
Re: Video (MP4) to GIF
Posted: Wed Nov 23, 2022 2:36 pm
by emcodem
Aye authorleon, good to hear from you!
Sure, no problem at all. Check out this example workflow that i created for you:
Re: Video (MP4) to GIF
Posted: Wed Nov 23, 2022 3:17 pm
by authorleon
thank you very much. I'm going to test it out. No doubt your skills are impeccable as always.
It's great to be back. It has been a long time and I missed doing automation. I hope to contribute to the community bit more.
I hope you are doing well!!
emcodem wrote: ↑Wed Nov 23, 2022 2:36 pm
Aye authorleon, good to hear from you!
Sure, no problem at all. Check out this example workflow that i created for you:
emcodem_create_gif.json
Re: Video (MP4) to GIF
Posted: Wed Nov 23, 2022 3:29 pm
by authorleon
I can confirm this works perfectly. I do have a follow-up question. Is there a way to change quality/compression. The reason I ask is that when the GIF is exported. It is quite weighty.
emcodem wrote: ↑Wed Nov 23, 2022 2:36 pm
Aye authorleon, good to hear from you!
Sure, no problem at all. Check out this example workflow that i created for you:
emcodem_create_gif.json
Re: Video (MP4) to GIF
Posted: Wed Nov 23, 2022 3:43 pm
by emcodem
Quite fine i do, thanks! Hope you too

Honestly, not sure if gif can be compressed in that sense. Short research tells me that lots of people wondered about it.
I found this post the best:
https://superuser.com/questions/1049606 ... ing-ffmpeg
- here scale and max_colors drastically impacts the output gif's filesize.
Also, he used max_colors 32 and paletteuse=dither=bayer
you could try to alter the ffmpeg command in my example and change the existing word "paletteuse" to "paletteuse=dither=bayer" but that will only do good in combination with the low colors setting, if you need higher, you probably go better with other ditherers:
https://ffmpeg.org/ffmpeg-filters.html#paletteuse