Page 2 of 4

Re: youtube.lua -- Updated

Posted: 11 Oct 2013 15:10
by ypavankumar
vevo videos not working again...

Re: youtube.lua — Play YouTube videos in VLC!

Posted: 11 Oct 2013 20:19
by JSLover
vevo videos not working again...
...sorry about that. I was fearing that it was "about time" for YouTube to eff me over again.

Good news tho: Pierre Ynard (a VLC dev) has made some great changes (almost a month ago now) to VLC's default YouTube.lua, which will hopefully put an end to these frequent updates. I have no idea what version of VLC that will be included in (or if it might've already made it into some version).

But for my version, however, I need to compare his version with my version & merge them (my version still does some things the default version don't). Right now, I think I'm just gonna release another "quick patch", to get my version working, then I'll re-merge with VLC's version later.

Update: I've re-synced my version with VLC's Git version...
...needing to update should be much less common now...

Re: youtube.lua — Play YouTube videos in VLC!

Posted: 12 Oct 2013 12:47
by ypavankumar
vevo videos not working again...
...sorry about that. I was fearing that it was "about time" for YouTube to eff me over again.

Good news tho: Pierre Ynard (a VLC dev) has made some great changes (almost a month ago now) to VLC's default YouTube.lua, which will hopefully put an end to these frequent updates. I have no idea what version of VLC that will be included in (or if it might've already made it into some version).

But for my version, however, I need to compare his version with my version & merge them (my version still does some things the default version don't). Right now, I think I'm just gonna release another "quick patch", to get my version working, then I'll re-merge with VLC's version later.

Update: I've re-synced my version with VLC's Git version...
...needing to update should be much less common now...
thank you so much, its all working again. Awesome job !!

Re: youtube.lua -- Updated

Posted: 14 Dec 2013 13:53
by robert.kent87
I'm getting the error

access_http error: failed to read answer
access_mms error: cannot connect to www.youtube.com:80

Re: youtube.lua -- Updated

Posted: 15 Apr 2014 03:47
by ypavankumar
ever since youtube removed the 200 videos limit on playlist, vlc playlist loader seems broken. loads only about 80 videos when there are more than 200 on the playlist.
please help

Re: youtube.lua -- Updated

Posted: 22 Apr 2014 14:29
by Jean-Baptiste Kempf
This is possible. Patch welcome :)

Re: youtube.lua -- Updated

Posted: 02 Jun 2014 21:19
by Marymerina
YOU ARE AN ANGEL you solved a problem that I had for the past 6 months with no good resolution anywhere, cant thank you enough, you are amazing..... Lots of thanks :D :D :D :D :D

Re: youtube.lua -- Updated

Posted: 03 Jun 2014 00:22
by davidson17
Hi, why just load only one video?

Re: youtube.lua -- Updated

Posted: 16 Jul 2014 15:39
by ypavankumar
something is happening again some youtube videos vevo ones not working, please help masters !!

Re: youtube.lua -- Updated

Posted: 06 Aug 2014 15:41
by ypavankumar
please can anyone fix this issue has been happening since last month vevo & latest youtube videos are not working

error showing up is below,

Code: Select all

Your input can't be opened: VLC is unable to open the MRL 'http://r3---sn-p5qlsned.googlevideo.com/videoplayback?id=o-AN0gruEvf8pCQKlCdug7lFTT9dLaAy1Try9MXShf6IaN&ms=au&gcr=us&itag=22&mm=31&sver=3&expire=1407354134&mv=m&upn=Sk_QEkL9aOM&key=yt5&ip=209.156.114.130&ratebypass=yes&ipbits=0&fexp=902408%2C927622%2C934024%2C934030%2C941371%2C946023%2C949401&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&source=youtube&mws=yes&mt=1407332501&signature=.1.1E057259773B6258069E2F56B52C63BAB5B914EC1964AC34F2C97DF66A7EE1B57D1099FE2A94174E66E66'. Check the log for details.
entire verbose output below,

Code: Select all

