It will be great to record video of screen with ffmpeg like ShareX. Almost everything you done already (area selection, window selection). I want to have option to choose: bitrate, framerate, GIF or MPEG, codec and so on.
Yep, I know about builtin video recorder in MacOs. But it creates too heavy files.