Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 'http://www.youtube.com/v/foo' 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
add comment

4 Answers

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
1  
Judging by your avatar is this OS.... FreeBSD? ;) –  Earlz May 22 '10 at 1:52
add comment

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
1  
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
1  
I know it is, I'm pointing out that it doesn't. –  ta.speot.is May 22 '10 at 7:38
add comment

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 'http://www.youtube.com/v/k_oTQd93eRI' 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.