main debug: adding item `https://www.youtube.com/watch?v=M3KqzpP6Ej0' ( https://www.youtube.com/watch?v=M3KqzpP6Ej0 ) qt4 debug: Adding a new MRL to recent ones: https://www.youtube.com/watch?v=M3KqzpP6Ej0 main debug: processing request item: https://www.youtube.com/watch?v=M3KqzpP6Ej0, node: null, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on https://www.youtube.com/watch?v=M3KqzpP6Ej0 main debug: https://www.youtube.com/watch?v=M3KqzpP6Ej0 is at 0 main debug: creating new input thread main debug: Creating an input for 'https://www.youtube.com/watch?v=M3KqzpP6Ej0' main debug: meta ok for (null), need to fetch art main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\kumary\AppData\Local\Temp' main debug: `https://www.youtube.com/watch?v=M3KqzpP6Ej0' gives access `https' demux `' path `www.youtube.com/watch?v=M3KqzpP6Ej0' main debug: creating demux: access='https' demux='' location='www.youtube.com/watch?v=M3KqzpP6Ej0' file='\\www.youtube.com\watch?v=M3KqzpP6Ej0' main debug: looking for access_demux module matching "https": 12 candidates main debug: no access_demux modules matched main debug: creating access 'https' location='www.youtube.com/watch?v=M3KqzpP6Ej0', path='\\www.youtube.com\watch?v=M3KqzpP6Ej0' main debug: looking for access module matching "https": 20 candidates main debug: looking for tls client module matching "any": 1 candidates qt4 debug: IM: Setting an input main debug: looking for meta fetcher module matching "any": 1 candidates gnutls debug: GnuTLS v3.1.25 initialized lua debug: Trying Lua scripts in C:\Users\kumary\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: removing module "lua" main debug: searching art for https://www.youtube.com/watch?v=M3KqzpP6Ej0 main debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\kumary\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched main debug: art not found for https://www.youtube.com/watch?v=M3KqzpP6Ej0 gnutls debug: loaded 405 trusted CAs main debug: using tls client module "gnutls" access_http debug: querying proxy for https://www.youtube.com/watch?v=M3KqzpP6Ej0 access_http debug: no proxy access_http debug: http: server='www.youtube.com' port=443 file='/watch?v=M3KqzpP6Ej0' main debug: net: connecting to www.youtube.com port 443 main debug: connection succeeded (socket = 1632) gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Success. gnutls debug: 3 certificate(s) in the list access_http debug: protocol 'HTTP' answer code 200 access_http debug: Server: gwiseguy/2.0 access_http debug: Accepting Cookie: VISITOR_INFO1_LIVE=MNrtajRPoQk; path=/; domain=.youtube.com; expires=Tue, 07-Apr-2015 01:39:55 GMT access_http debug: Accepting Cookie: YSC=QoOe4c8pg1k; path=/; domain=.youtube.com; httponly access_http debug: Content-Type: text/html; charset=utf-8 access_http debug: Connection: close main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 689 bytes in 0s - 672851 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "record": 6 candidates main debug: using stream_filter module "record" main debug: creating demux: access='https' demux='' location='www.youtube.com/watch?v=M3KqzpP6Ej0' file='\\www.youtube.com\watch?v=M3KqzpP6Ej0' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=com\watch?v=M3KqzpP6Ej0) ts debug: TS module discarded (lost sync) avcodec debug: trying url: \\www.youtube.com\watch?v=M3KqzpP6Ej0 avcodec debug: couldn't guess format lua debug: Trying Lua scripts in C:\Users\kumary\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\break.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\canalplus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\extreme.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\france2.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\googlevideo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\joox.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\katsomo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\lelombrik.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metacafe.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\metachannels.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\mpora.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pinkbike.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\playlist_youtube.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\pluzz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\vimeo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac lua debug: Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\youtube.luac's probe() function was successful main debug: using demux module "lua" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\kumary\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `https://www.youtube.com/watch?v=M3KqzpP6Ej0' successfully opened lua debug: Found 88-character scrambled signature for youtube video URL, attempting to descramble... main debug: creating access 'https' location='s.ytimg.com/yts/jsbin/html5player-en_US-vflHkCS5P/html5player.js', path='\\s.ytimg.com\yts\jsbin\html5player-en_US-vflHkCS5P\html5player.js' main debug: looking for access module matching "https": 20 candidates main debug: looking for tls client module matching "any": 1 candidates gnutls debug: GnuTLS v3.1.25 initialized gnutls debug: loaded 405 trusted CAs main debug: using tls client module "gnutls" access_http debug: querying proxy for https://s.ytimg.com/yts/jsbin/html5player-en_US-vflHkCS5P/html5player.js access_http debug: no proxy access_http debug: http: server='s.ytimg.com' port=443 file='/yts/jsbin/html5player-en_US-vflHkCS5P/html5player.js' main debug: net: connecting to s.ytimg.com port 443 main debug: connection succeeded (socket = 1836) gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Success. gnutls debug: 3 certificate(s) in the list access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: text/javascript access_http debug: Server: sffe access_http debug: Connection: close main debug: using access module "access_http" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 965 bytes in 0s - 942382 KiB/s main debug: removing module "access_http" gnutls debug: GnuTLS deinitialized gnutls error: The TLS connection was non-properly terminated. main error: read error: Connection reset by peer lua debug: old path: https://www.youtube.com/watch?v=M3KqzpP6Ej0 lua debug: Path: http://r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655 lua debug: Name: Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh lua debug: Artist: T-Series lua debug: Description: Watch Yo Yo Honey Singh latest number "Aata Majhi Satakli" from the movie Singham Returns exclusively on T-series. Click to share it on Facebook - http://bit... lua debug: ArtURL: https://i.ytimg.com/vi/M3KqzpP6Ej0/maxresdefault.jpg lua debug: meta-URL: https://www.youtube.com/watch?v=M3KqzpP6Ej0 main info: stopping playback main debug: deleting item `https://www.youtube.com/watch?v=M3KqzpP6Ej0' main debug: removing module "lua" main debug: removing module "record" main debug: removing module "access_http" gnutls debug: GnuTLS deinitialized main debug: incoming request - stopping current input main debug: dead input main debug: processing request item: Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh, node: Playlist, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh main debug: Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh is at 0 main debug: creating new input thread main debug: Creating an input for 'Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh' main debug: meta ok for Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh, need to fetch art main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\kumary\AppData\Local\Temp' main debug: looking for meta fetcher module matching "any": 1 candidates main debug: `http://r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' gives access `http' demux `' path `r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' main debug: creating demux: access='http' demux='' location='r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' file='\\r15---sn-p5qlsn7y.googlevideo.com\videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408,902904,914070,927622,931975,934024,934030,941800,945063,946022,948506,950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' main debug: looking for access_demux module matching "http": 12 candidates main debug: no access_demux modules matched main debug: creating access 'http' location='r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655', path='\\r15---sn-p5qlsn7y.googlevideo.com\videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408,902904,914070,927622,931975,934024,934030,941800,945063,946022,948506,950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' lua debug: Trying Lua scripts in C:\Users\kumary\AppData\Roaming\vlc\lua\meta\fetcher main debug: looking for access module matching "http": 20 candidates lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher access_http debug: querying proxy for http://r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655 access_http debug: no proxy access_http debug: http: server='r15---sn-p5qlsn7y.googlevideo.com' port=80 file='/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: removing module "lua" main debug: net: connecting to r15---sn-p5qlsn7y.googlevideo.com port 80 main debug: found art for Exclusive: Aata Majhi Satakli | Singham Returns | Ajay Devgan | Kareena Kapoor | Yo Yo Honey Singh in cache main debug: connection succeeded (socket = 1672) qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input qt4 debug: IM: Deleting the input qt4 debug: IM: Setting an input access_http debug: protocol 'HTTP' answer code 403 access_http error: error: HTTP/1.1 403 Forbidden access_http debug: switching to HTTP version 1.0 main debug: net: connecting to r15---sn-p5qlsn7y.googlevideo.com port 80 main debug: connection succeeded (socket = 1672) access_http debug: protocol 'HTTP' answer code 403 access_http error: error: HTTP/1.1 403 Forbidden main debug: net: connecting to r15---sn-p5qlsn7y.googlevideo.com port 80 main debug: connection succeeded (socket = 1672) access_mms error: error: HTTP/1.1 403 Forbidden main debug: no access modules matched main error: open of `http://r15---sn-p5qlsn7y.googlevideo.com/videoplayback?ratebypass=yes&ipbits=0&key=yt5&ip=209.156.114.130&mws=yes&gcr=us&fexp=902408%2C902904%2C914070%2C927622%2C931975%2C934024%2C934030%2C941800%2C945063%2C946022%2C948506%2C950606&ms=au&source=youtube&id=o-AEN8YUnHf2IX_6WqNY6ylH9UITGNs7NfWFnT3LK52ENk&upn=oQr43KluVyM&sparams=gcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&mt=1407332747&mv=m&mm=31&sver=3&expire=1407354415&itag=22&signature=.C.C046F8F18E15F6D17CFAA76742AF34B127D13BCDC7CD7BE319D0ECC8764E07BD25293FF34646B19655655' failed main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input

