Save a video as GIF, scaling the height to 1000px and setting framerate to 15

ffmpeg

ffmpeg -i {{video.mp4}} -vf 'scale=-1:{{1000}}' -r {{15}} {{output.gif}}

click the source code to copy install ffmpeg on any operating system with command-not-found.com