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
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 - "" | vlc -

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

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

Referred from

Show Comments