Page 1 of 1

Cannot play some YouTube videos

Posted: 24 Nov 2015 21:21
by cae222
Some videos will simply not open in VLC. For instance, I tried to open this video: https://www.youtube.com/watch?v=iXIDtf1wP0g. When VLC tried to open it, the error box opened with this in it: Your input can't be opened:
VLC is unable to open the MRL 'https://r3---sn-qjo-cpne.googlevideo.co ... equiressl=...

Also, some videos that have worked in the past are no longer working, such as this one: https://www.youtube.com/watch?v=Llp8fD1tPRg. The error I get is pretty much the same kind as the previous one.

I have tried a lot of things to fix this. I have both youtube.lua and youtube.luac, and neither of them fix the problem. I have also tried to change some firewall settings, which has also not worked.

Re: Cannot play some YouTube videos

Posted: 25 Nov 2015 16:54
by Lotesdelere
Looks like it has been recently fixed:
https://git.videolan.org/?p=vlc.git;a=c ... 318200ccdc

Get the new updated youtube.lua here:
https://git.videolan.org/?p=vlc/vlc-2.2 ... ua;hb=HEAD

Re: Cannot play some YouTube videos

Posted: 26 Nov 2015 04:18
by cae222
This seemed to solve the issue.

Re: Cannot play some YouTube videos

Posted: 10 Dec 2015 21:28
by jay.vala
I have tried updating the file but it still doesn't work! I am too confused to what is causing this.

Re: Cannot play some YouTube videos

Posted: 16 Dec 2015 23:12
by kcandme
Looks like it has been recently fixed:
https://git.videolan.org/?p=vlc.git;a=c ... 318200ccdc

Get the new updated youtube.lua here:
https://git.videolan.org/?p=vlc/vlc-2.2 ... ua;hb=HEAD

Hi, and Thank You for any help.

Not being a coder or developer, could the process be explained on how to utilize the information provided at these links...

Thank You
KC

Re: Cannot play some YouTube videos

Posted: 17 Dec 2015 15:11
by Lotesdelere
Save this page as "youtube.lua" (without quotes):
https://git.videolan.org/?p=vlc/vlc-2.2 ... ua;hb=HEAD

Then copy the youtube.lua file to the \VLC\lua\playlist folder.

Re: Cannot play some YouTube videos

Posted: 02 Jan 2016 19:10
by RĂ©mi Denis-Courmont
And delete the youtube.luac file in the same folder...

Re: Cannot play some YouTube videos

Posted: 04 Oct 2017 21:33
by Binderhoffin
Looks like it has been recently fixed:
https://git.videolan.org/?p=vlc.git;a=c ... 318200ccdc

Get the new updated youtube.lua here:
https://git.videolan.org/?p=vlc/vlc-2.2 ... ua;hb=HEAD
This no longer works

Re: Cannot play some YouTube videos

Posted: 25 Aug 2018 16:54
by aidem2018
I have tried a lot of things to fix this. I have both youtube.lua and youtube.luac, and neither of them fix the problem. I have also tried to change some firewall settings, which has also not worked.
the solution above does not work actually (2018-08-25). Are there any other ways to fix that issue?
The link supplied by cae222 should work using the VLC player
hoping anyone has fixed this issue yet!

Re: Cannot play some YouTube videos

Posted: 16 Sep 2018 20:41
by kybrex
I vote for this fix. So much videos cannot be played... Could anybody, who understand already this bug, provide any explanation to me? I am a sw developer and I offer my help to fix this bug if someone helps me to save time for investigation. :)
I found for now, that youtube server returns forbidden (403)

Re: Cannot play some YouTube videos

Posted: 21 Sep 2018 20:14
by DERoss
Windows 7 Ultimate SP1 (x64)
VideoLAN 3.0.4 (x64)

I did as suggested regarding youtube.lua and deleted youtube.luac. I still cannot stream https://www.youtube.com/watch?v=yJAHIE272Wo. I get the error:
Your input can't be opened:
VLC is unable to open the MRL 'https://r5---sn-a5meknlz.googlevideo.co ... BDDFF1DF1C'. Check the log for details.

By the way, where do I find the log to check for details.

Re: Cannot play some YouTube videos

Posted: 21 Sep 2018 20:38
by rubyruby
I have had this problem a lot over the years and it was always corrected by updating my VLC player. Oddly this video mentioned in the above post does this with the latest player 3.0.4 which I am also using. That is odd and I'd say a newer version of VLC will be in the works.

Downloading with the 'codec method' of VLC has also changed. You cannot control the resolution of the download. It will give you 640 and that's all. Doesn't matter how high the original resolution was. I know Youtube is after the 'app' market and is more worried right now about files being to big for mobile devices than for Desktops. Maybe that has something to do with things? Just guessing.