Page 1 of 1

Errors trying to stream videos from youtube

Posted: 15 Jul 2014 22:00
by 99lool
Hello I am getting errors when I try to stream videos from youtube can someone help me please? This is the sort of error that I get:

Code: Select all

Your input can't be opened: VLC is unable to open the MRL 'http://r5---sn-ab5l6n76.googlevideo.com/videoplayback?mws=yes&ms=au&gcr=us&upn=rnVYtvH7j0U&ipbits=0&expire=1405476000&sparams=gcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&mv=m&ip=24.136.237.2&key=yt5&source=youtube&fexp=902408%2C902534%2C921912%2C924213%2C924217%2C924222%2C930008%2C934024%2C934030%2C935662%2C948902&initcwndbps=1252000&id=o-AG_M5QQjhJnNmnT45XFhnDoNo3u6YxLn672OFmaIbEt5&itag=5&sver=3&mt=1405454274&signature=4EF184B2C8F215455DFCCE374E887EFB98A6F1C4.2EE4F19CBDECC69BB739B896932DB3E49A5D2E43E4E'. Check the log for details.
It only happens with videos that I have watched a lot of like maybe 20 or 10 times or so, I believe.
This is the original link of the video I used to get that error: https://www.youtube.com/watch?v=9bZkp7q19f0

Re: Errors trying to stream videos from youtube

Posted: 17 Jul 2014 21:38
by 3mb3r4
I got the same problem under Windows (XP SP3) and Linux (Arch Linux, up-to-date) too with VLC 2.1.3.

I tried the video that 99lool attached attached in his previous post, and gave me an error as well. Error message below.

Code: Select all

Your input can't be opened: VLC is unable to open the MRL 'http://r4---sn-2apm-f5fr.googlevideo.com/videoplayback?ip=<IP-ADDRESS>&expire=1405648800&key=yt5&id=o-ACcY--XhIBxXNukyiDrC_b3g4U78uTiQsvC489G3rOQB&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&ratebypass=yes&mt=1405625041&sver=3&mws=yes&source=youtube&upn=TZpe9-L4dk0&gcr=hu&ipbits=0&itag=43&mv=m&fexp=901803%2C902408%2C923025%2C924213%2C924217%2C924222%Your input can't be opened: VLC is unable to open the MRL 'http://r6---sn-2apm-f5fs.googlevideo.com/videoplayback?mws=yes&ip=<IP-ADDRESS>&key=yt5&ipbits=0&ratebypass=yes&source=youtube&gcr=hu&fexp=902408%2C924213%2C924217%2C924222%2C927622%2C927895%2C930008%2C934024%2C934030%2C941361%2C941429&mv=m&mt=1405625163&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&upn=vIdsFzN2hhs&id=o-AFP34lbgo4zSPvcfGU7_FBxOCObaK-WojvzCR4qij4r6&itag=43&expire=1405648800&sver=3&ms=au&signature=CC1867B04A07F7688999C96D88D782475DF56808.1909BD6F472C6FECF9B84AE591D0FAB4B418EB6BB67'. Check the log for details. 2C925008%2C927622%2C930008%2C934024%2C934030%2C944314&ms=au&signature=D6C634F0B151C7DFB8849AAAA669831C645FDCF7.419CA9F877982A44AB47BEE312496878008EEFD4FDD'. Check the log for details. Your input can't be opened: VLC is unable to open the MRL 'http://r4---sn-2apm-f5fr.googlevideo.com/videoplayback?itag=43&ratebypass=yes&expire=1405648800&id=o-AJV00FYCv0Ve36c43UPadkyiF2B_IQaZQdj_s6DK7ndN&sver=3&mv=m&ipbits=0&fexp=902408%2C924213%2C924217%2C924222%2C927622%2C930008%2C934024%2C934030%2C935664%2C937820%2C943907&key=yt5&upn=wtC8jzm-7co&source=youtube&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&gcr=hu&ms=au&mws=yes&ip=<IP-ADDRESS>&mt=1405625041&signature=65027746476EE89F7C0A75167EC2356242FEE935.F7EA658BC1FEF4212841587FC4800E03D4455C14C1D'. Check the log for details.
It seems that YouTube has changed something, because I found a lot of past threads about similar errors that were caused by a minor YouTube server-side change. Although, I don't really see how VLC extract stream links from a video URL, it did a really great job in comparison with other downloaders and desktop players.

I really love watching YouTube videos in VLC rather than using lamerized bloatware (browsers) that consume hundreds of megabytes to load a YouTube page, inconfigurable as hell and eats up all CPU. I hope this will be fixed soon. If I can help in any way, please let me know.

