


The output name can be something totally different to the input name, but I tend to use something similar, as it helps to identify it when you have a folder full of files. Below is a general principle, where input is the actual name of the video, following by the video format and the name that you want your gif to be. If it jumps from image-00001 to image-00003 it will stop. Once you have selected the video that you want to convert, open your terminal and change directory where your video is saved. Remember that ffmpeg needs a continuous sequence of images to load in. Make sure to install ffmpeg using your distribution’s package manager: sudo apt install ffmpeg I downloaded the video from YouTube using youtube-dl and then I trimmed the video to get the first 5 seconds. In this example, I will use the Linux Mint 20 new feature presentation video. We also have a good collection of ffmpge usage examples. It can also resize video on the fly without compromising the quality.įFmpeg is a powerful tool and can be used for various scenarios, if you are curious here is the official documentation. FFmpeg is a video and audio converter that can also grab from a live audio/video source.
