Cool tech tip

Posted by

Saw this on identi.ca feed:

“@climagic youtube-dl -q -o- http://www.youtube.com/watch?v=zscrs94_pFc | mplayer – cache 1000 – # Watch youtube streaming directly to mplayer”

So, do yum install youtube-dl mplayer on your Fedora machines, then you can pull in youtube videos with the youtube-dl command and then pipe it (the “|”) to the video player, mplayer and watch it immediately. No need for a browser and this is really cool.

Naturally, if all you wanted was to download the youtube video and keep a copy, just use youtube-dl [URL].

You can replace mplayer with vlc as well so the one above would look like this:

youtube-dl -q -o- http://www.youtube.com/watch?v=zscrs94_pFc | vlc

3 comments

Leave a Reply