the really sadistic thing about like, making gifs from videos is that you don't need to rely on weird and maybe shady sites with a lot of limitations! there is a tool that can trim videos, crop videos, and convert them to gifs, and like five dozen other things besides! and it's COMPLETELY FREE AND LEGIT!!!
...the catch is, it's operated entirely through the command line.
yes, this is about ffmpeg.
edit: LINKS
- @OniLink recommended this graphical tool for video editing called HandBrake.
- @obspogon shared some tools to make ffmpeg a slightly less hateful experience
- here's my personal video-to-gif ffmpeg command that probably won't explode your computer, maybe
- oh yeah and this is where you get The Bastard itself
- also suggested: DaVinci Resolve (@bigfakeinhell) and GifCam (@jackapedia)
ffmpeg be like: how would you like to learn a programming language and also the nuances of image encoding and color theory in order to rotate a png ninety degrees
----- `
ffmpeg -i input.mkv -filter_complex "fps=15,scale=400:-1:flags=lanczos,split[s0][s1];[s0] palettegen=stats_mode=diff [p];[s1][p] paletteuse" output.gif
` -----
this is my "turn this video into a gif" ffmpeg command I stole from stack overflow and then frankensteined. ignore the lines before and after, they're there for ease of reading + copying.
change input.mkv to whatever your video is. this outputs a 15 fps gif that's 400px wide by default but you can change that by editing the fps and scale things. the rest, I have no fucking idea. something about sampling method and smushing together the disparate steps of gif creation into one command or something. hopefully it won't explode your computer
you can download ffmpeg here. like, if for some reason you want to. god have mercy on your soul
edit: as for cropping and trimming videos, @OniLink recommended this tool called HandBrake. you can do that in ffmpeg too, but like, why
edit 2: @obspogon shared some tools to make ffmpeg a slightly less hateful experience
(fallen london stamps by