In this tutorial I’ll show you how to download Youtube Video and convert to animated gif base on Ubuntu 12.04 Precise or 12.10 Quantal.
To download Youtube Videos:
There are quite a few ways to download Youtube videos from Ubuntu Linux. Here’re some of them:
1.) If you’re Firefox user, install Video DownloadHelper plugin. It downloads any embedded object including Youtube videos.
2.) Install the tool youtube-dl:
sudo apt-get install youtube-dl
Then download videos via command line way:
youtube-dl YouTube-video-link
3.) Install Minitube which is available in Ubuntu Software Center. From this application you can watch and download youtube videos:
To convert Youtube video to animated gif:
QGifer is a simple GUI tool for extracting part of a video to an animated GIF file. It works on Windows and Linux.
Features:
- GIF extraction from a video file
- Color palette editor
- Variable color palette support
- Dithering
- Text rendering
- Graphics insertion
- Object interpolation
- Cropping
- Filtering
- Looping by appending reversed copy
- GIF optimization through ImageMagick
- Project management
- Translations: English, Swedish, Polish, Russian
See the video:
To install it on Ubuntu 12.10, 12.04:
1.) Install the required dependencies:
sudo apt-get install libopencv-core2.3 libopencv-highgui2.3 libopencv-imgproc2.3
2.) Run following 3 commands one by one to install the app from ppa:
sudo add-apt-repository ppa:samrog131/ppa sudo apt-get update sudo apt-get install qgifer
Enjoy!