Click Technology

Linux, Windows, Mac it's all good

How to download a YouTube video

September19

If you want to download a YouTube video, here’s how. First install the youtube-dl binary and the associated codecs…

sudo apt-get install youtube-dl ffmpeg libavcodec-extra-53

Once it installs, get your YouTube URL and simply run the command..

youtube-dl http://www.youtube.com/watch?v=Z3W05t79ZWY

to download the video. There are a load of other options you can use which are all shown thus..

youtube-dl --help

Conveniently, the youtube-dl command also does on-the-fly conversion of downloaded videos to just the .mp3 version for audio playback, thus…

youtube-dl http://www.youtube.com/watch?v=Z3W05t79ZWY -x --audio-format mp3

Where -x means ‘eXtract’. Again, there are a load of options here.

posted under Linux Tips

Email will not be published

Website example

Your Comment:

This is my website for short blog posts and interesting materials that are noteworthy or have some handy-tip value.