YouTube video downloader

March 22, 2013

Whenever I had to download a video from Youtube I’d use the online service I know there exists tons of Youtube Downloaders out there and I even downloaded and test ‘youtube-dl’. In the beginning I didn’t really like it since I found that the download size would be huge. Well … I simply had been lazy to check out all the download options. It’s not until a colleague at work pinged me with the nice features/options of youtube-dl that I started using the tool again.

I know youtube-dl is already on the Ubuntu/Mint repos. So, you could simply install it as :

apt-get install youtube-dl

If you have enabled Packman repos, then it should be available via zypper on openSUSE. Otherwise you could download and install the latest version from the official website.

wget -O /usr/local/bin/youtube-dl
chmod a+x /usr/local/bin/youtube-dl

To view the list of available formats to download from :

youtube-dl -F

The output should be something like :

[email protected]:~> youtube-dl -F
[youtube] Setting language
[youtube] mCoOgRPLtgs: Downloading video webpage
[youtube] mCoOgRPLtgs: Downloading video info webpage
[youtube] mCoOgRPLtgs: Extracting video information
Available formats:
34      :       flv     [360x640]
18      :       mp4     [360x640]
43      :       webm    [360x640]
5       :       flv     [240x400]
17      :       mp4     [144x176]

Choose the corresponding number for the format and resolution you want to download.

youtube-dl -f 18 -t

-f specifies the format number
-t keeps the video title

Linux, video encoding

February 20, 2014
youtube lugm linux-user-group-mauritius

Creative madness!

January 19, 2014
youtube lugm