Okay, seriously. I spent 3 hours trying to make a gif that didn't lose quality with a respectable filesize. I tried five different programs. First attempt that worked resulted in a 48Mb gif. The source video is 4.5Mb. And even then I can't reduce the file size below 10Mb without losing the quality. So I said fvck it and decided to make a Webm.
It took me 5 minutes, the time I find this line:
ffmpeg -i input.mp4 -c:v libvpx -b:v 1M -an output.webm
Result: not even 1Mb, almost same quality as source.
Now the problem is that I can't post it here because KYM still doesn't accept Webms, which means I'm still stuck. So how the hell do you guys make gifs that look amazing without losing quality and keep it under 3Mb. Seriously, I want to know.
For reference, here's the Webm: http://i.4cdn.org/sp/1405097908564.webm