iEntry 10th Anniversary LinuxHaxor WH MH

Download Youtube Video From Command Line


Youtube-dl is a python based platform independent command line tool to download any videos from youtube. In ubuntu, it’s already in the repo just download it using apt-get; others can download it from the authors website http://www.arrakis.es/~rggi3/youtube-dl/. The instructions is pretty straight forward. In the terminal type, youtube-dl “youtube_video_address” this will save the video in flv format with can be viewed with most popular video player like VLC or Mplayer for linux. If you want to save video file to something else you could use the -o option like this: youtube-dl -o video.flv “youtube_video_address”.

2008-04-02-062446_1280x800_scrot.png

Here I am playing the video I just downloaded using youtube-dl with VLC.

2008-04-02-064007_1280x800_scrot.png

If you are curious, the video I downloaded in this example, was Linkin Park - Bleed It Out which you can watch from here: http://www.youtube.com/watch?v=M2MhH6mBg58 and download with youtube-dl if you want.


Trackbacks

  1. Descargar videos desde la lĂ­nea de comandos « Keep Walking

Subscribe without commenting


Leave a Reply

Note: Any comments are permitted only because the site owner is letting you post, and any comments will be removed for any reason at the absolute discretion of the site owner.