Stream any video into VLC

You can stream any online like youtube, vimeo, facebook, dailymotion, etc., video into your VLC / mplayer using youtube-dl. Here I will explain how to do that.

Streaming in VLC using youtube-dl

First Install latest greatest youtube-dl

sudo pip install --upgrade youtube-dl
OR
sudo apt-get install youtube-dl

As per todoy the version is 2015.09.09. To get version youtube-dl --version

Here is the command to stream to vlc

youtube-dl -o - "http://your.media/url" | vlc -

You can also set up a function in your ~/.bash_aliases file like

function streamer() {
  youtube-dl -o - "$1" | vlc -
}

Referred from https://github.com/rg3/youtube-dl/issues/2124#issuecomment-32429104

Show Comments