Cool tech tip

Saw this on feed:

“@climagic youtube-dl -q -o- | 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- | vlc


3 thoughts on “Cool tech tip

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s