Luka Prinčič (tootsi) is a user on toot.si. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Luka Prinčič (tootsi) @luka

i discovered making animated gifs from movies is also easy with ffmpeg.

lovely tutorial is here:
blog.pkh.me/p/21-high-quality-

i just created that gifenc.sh (as described in the tut) in my home bin folder,

made it executable:
$ chmod u+x gifenc.sh

precut my video with

$ ffmpeg -t 5 -i INPUT.avi -c:v copy -map 0:v OUTPUT.avi

and then

$ gifenc.sh OUTPUT.avi OUTPUT.gif