

-o is an output key that follows the filename you want to save as.just grab the youtube video link to download the video using youtube-dl.Download youtube video using youtube-dl youtube-dl -o input.mkv Now navigate to the youtube-to-gif directory and unzip demo.rar file cd downloads/youtube-to-gif 1. If you want to follow along with me then please download command-line utilities (pre-installed executables files) from my GitHub Repository so that you don’t have to install anything.įirst, open your command prompt and clone GitHub repo on your local machine git clone You can also use pip for installing written in python using the following commands: pip install youtube_dl pip install ffmpeg-python pip install pygifsicle You can download the latest version from their official websites. You require three libraries FFmpeg, Gifsicle, and Youtube-dl for this task. You can also refer to my YouTube video tutorial for better Understanding Prerequisite Annotate video/ adding text using FFmpeg.Download youtube video using youtube-dl.In this article, we’ll walk you through 6 steps to make a GIF from a youtube video. Also, I want to explore on my own to find out how these websites are working under the hood. I know there are few websites like, Ezgif, to turn a YouTube video into a GIF but these online GIF makers put watermark, have an upload limit of max file size 6MB, & don’t make GIFs longer than 10 seconds.