Re: youtube.lua -- Updated

Posted: 07 Aug 2014 21:01
by eponier
The youtube.lua file was updated 10 days ago. Check http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD.

Re: youtube.lua -- Updated

Posted: 12 Aug 2014 14:45
by ypavankumar
The youtube.lua file was updated 10 days ago. Check http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD.
thanks so much looks like its working now.

Re: youtube.lua -- Updated

Posted: 31 Aug 2014 00:34
by Chrisi22
YT vids have stopped playing for me in VLC 2.1.5 portable (32 or 64 bit ver) in Vista x64.
The youtube.lua file was updated 10 days ago. Check http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD.
what must one do with the page of code at the quoted link? Copy the text & save in file named "youtube.lua?"
Then place in the "VLC\lua\playlist\" folder, as shown in https://forum.videolan.org/viewtopic.ph ... be#p379147 ?

Since jslover hasn't updated the file on his download site? No problem - just want to make sure of exactly what to do.
Thanks.

Re: youtube.lua -- Updated

Posted: 08 Sep 2014 16:49
by eponier
I don't really know if your post expects an answer since it actually explains what to do.
If you just want a confirmation, I can give it to you.
Yes, the procedure explained in https://forum.videolan.org/viewtopic.ph ... be#p379147 is the good one, except that the link given in the post is no more valid. Just do the same with the new link (http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD) which actually points to the most recent version of the file in the VLC git repository.
To use the link, either follow it and copy the text as you suggested or right click on it and select "save link as".