Re: Errors trying to stream videos from youtube

Posted: 17 Jul 2014 21:48
by 99lool
I got the same problem under Windows (XP SP3) and Linux (Arch Linux, up-to-date) too with VLC 2.1.3.

I tried the video that 99lool attached attached in his previous post, and gave me an error as well. Error message below.

Code: Select all

Your input can't be opened: VLC is unable to open the MRL 'http://r4---sn-2apm-f5fr.googlevideo.com/videoplayback?ip=<IP-ADDRESS>&expire=1405648800&key=yt5&id=o-ACcY--XhIBxXNukyiDrC_b3g4U78uTiQsvC489G3rOQB&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&ratebypass=yes&mt=1405625041&sver=3&mws=yes&source=youtube&upn=TZpe9-L4dk0&gcr=hu&ipbits=0&itag=43&mv=m&fexp=901803%2C902408%2C923025%2C924213%2C924217%2C924222%Your input can't be opened: VLC is unable to open the MRL 'http://r6---sn-2apm-f5fs.googlevideo.com/videoplayback?mws=yes&ip=<IP-ADDRESS>&key=yt5&ipbits=0&ratebypass=yes&source=youtube&gcr=hu&fexp=902408%2C924213%2C924217%2C924222%2C927622%2C927895%2C930008%2C934024%2C934030%2C941361%2C941429&mv=m&mt=1405625163&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&upn=vIdsFzN2hhs&id=o-AFP34lbgo4zSPvcfGU7_FBxOCObaK-WojvzCR4qij4r6&itag=43&expire=1405648800&sver=3&ms=au&signature=CC1867B04A07F7688999C96D88D782475DF56808.1909BD6F472C6FECF9B84AE591D0FAB4B418EB6BB67'. Check the log for details. 2C925008%2C927622%2C930008%2C934024%2C934030%2C944314&ms=au&signature=D6C634F0B151C7DFB8849AAAA669831C645FDCF7.419CA9F877982A44AB47BEE312496878008EEFD4FDD'. Check the log for details. Your input can't be opened: VLC is unable to open the MRL 'http://r4---sn-2apm-f5fr.googlevideo.com/videoplayback?itag=43&ratebypass=yes&expire=1405648800&id=o-AJV00FYCv0Ve36c43UPadkyiF2B_IQaZQdj_s6DK7ndN&sver=3&mv=m&ipbits=0&fexp=902408%2C924213%2C924217%2C924222%2C927622%2C930008%2C934024%2C934030%2C935664%2C937820%2C943907&key=yt5&upn=wtC8jzm-7co&source=youtube&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&gcr=hu&ms=au&mws=yes&ip=<IP-ADDRESS>&mt=1405625041&signature=65027746476EE89F7C0A75167EC2356242FEE935.F7EA658BC1FEF4212841587FC4800E03D4455C14C1D'. Check the log for details.
It seems that YouTube has changed something, because I found a lot of past threads about similar errors that were caused by a minor YouTube server-side change. Although, I don't really see how VLC extract stream links from a video URL, it did a really great job in comparison with other downloaders and desktop players.

I really love watching YouTube videos in VLC rather than using lamerized bloatware (browsers) that consume hundreds of megabytes to load a YouTube page, inconfigurable as hell and eats up all CPU. I hope this will be fixed soon. If I can help in any way, please let me know.
Thanks for the reply 3mb3r4, I guess I'm not the only one with this problem.

Re: Errors trying to stream videos from youtube

Posted: 17 Jul 2014 22:47
by Chocula187
same issue for me. starting a day or so ago.

Re: Errors trying to stream videos from youtube

Posted: 23 Jul 2014 18:18
by Chocula187
no one else has this problem? Odd. the youtube playlist addon page hasn't been updated, either.

Re: Errors trying to stream videos from youtube

Posted: 28 Jul 2014 14:06
by 3mb3r4
It surprises me that nobody is concerned with fixing this. Watching YouTube in VLC spares a lot of electricity, CPU, memory and other computer resources. Users of older computers don't need to launch bloated browsers developed by lazy, ignorant developers, and they have the same experience. Please fix this, it's really important.

Re: Errors trying to stream videos from youtube

Posted: 30 Jul 2014 18:31
by remodaboss
I have similar problem - VLC won't play some videos. I've found music videos aren't played e.g. http://www.youtube.com/watch?v=Gcg__eDktgY However, some other youtube videos works well.

Re: Errors trying to stream videos from youtube

Posted: 06 Aug 2014 14:10
by Volnix
Same problem here, any updates on this???

Re: Errors trying to stream videos from youtube

Posted: 07 Aug 2014 20:48
by eponier
The youtube.lua file was updated 10 days ago. Check http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD.
To use the new script, delete the youtube.lua or youtube.luac file you may find in your VLC directory and use this file instead as youtube.lua.

Re: Errors trying to stream videos from youtube

Posted: 01 Sep 2014 01:45
by Undeadltd
I'm afraid this may be a stupid question, but how do I use that link as a file? Clicking on the link directs me to a webpage with a wall of text. There's a bit about copyright on the top, and then the rest is code. How do I save this?

Thanks!

Re: Errors trying to stream videos from youtube

Posted: 08 Sep 2014 16:32
by eponier
I hope this is not too late to answer your question.
The text you see when you follow the link is the script itself. You have to put it in a file called youtube.lua and save it in the right place (https://wiki.videolan.org/Documentation ... troduction explains what the good location is). For that, you have two options :
- right click on the link given above, select "save link as" and then choose the right name and the right place
- follow the link, select the whole text (ctrl + a) and copy it, then paste it in a new file that you then save in the right place with the right name

Re: Errors trying to stream videos from youtube

Posted: 15 Oct 2014 00:01
by lauraj210
I'm a little pressed for time so I would like to get this in one shot! When I check my C drive using C:\Program Files\VideoLAN\VLC\lua\playlist\ it comes up with luac entries. I assume I should just delete the whole lua (luac) file and replace it with the http://git file, which I have saved as 'youtube.lua', right? Just drop the 'youtube.lua' file into the VideoLAN > VLC program files, and Bob's your uncle?

Re: Errors trying to stream videos from youtube

Posted: 21 Oct 2014 03:27
by lauraj210
Anybody there to answer my specific question?

Re: Errors trying to stream videos from youtube

Posted: 21 Oct 2014 14:40
by mederi
Right. You can replace the "youtube.luac" file with the non-compiled script "youtube.lua".

Re: Errors trying to stream videos from youtube

Posted: 23 Oct 2014 01:22
by lauraj210
Well, I screwed THAT up royally! Now VLC doesn't work at all. I'm going to do a system restore and then provide you with screenshots to see what I did wrong. I really need to get it working by the weekend...

Re: Errors trying to stream videos from youtube

Posted: 23 Oct 2014 19:34
by lauraj210
I did the system restore back to the 16th, but as you can see, the date on the lua file are from the 22nd -- I didn't think to look for 'youtube.luac', and deleted the whole lua file! I'm thinking I have to uninstall and reinstall, right?

I can't figure out how to insert screenshots here, so I'll just use text:

C:>ProgramFiles>VideoLAN>VLC brings up a lua file, dated 10/22/14
When I click on lua, I get an http folder.
When I click on the http folder I get two folders:
js (common, controlers, jquery.jstree, jquery_1.5.1.min, jquery-ui-1.8.13.custom.min, ui)
old (another folder for js, which yields functions and vlm)
plus the cone icon.
That's it.

My computer guy did the original installation, so would you please send me the link to the reinstall, and I'll try it again! As I said, I would really like to get this working by the weekend...

Re: Errors trying to stream videos from youtube

Posted: 23 Oct 2014 20:20
by mederi
You can download VLC from http://www.videolan.org/vlc/download-windows.html
Here is the relative path to the file of your interest in vlc folder: "\lua\playlist\youtube.luac"

Re: Errors trying to stream videos from youtube

Posted: 26 Oct 2014 03:11
by lauraj210
Okay -- I uninstalled and reinstalled, I deleted the youtube.luac file and replaced it with a Works file called 'youtube.lua' (http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD,
including
--[[
$Id$

Copyright © 2007-2013 the VideoLAN team

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
--]]

-- Helper function to get a parameter's value in a URL
function get_url_param( url, name )
local _, _, res = string.find( url, "[&?]"..name.."=([^&]*)" )
return res
end --
is that right?
, but it's not working -- when I try to record a Youtube video, I get nothing, it won't play. Do I have to delete the 'youtube_homepage.luac' file as well? In the instructions, it says to delete the googlevideo.lua -- should I do that,too?

I have a project that I have to complete in the next week, and I really have to get this working...

Re: Errors trying to stream videos from youtube

Posted: 26 Oct 2014 15:40
by mederi
You better download the latest nightly version of VLC (2.2.0-rc1) from http://nightlies.videolan.org/

Re: Errors trying to stream videos from youtube

Posted: 26 Oct 2014 20:56
by lauraj210
Do I have to uninstall the regular VLC first, or not? Hope this works!