How to Convert Video to GIF in Linux [Terminal]


Create GIF from Video using ffmpeg in command line

FFmpeg is a video and audio converter that can also grab from a live audio/video source. It can also resize video on the fly without compromising the quality.

FFmpeg is a powerful tool and can be used for various scenarios, if you are curious here is the official documentation

Make sure to install ffmpeg using your distribution’s package manager:

sudo apt install ffmpeg
ffmpeg -i input_video_file output.gif

Press the enter key to execute the command and your gif will be ready shortly.

Comments

Popular Posts