Re: youtube.lua -- Updated

Posted: 13 Nov 2014 23:01
by dustonc
I recently wrote a little project that involved playing youtube links in vlc, and after downloading the latest version of youtube.lua from the git repository everything was running great. Until today. Now only 10% of links are working correctly. I suspect youtube pulled the rug out again, and I'm bumping this thread in the hope of an update or workaround. I'd rather not change my project to use web elements, but I'll do it if it's the only way to keep my project working reliably.

Re: youtube.lua — Play YouTube videos in VLC!

Posted: 18 Nov 2014 11:19
by JSLover
UPDATED — Tue, Nov 18, 2014 --- 11/18/14, 5:19:19am
  • Fixed YouTube signature-deobfuscation-function-finding code
...download at the same place!...

Re: youtube.lua -- Updated

Posted: 18 Nov 2014 13:49
by Jean-Baptiste Kempf
Applied and pushed.

Re: youtube.lua -- Updated

Posted: 18 Nov 2014 15:42
by dustonc
youtube.lua has been updated. Posting link for all those who end up on this forum like I did.
http://jslover.secsrv.net/VLC/playlist/youtube.lua

Re: youtube.lua -- Updated

Posted: 03 Feb 2015 12:33
by Shiryaev311
Don't work again... :(

Re: youtube.lua -- Updated

Posted: 13 Feb 2015 20:50
by eponier
Once again, the file youtube.lua has been updated on the git repository: http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD.
Save this file as youtube.lua in the right directory (/usr/lib/vlc/lua/playlist/ on Linux, C:\Program Files\VideoLAN\VLC\lua\playlist\ on Windows), delete the youtube.luac file that must be there, and it should work again!

Re: youtube.lua -- Updated

Posted: 16 Feb 2015 14:35
by Shiryaev311
Save this file as youtube.lua in the right directory (/usr/lib/vlc/lua/playlist/ on Linux, C:\Program Files\VideoLAN\VLC\lua\playlist\ on Windows), delete the youtube.luac file that must be there, and it should work again!
Still don't works... :(

Re: youtube.lua -- Updated

Posted: 16 Feb 2015 16:17
by eponier
Still don't works... :(
Can you give a link that does not work, just to be sure it also happens for others ?

Re: youtube.lua -- Updated

Posted: 16 Feb 2015 23:52
by Shiryaev311
Can you give a link that does not work, just to be sure it also happens for others ?
https://www.youtube.com/watch?v=IGVZOLV9SPo
https://www.youtube.com/watch?v=zbZ9uCQW1Hk
My permanent testing videos :)

But now there is no error message, like usually... Just doesn't play videos(

Re: youtube.lua -- Updated

Posted: 17 Feb 2015 10:13
by eponier
I have no problem with both videos, but I'm using a nightly build.
With VLC 2.1.5, I have no problem either. Maybe just try to reinstall your version. Or tell us more about your configuration.

Re: youtube.lua -- Updated

Posted: 17 Feb 2015 12:17
by Shiryaev311
I have no problem with both videos, but I'm using a nightly build.
Thanks! It's working! :D
It was my fault... I've been saving your file in "Unicode"...