Why can't i see youtube videos on VLC?

*nix specific usage questions
rodrigograca31
New Cone
New Cone
Posts: 4
Joined: 04 Aug 2011 02:19

Why can't i see youtube videos on VLC?

Postby rodrigograca31 » 04 Aug 2011 02:27

Gives me this error

The format of 'http://www.youtube.com/v/Y-m2O_kj6BE' cannot be detected. Have a look at the log for details.

and i put this URL

http://www.youtube.com/watch?v=Y-m2O_kj6BE

not this

http://www.youtube.com/v/Y-m2O_kj6BE

can anyone help me?

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Rémi Denis-Courmont » 04 Aug 2011 09:40

YouTube site layout has changed and VLC cannot recognize it anymore.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rodrigograca31
New Cone
New Cone
Posts: 4
Joined: 04 Aug 2011 02:19

Re: Why can't i see youtube videos on VLC?

Postby rodrigograca31 » 04 Aug 2011 14:18

Not even on future realease of VLC?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Jean-Baptiste Kempf » 04 Aug 2011 23:25

1.1.12 maybe
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rodrigograca31
New Cone
New Cone
Posts: 4
Joined: 04 Aug 2011 02:19

Re: Why can't i see youtube videos on VLC?

Postby rodrigograca31 » 05 Aug 2011 03:13

Waiting... :D

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Jean-Baptiste Kempf » 05 Aug 2011 15:24

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

rodrigograca31
New Cone
New Cone
Posts: 4
Joined: 04 Aug 2011 02:19

Re: Why can't i see youtube videos on VLC?

Postby rodrigograca31 » 05 Aug 2011 16:23

@Jean-Baptiste Kempf can you explain better?

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 05 Aug 2011 18:19

Hey, I installed that but I still can't watch Youtube. I use Ubuntu Natty.

c_cinq
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2005 06:31
VLC version: 1.1.3
Operating System: win7/debian
Location: miami, Florida
Contact:

Re: Why can't i see youtube videos on VLC?

Postby c_cinq » 06 Aug 2011 21:06

Casketizer (viewtopic.php?f=14&t=92502&start=20#p307353) edited youtube.lua ; which is from http://git.videolan.org/gitweb.cgi?p=vl ... 9cdf8b5625

Casketizer's edit is working for me right now.

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 09 Aug 2011 23:41

@c_cinq, but this is the Linux subforum, you are presenting me a Windows solution that doesn't work in Linux. Thanks anyway.

When is this gonna be fixed? I don't like to use flash to watch long YouTube videos and playlists. Thanks in advance!

c_cinq
New Cone
New Cone
Posts: 8
Joined: 25 Jul 2005 06:31
VLC version: 1.1.3
Operating System: win7/debian
Location: miami, Florida
Contact:

Re: Why can't i see youtube videos on VLC?

Postby c_cinq » 11 Aug 2011 06:00

@very_concerned it's lua-based solution.

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 11 Aug 2011 18:55

@c_cinq: the luac in Linux (/usr/lib/vlc/lua/playlist/youtube.luac) is not editable as in Windows: if you try to open it there's only strange characters, nothing we can do there. And replacing your new youtube.lua for the youtube.luac I have doesn't work either.

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Rémi Denis-Courmont » 11 Aug 2011 20:59

Uh? luac bytecode is the same on Linux and Windows.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 12 Aug 2011 04:18

I have VLC 1.2.0 from the Nightly build (Ubuntu) and my luac can't be edited or read (it shows just random characters). The link that c_cinq gave me viewtopic.php?f=14&t=92502&start=20#p307353 is from the Windows forum where the lua file is readable and editable.

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Rémi Denis-Courmont » 12 Aug 2011 08:51

LUA files are identical on all platforms, and LUAC files are identical on Windows and Linux, and in fact on all little-endian systems.

VLC ships LUAC (bytecode) by default for better performance, but you have use LUA (source) if you prefer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 12 Aug 2011 18:23

@Rémi Denis-Courmont I didn't know that. I had taken the modified (by Casketizer) youtube.lua and renamed it as youtube.luac, since that's its name in Linux. That was my error, renaming it, but now knowing what you told me I kept it as a "lua" file and it's working now.

BUT, I have another problem now: I have a slow internet connection, so I always watch my videos in 360p. So, when I open with VLC a YouTube video or create a playlist (.m3u file) with YouTube videos in it, I always add "&fmt=34" to the URL to force VLC to show me the videos in 360p resolution. And now if, for example, I try to open http://www.youtube.com/watch?v=ZsJx_RWXx3I and add &fmt=34 at the end, like this: http://www.youtube.com/watch?v=ZsJx_RWXx3I&fmt=34 this error appears: "VLC is unable to open the MRL «http://youtube.com/get_video?video_id=Z ... vg=&fmt=34".

But if I try to open another video in 360p: http://www.youtube.com/watch?v=-y68iWtU49w&fmt=34 it plays Ok.

Well, thanks to you and everyone for all your help.

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 15 Aug 2011 17:47

VLC doesn't open this URL (it's a movie uploaded by an official distributor): http://www.youtube.com/watch?v=1PAhbcy8mP4

It doesn't even show an error message.

Lotesdelere
Cone Master
Cone Master
Posts: 9885
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Why can't i see youtube videos on VLC?

Postby Lotesdelere » 16 Aug 2011 08:39

VLC doesn't open this URL (it's a movie uploaded by an official distributor): http://www.youtube.com/watch?v=1PAhbcy8mP4
It doesn't even show an error message.
Because this video has restrictions about nudity and violence and requires age verification, what VLC can't do.

very_concerned
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Aug 2011 18:12

Re: Why can't i see youtube videos on VLC?

Postby very_concerned » 16 Aug 2011 18:48

It would be good if VLC sent a message like: "This video requires age verification" or similar.

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Why can't i see youtube videos on VLC?

Postby Rémi Denis-Courmont » 16 Aug 2011 19:13

In theory, yes. But in practice, registering with, or logging on YouTube is going to be a problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests