I suppose ffmpeg is the weapon of choice but I didn't find out how to reach my goal.

up vote 30 down vote accepted

From here:

ffmpeg -i input.webm -pix_fmt rgb24 output.gif
  • I am already testing your solution. Just a moment. – brubaker Aug 4 '14 at 11:46
  • Wow! It works! AND.. 2.6 MB webm -> 48 MB gif ^^ -- any thought to reduce this? – brubaker Aug 4 '14 at 11:47
  • 3
    gifsicle is a fantastic tool to reduce gif size gifsicle -O2 input.gif -o output.gif – kenn Aug 4 '14 at 11:52
  • 2
    @brubaker I think I got you beat: 120K .webm → 2.7G .gif. Yes, that's with a G. – wchargin Nov 1 '15 at 23:19
  • 1
    rgb24 is not supported for gif, ffmpeg would use rgb8 instead automatically. – kxxoling Jan 22 '17 at 8:59

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.