Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to stream a particular YouTube video's content with VLC?

The scenario is that you could paste a YouTube URL into a VLC dialog, and then have VLC stream the video as if it were a local media file.

Current version - when trying to open a file or network stream results in

VLC can't recognize the input's format: The format of '' cannot be detected. Have a look at the log for details.

Any existing features in VLC, or workarounds that you know of to accomplish this streaming idea?

share|improve this question
did u try it? alot of sites can stream to vlc just haven't tried youtube – user33788 May 22 '10 at 0:08

Yes. If you grab the actual video stream file (using a youtube downloader site, or firefox add-in), and pasting the URL into VLC, it will stream/play the file.

I do this all the time from an OS that doesn't support Flash (easily), but does support VLC & Firefox.

share|improve this answer
Judging by your avatar is this OS.... FreeBSD? ;) – Earlz May 22 '10 at 1:52

Why are you pasting a YouTube URL into VLC? You use your web browser to display web pages, which in turn loads an instance of Adobe Flash which then retrieves a different URL to the video.

I used a YouTube URL retrieval service to try and get the FLV, and I put it into VLC and it came up with an error.

You can investigate the log files and see if it is possible to investigate further. It may be that YouTube does some User-Agent filtering, and you will need to have VLC masquarade as a web browser/Adobe Flash to retrieve the stream.

share|improve this answer
The question is centered more around whether VLC might perform some of that URL bait and switch automatically on the user's behalf. – p.campbell May 22 '10 at 6:04
I know it is, I'm pointing out that it doesn't. – May 22 '10 at 7:38

You can do it , with version 1.1.0. Just put the URl in Network tab

share|improve this answer
Nope. In 1.1.12: The format of '' cannot be detected. Have a look at the log for details. The log says Compressed SWF format not supported. Maybe codecs are missing? – l0b0 Apr 16 '12 at 19:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .