Code: Select all
Su entrada no puede abrirse:
VLC es incapaz de abrir el MRL «http://v16.lscache3.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor\u0026fexp=903921%2C907605\u0026algorithm=throttle-factor\u0026itag=34\u0026ipbits=8\u0026burst=40\u0026sver=3\u0026signature=8DF650678852646CE697572744BDE6CACE23D000.515DFEF72E506C1AAF6A9889ED54D7ED3D0078B1\u0026expire=1303664400\u0026key=yt1\u0026ip=87.0.0.0\u0026factor=1.25\u0026id=02746c9b188d68e4». Ver el registro para más detalles.
Code: Select all
if string.match( line, "BASE_YT_URL" ) then
_,_,base_yt_url = string.find( line, "\"BASE_YT_URL\": \"(.-)\"" )
end
_,_,t = string.find( line, "\"t\": \"(.-)\"" )
-- vlc.msg.err( t )
-- video_id = string.gsub( line, ".*&video_id:'([^']*)'.*", "%1" )
fmt_url_map = string.match( line, "\"fmt_url_map\": \"(.-)\"" )
-- FIXME: do this properly
fmt_url_map = string.gsub( fmt_url_map, "\\u0026", "&" )
if fmt_url_map then
for itag,url in string.gmatch( fmt_url_map, "(%d+)|([^,]+)" ) do
-- Apparently formats are listed in quality order,
-- so we can afford to simply take the first one
if not fmt or tonumber( itag ) == tonumber( fmt ) then
-- do unescaping of /
url = string.gsub( url, '\\/','/' )
path = url
break
end
end
end
VLC version?Is that the problem under discussion here? (I'm not among the talented, I'm afraid.)
Code: Select all
Your input can't be opened:
VLC is unable to open the MRL 'http://youtube.com/get_video?video_id=KtRnLod5PaY&t=vjVQa1PpcFOcgHfLMz8OTOadULljeyvjyFo8xA4KOtM='. Check the log for details.
Code: Select all
rifat@rea-pc:~$ vlc http://www.youtube.com/watch?v=KtRnLod5PaY
VLC media player 1.1.10 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Warning: call to srand(1308488411)
Warning: call to rand()
Blocked: call to setlocale(6, "")
(process:2265): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[0x99f7014] signals interface error: signal 17 overriden (0x682b8c0)
[0x99f7014] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
[0x99f76ac] main playlist: stopping playback
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[0x99f7014] signals interface error: signal 17 overriden (0x682b8c0)
[0x99f7014] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
[0x99f7014] signals interface error: signal 17 overriden (0x682b8c0)
[0x99f7014] signals interface error: /usr/lib/libQtCore.so.4(?)[(nil)]
Blocked: call to setenv("_PX_CONFIG_ORDER", "", 1)
[0x9c68fbc] access_http access error: error: HTTP/1.1 404 Not Found
[0x9c6e024] access_http access error: error: HTTP/1.1 404 Not Found
[0x9c6e024] access_http access error: error: HTTP/1.0 404 Not Found
[0x9c68fbc] access_http access error: error: HTTP/1.0 404 Not Found
[0x9c6e024] access_mms access error: error: HTTP/1.0 404 Not Found
[0x99f76ac] main playlist error: no suitable access module for `http://img.youtube.com/vi/KtRnLod5PaY/default.jpg'
[0x9c68fbc] access_mms access error: error: HTTP/1.0 404 Not Found
[0x9c25b84] main input error: open of `http://youtube.com/get_video?video_id=KtRnLod5PaY&t=vjVQa1PpcFO38hIyUC63te5fvZBubdcjCJi_C64NQPI=' failed: (null)
Use this Youtube.lua file:I am using version 1.1.11 and it want play the youtube either. I edited the .lua script as mentioned earlier in the script, but still a no go. It stopped VLC from crashing, but it still want play YouTube...Do I need to convert back down to 1.1.09.....Thanks.....
Yeah but where do I put thatUse this Youtube.lua file:I am using version 1.1.11 and it want play the youtube either. I edited the .lua script as mentioned earlier in the script, but still a no go. It stopped VLC from crashing, but it still want play YouTube...Do I need to convert back down to 1.1.09.....Thanks.....
http://git.videolan.org/?p=vlc/vlc-1.1. ... 78f07a759e
What about reading this thread ?Yeah but where do I put that
Do I download a file before then input that code or ?
Linux:1. Find the "youtube.lua" script (which is in the following directory: VLC -> lua -> playlist)
2. ** Make a backup **
After discovering /usr/lib/vlc/lua/playlist/youtube.luac was a compiled version I tried a hunch and replaced it with the not-compiled fixed-up youtube.lua file from an XP install. Works great! Apparently, it doesn't matter if it's compiled or not.
Okay I've downloaded the zip and everything but I have no idea where this goesWe had the same problem, it just started this week..
Seems that YouTube have started adding an escaped unicode sequence (\u0026) in-place of the & (ampersand) character in their flash variables.
I've posted a patch in trac (http://trac.videolan.org/vlc/ticket/4608)
If you want to get your hand a little dirty, and edit the LUA script that parses the YouTube video you can:
Use notepad or a 'plain' text editor and do the following:
1. Find the "youtube.lua" script (which is in the following directory: VLC -> lua -> playlist)
2. ** Make a backup **
3. Using notepad or a text editor, open the youtube.lua file and change the following (about half way down):
Find:And add the following two lines (after the string.gsub line, but before the path = url line):Code: Select all
if not fmt or tonumber( itag ) == tonumber( fmt ) then -- do unescaping of / url = string.gsub( url, '\\/','/' ) path = url
-- do convert of unicode 0026 to ampersand
url = string.gsub( url, '\\u0026','&' )
It should look like this when you're done:Save that..Code: Select all
if not fmt or tonumber( itag ) == tonumber( fmt ) then -- do unescaping of / url = string.gsub( url, '\\/','/' ) -- do convert of unicode 0026 to ampersand url = string.gsub( url, '\\u0026','&' ) path = url
Worked for us, hope it works for you..
Cheers,
ObM.
Strangely enough I get the same quirk as well as a wide green band right down the centre of the screen, with the colours either side of this band being diminished.I am also having this problem. I have tried editing the youtube.lua file as instructed, but it does not fix anything. I am using version 2.0.1 on windows xp. The error message is "VLC can't recognize the input's format:". The screen will flicker between the vlc traffic cone icon and a still image of the youtube video.
DirectX should remove that issue. This is what is used in 1.xStrangely enough I get the same quirk as well as a wide green band right down the centre of the screen, with the colours either side of this band being diminished.I am also having this problem. I have tried editing the youtube.lua file as instructed, but it does not fix anything. I am using version 2.0.1 on windows xp. The error message is "VLC can't recognize the input's format:". The screen will flicker between the vlc traffic cone icon and a still image of the youtube video.
I tried changing the OUTPUT in the display options, but the problem persisted in FLV, MP4 and AVI formats.
I've found this problem exists in ALL the version 2's so I "updated" to the last of the version 1's, thus solving the problems.
On a similar note, some FLV's crash and others don't. Are there several versions of FLV around?
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 18 guests