Download and edit YouTube videos
18 aprile 2008, 16:08 Multimedia , Tips & tricks , YouTube April 18, 2008, 16:08
For those who want to download a copy of a YouTube video, perhaps to tweak it to your liking, there is a python script packaged with the name `youtube-dl is available in the default repository of Debian GNU / Linux.
To install it on your workstation is usually sufficient to rule while the magic:
# apt-get install youtube-dl
Once installed the package to download videos from YouTube just issue the command:
# youtube-dl [video_url]
For example:
# youtube-dl http://www.youtube.com/watch?v=PLHjT5-XM9o
What you get is a file format Flash Video (FLV), without the YouTube logo, which will be displayed with MPlayer. If you really want to convert the files to Flash Video (FLV) to xvid (AVI) you can always resort to the mythical `indispensable` ffmpeg:
# ffmpeg -i video.flv -vcodec xvid -acodec mp3 video.avi














