Skip to content

Tools for generating GIF animation from YouTube with youtube-dl and ffmpeg

License

Notifications You must be signed in to change notification settings

fushime2/youtube-to-gif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

y2g

This is a shellscript for generaring a GIF image from YouTube videos with youtube-dl and ffmpeg.

Requirements

To install in Ubuntu 18.04:

sudo -H pip3 install --upgrade youtube-dl
sudo apt-get install ffmpeg

Usage

bash make_gif.sh <youtube_url> <fps> <start_time(second)> <duration(second)> <output_name>

For example:

bash make_gif.sh https://www.youtube.com/watch?v=EKKVN-fmAx0 16 7 7 out.gif

Then, out.gif will be generated.

out.gif

About

Tools for generating GIF animation from YouTube with youtube-dl and ffmpeg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages