youtube.lua -- Updated

Discuss your Lua playlist, album art and interface scripts.
eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 17 Feb 2015 19:51

Good.

ivanovan88
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2015 05:06

Re: youtube.lua -- Updated

Postby ivanovan88 » 23 Feb 2015 05:10

I've spent like 3 hours on this today. I've tried every combination of fixes, but I'm still not able to play youtube videos on VLC. I'm using the latest youtube.lua you are kindly providing to us.

This is the latest error log:
main debug: looking for access module matching "https": 20 candidates
main debug: looking for tls client module matching "any": 0 candidates
main debug: no tls client modules
main error: TLS client plugin not available
main debug: no access modules matched
main error: open of `https://www.youtube.com/watch?v=PWgvGjAhvIw' failed
main debug: dead input
I am testing with both videos linked earlier in the thread.
Am I doing something wrong ?

eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 23 Feb 2015 10:00

If you're using VLC 2.1.5 64 bits, there is another issue (https://trac.videolan.org/vlc/ticket/11897). It has been solved in 2.2.0. So the solutions are using the 2.1.5 32 bits, or 2.2.0 nightly (nightlies.videolan.org).

ivanovan88
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2015 05:06

Re: youtube.lua -- Updated

Postby ivanovan88 » 23 Feb 2015 20:21

Hi. Thank you for your answer eponier.

I have now tried with 64bit 2.2 nightly, and 3.0 nightly AND 32bit stable release.

I got a different error message.
lua info: Found 82-character scrambled signature for youtube video URL, attempting to descramble...
lua error: Couldn't process youtube video URL, please check for updates to this script
main info: stopping playback
access_http error: error: HTTP/1.1 403 Forbidden
This is also with the youtube.lua from http://jslover.secsrv.net/VLC/playlist/youtube.lua

I've also tried the .lua you linked above.

Is there an updated one I should use ?
Last edited by ivanovan88 on 24 Feb 2015 02:32, edited 1 time in total.

eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 23 Feb 2015 21:52

I have now tried with 64bit 2.2 nightky, and 3.0 nightly
First, I want to clarify what I said. When I wrote 2.2 nightly, I meant the last nightly and indeed it's 3.0. Sorry about that.

I do not really know what to say. The youtube.luac that goes with the nightly version should work, so try to delete youtube.lua and use a proper nightly install.

If this does not work, the broken link you are using could be helpful.

ypavankumar
Blank Cone
Blank Cone
Posts: 12
Joined: 21 Oct 2009 19:11

Re: youtube.lua -- Updated

Postby ypavankumar » 04 Mar 2015 13:46

i just tried with 3.0 nightly build & still broken debug log below, please help

Code: Select all

url used http://www.youtube.com/watch?v=IGVZOLV9SPo

Code: Select all

core debug: processing request item: watch?v=IGVZOLV9SPo, node: null, skip: 0 core debug: rebuilding array of current - root Playlist core debug: rebuild done - 2 items, index 1 core debug: starting playback of new item core debug: resyncing on watch?v=IGVZOLV9SPo core debug: watch?v=IGVZOLV9SPo is at 1 core debug: creating new input thread core debug: Creating an input for 'watch?v=IGVZOLV9SPo' core debug: requesting art for new input thread core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\REKHA_~1\AppData\Local\Temp' core debug: ` http://www.youtube.com/watch?v=IGVZOLV9SPo' gives access ` http' demux `' path `www.youtube.com/watch?v=IGVZOLV9SPo' core debug: specified demux `any' core debug: creating demux: access=' http' demux='any' location='www.youtube.com/watch?v=IGVZOLV9SPo' file='\\www.youtube.com\watch?v=IGVZOLV9SPo' core debug: looking for access_demux module matching " http": 12 candidates core debug: no access_demux modules matched core debug: creating access ' http' location='www.youtube.com/watch?v=IGVZOLV9SPo', path='\\www.youtube.com\watch?v=IGVZOLV9SPo' core debug: looking for access module matching " http": 21 candidates core debug: no access modules matched core error: open of ` http://www.youtube.com/watch?v=IGVZOLV9SPo' failed core debug: finished input core debug: dead input core debug: Destroying the input for 'watch?v=IGVZOLV9SPo' core debug: looking for meta fetcher module matching "any": 1 candidates core debug: changing item without a request (current 1/2) core debug: nothing to play core debug: Creating an input for 'watch?v=IGVZOLV9SPo' lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: meta ok for (null), need to fetch art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\fetcher core debug: no meta fetcher modules matched lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: searching art for watch?v=IGVZOLV9SPo lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: looking for art finder module matching "any": 2 candidates lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\art core debug: no meta fetcher modules matched lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art core debug: searching art for watch?v=IGVZOLV9SPo lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac core debug: looking for art finder module matching "any": 2 candidates lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: skipping script (unmatched scope) 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\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) 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\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac core debug: no art finder modules matched lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: no art finder modules matched lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: looking for meta fetcher module matching "any": 1 candidates core debug: using meta fetcher module "lua" lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\fetcher core debug: removing module "lua" lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: searching art for watch?v=IGVZOLV9SPo lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: looking for art finder module matching "any": 2 candidates core debug: using meta fetcher module "lua" lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\art core debug: removing module "lua" lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art core debug: searching art for watch?v=IGVZOLV9SPo lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua scripts in C:\Users\rekha_pavan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac 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\03_lastfm.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac core debug: no art finder modules matched lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac core debug: art not found for watch?v=IGVZOLV9SPo 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 core debug: no art finder modules matched core debug: art not found for watch?v=IGVZOLV9SPo

eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 04 Mar 2015 19:48

I have just tried with the latest build, and there is no problem for me.
Do you have the same problem for other youtube links ?

ypavankumar
Blank Cone
Blank Cone
Posts: 12
Joined: 21 Oct 2009 19:11

Re: youtube.lua -- Updated

Postby ypavankumar » 21 Mar 2015 18:20

which version of the nightly build did you try & can you post the exact link to download for windows

eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 23 Mar 2015 10:26

I use the latest version. You can find it:
- in the directory http://nightlies.videolan.org/build/win64/last/, use vlc-3.0.0-git-*-win64.exe for the 64 bits version
- in the directory http://nightlies.videolan.org/build/win32/last/, use vlc-3.0.0-git-*-win32.exe for the 32 bits version

Deener
New Cone
New Cone
Posts: 3
Joined: 13 Nov 2014 20:42

Re: youtube.lua -- Updated

Postby Deener » 06 Apr 2015 00:22

Nothing seems to be working, is it just me or does there need to be an update? Please and thanks!

eponier
Blank Cone
Blank Cone
Posts: 22
Joined: 07 Aug 2014 20:42

Re: youtube.lua -- Updated

Postby eponier » 08 Apr 2015 23:01

Not sure that no update is needed, but the script has not been modified since February, and the people who care of that are rather reactive.
Can you detail what does not work (the link of the video, what happens precisely) ?

ypavankumar
Blank Cone
Blank Cone
Posts: 12
Joined: 21 Oct 2009 19:11

Re: youtube.lua -- Updated

Postby ypavankumar » 12 May 2015 21:53

I use the latest version. You can find it:
- in the directory http://nightlies.videolan.org/build/win64/last/, use vlc-3.0.0-git-*-win64.exe for the 64 bits version
- in the directory http://nightlies.videolan.org/build/win32/last/, use vlc-3.0.0-git-*-win32.exe for the 32 bits version
tried this install & still not working

try this link

https://www.youtube.com/watch?v=BPAgfJXvgCk

JSLover
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 20 Mar 2012 00:08
VLC version: 2.1.5
Operating System: Win7
Location: r.secsrv.net/youtube.lua

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

Postby JSLover » 13 May 2015 18:19

...the script has not been modified since February...
...the GIT version hasn't been modified since February & my version hasn't been updated in a while cuz I haven't noticed a problem (it works for me). I may not play a YouTube video every day, but if YouTube stops working in VLC, I should notice semi-quickly.
tried this install & still not working
...I currently use VLC 2.1.5, I have not tried 2.2.0 (& certainly not 3.0 nightly), so I don't know if that new of a version of VLC would break my lua script.
...that video works for me in VLC 2.1.5...I know you reported it not working in VLC 3.0, but I have not tested that version yet. Can you confirm if that video works in 2.1.5 & 2.2.0 & doesn't work in 3.0.0?...can you provide a debug log of it working (in 2.1.5 or 2.2.0) & one of it not working in 3.0.0?...I may not need a debug log, since I'll probably just need to test it myself, but maybe it could help?

To Everyone
  • Thanks for all the continued reports, I really do check on this topic, even if I don't login & reply (sometimes I even update my version without replying)...but if I could ask: if you are reporting it "not working", please don't just say "not working again"...please let me know if you are using MY (JSLover'z) YouTube.lua or the official GIT YouTube.lua...or if you are using the default YouTube.luac file from an official released version of VLC (& which version). This topic is really about my version of the YouTube.lua file, but I do need to know if any/all of em don't work, so I can update my version. I can't update VLC's GIT version. I can only compare the GIT version to mine & then make changes to my copy. Sometimes my version will be fixed faster, sometimes the GIT version will be, but hopefully there will always be a version that does work.
"why the f*** do i need a google+ account to comment on a video?" — jawed (2013) (about YouTube's new requirement of Google+)

youtube.lua — Play YouTube videos in VLC!
Updated: Thu, Jan 15, 2015 --- 1/15/15, 7:19:19pm EST

forum.videolan.org/viewtopic.php?f=29&t=111977&p=379147#p379147
Sigh, the above can't be a link: "You cannot use certain BBCodes: [url]."...so, I can't even link back to a post on this forum?
How about this: can long-term/trusted users be allowed links in sigs?

ypavankumar
Blank Cone
Blank Cone
Posts: 12
Joined: 21 Oct 2009 19:11

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

Postby ypavankumar » 13 May 2015 18:47

...the script has not been modified since February...
...the GIT version hasn't been modified since February & my version hasn't been updated in a while cuz I haven't noticed a problem (it works for me). I may not play a YouTube video every day, but if YouTube stops working in VLC, I should notice semi-quickly.
tried this install & still not working
...I currently use VLC 2.1.5, I have not tried 2.2.0 (& certainly not 3.0 nightly), so I don't know if that new of a version of VLC would break my lua script.
...that video works for me in VLC 2.1.5...I know you reported it not working in VLC 3.0, but I have not tested that version yet. Can you confirm if that video works in 2.1.5 & 2.2.0 & doesn't work in 3.0.0?...can you provide a debug log of it working (in 2.1.5 or 2.2.0) & one of it not working in 3.0.0?...I may not need a debug log, since I'll probably just need to test it myself, but maybe it could help?

To Everyone
  • Thanks for all the continued reports, I really do check on this topic, even if I don't login & reply (sometimes I even update my version without replying)...but if I could ask: if you are reporting it "not working", please don't just say "not working again"...please let me know if you are using MY (JSLover'z) YouTube.lua or the official GIT YouTube.lua...or if you are using the default YouTube.luac file from an official released version of VLC (& which version). This topic is really about my version of the YouTube.lua file, but I do need to know if any/all of em don't work, so I can update my version. I can't update VLC's GIT version. I can only compare the GIT version to mine & then make changes to my copy. Sometimes my version will be fixed faster, sometimes the GIT version will be, but hopefully there will always be a version that does work.
thank you so much... switched back to 2.1.5 as you said from here http://download.videolan.org/pub/videol ... 1.5/win32/

got your latest lua file from here: http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD

its all fine now

JSLover
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 20 Mar 2012 00:08
VLC version: 2.1.5
Operating System: Win7
Location: r.secsrv.net/youtube.lua

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

Postby JSLover » 13 May 2015 19:19

Note: Please don't quote an entire post if you are simply replying to the entire thing...I'm not saying "never quote ppl", I'm just saying, that when you quote a whole post, it makes it look cluttered. You can & should click the quote button, but then just edit (or clear out) the textarea before typing your reply. I only quote small snippets of whatever I'm replying to.
got your latest lua file from here: http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD
...that URL is not "my latest lua file"...that URL is to the official GIT version (which is fine, but it's not "my version").

My version is linked in the 1st post (a link which I can't edit or update)...but just to recap...
"why the f*** do i need a google+ account to comment on a video?" — jawed (2013) (about YouTube's new requirement of Google+)

youtube.lua — Play YouTube videos in VLC!
Updated: Thu, Jan 15, 2015 --- 1/15/15, 7:19:19pm EST

forum.videolan.org/viewtopic.php?f=29&t=111977&p=379147#p379147
Sigh, the above can't be a link: "You cannot use certain BBCodes: [url]."...so, I can't even link back to a post on this forum?
How about this: can long-term/trusted users be allowed links in sigs?

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: youtube.lua -- Updated

Postby kodela » 17 May 2015 11:25

For two days it is not possible for me to load videos from Youtube in raw mode down.
What can be causing this?

About Convert/Save... is a download not possible, not with Raw, not with transcoding.
A download is only possible with Stream ... but not with the Raw-mode.
Last edited by kodela on 17 May 2015 13:52, edited 2 times in total.

JSLover
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 20 Mar 2012 00:08
VLC version: 2.1.5
Operating System: Win7
Location: r.secsrv.net/youtube.lua

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

Postby JSLover » 19 May 2015 19:19

For two days it is not possible for me to load videos from Youtube in raw mode down.
...I'm sorry, but what? What is "raw mode down"? Are you trying to PLAY YouTube videos or DOWNLOAD them? What are the exact steps you were using 2 days ago, that was working? Are you even talking about my version of YouTube.lua?
About Convert/Save... is a download not possible, not with Raw, not with transcoding.
...I don't think "Media ► Convert / Save... (Ctrl+R)" is a good choice for this either.
A download is only possible with Stream ... but not with the Raw-mode.
...using "Media ► Stream... (Ctrl+S)" is not for downloading or playing a YouTube video...it's for making VLC start streaming to somewhere else.


I'm just gonna assume you wanna download YouTube videos & you wanna do that without changing (transcoding) them...


To Download YouTube Videos in VLC...
  • Copy the URL for a YouTube video, for example: https://www.youtube.com/watch?v=sXd2WxoOP5g
  • Open VLC, press Ctrl+V to paste the URL, then press Enter or click Play
  • Wait about 3-5 secs after it starts playing, to ensure it's playing properly
  • Open or Focus VLC's Playlist window
    • To open/close it...
      • In VLC, press Ctrl+L
      ...or...
      • Click View ► Playlist
  • Right-click the bold/currently playing item, click Save...
  • Under Settings, click Dump raw input
  • Under Destination, for Destination file, click Browse
  • Choose where to save the file (set the folder where you can find it later!)
  • Type a filename (type .mp4 for the extension)
  • Click Save
  • Click Start
  • Wait for a new playlist item, called Streaming (in VLC 2.1.5 anyway), to become bold & stop being bold (it might be pretty quick), this is when VLC is downloading/saving the file
  • Once VLC is done saving the file, Delete that new playlist item (called Streaming)...cuz if you accidently re-play that item, it will re-save the file again
    • To do that...
      • Click the playlist item, then press Delete (on the keyboard)
...now it's saved, go find where you saved it & double click it to Play it in VLC.
"why the f*** do i need a google+ account to comment on a video?" — jawed (2013) (about YouTube's new requirement of Google+)

youtube.lua — Play YouTube videos in VLC!
Updated: Thu, Jan 15, 2015 --- 1/15/15, 7:19:19pm EST

forum.videolan.org/viewtopic.php?f=29&t=111977&p=379147#p379147
Sigh, the above can't be a link: "You cannot use certain BBCodes: [url]."...so, I can't even link back to a post on this forum?
How about this: can long-term/trusted users be allowed links in sigs?

unnamedXD
New Cone
New Cone
Posts: 1
Joined: 24 May 2015 22:47

Re: youtube.lua -- Updated

Postby unnamedXD » 24 May 2015 23:47

Hello, im running vlc 2.1.5 (clean install) w7 x64 and your latest "youtube.lua", I've placed it on the right folder, tried deleting the "youtube.luac" file, tried different versions of vlc "vlc-3.0.0-git-20150524-0002" and "vlc-3.0.0-git-20150524-0403-win64" both portable.
And still cant play any youtube video
here is my log wich I don't understand what does it mean

Code: Select all

-- logger module started -- access_http error: cannot connect to www.youtube.com:443 main error: open of `https://www.youtube.com/watch?v=sXd2WxoOP5g' failed main: stopping playback lua error: Error loading script C:\Users\kek\Downloads\vlc-2.1.5\lua\sd\fmc.luac: ..../extras/package/win32/../../../share/lua/sd/fmc.lua:22: attempt to call global 'require' (a nil value) access_http error: cannot connect to www.archive.org:80 access_mms error: cannot connect to www.archive.org:80 main error: no suitable access module for `http://www.archive.org/download/freemusiccharts.songs/fmc.xml' lua error: Error while running script C:\Users\kek\Downloads\vlc-2.1.5\lua\sd\fmc.luac, function main(): ..../extras/package/win32/../../../share/lua/sd/fmc.lua:30: attempt to index local 'tree' (a nil value) access_http error: cannot connect to www.youtube.com:443 main error: open of `https://www.youtube.com/watch?v=sXd2WxoOP5g' failed access_http error: cannot connect to www.youtube.com:443 main error: open of `https://www.youtube.com/watch?v=sXd2WxoOP5g' failed -- logger module stopped --

mesb
Blank Cone
Blank Cone
Posts: 13
Joined: 12 Jun 2013 21:06

Re: youtube.lua -- Updated

Postby mesb » 28 Jun 2015 18:03

Same here, can't get it working 2.1.5 nor 2.2.0.
http://www.youtube.com/watch?v=GgDxv0Qg_Rg

Code: Select all

main debug: processing request item: http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55, node: Плейлист, skip: 0 main debug: resyncing on http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55 main debug: http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55 is at 0 main debug: starting playback of the new playlist item main debug: resyncing on http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55 main debug: http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55 is at 0 main debug: creating new input thread main debug: Creating an input for 'http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Anton\AppData\Local\Temp' main debug: `http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' gives access `http' demux `' path `r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' main debug: creating demux: access='http' demux='' location='r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' file='\\r3---sn-gxuog0-bvwe.googlevideo.com\videoplayback?gcr=ru&ratebypass=yes&fexp=901815,901816,9407141,9407662,9408112,9408142,9408420,9408710,9409208,9412774,9413503,9415521,9415833,9416126,9416333,9416456,9416522,952640&mv=m&source=youtube&ms=au&mime=video\mp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,source,upn,expire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' main debug: looking for access_demux module matching "http": 12 candidates main debug: no access_demux modules matched main debug: creating access 'http' location='r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55', path='\\r3---sn-gxuog0-bvwe.googlevideo.com\videoplayback?gcr=ru&ratebypass=yes&fexp=901815,901816,9407141,9407662,9408112,9408142,9408420,9408710,9409208,9412774,9413503,9415521,9415833,9416126,9416333,9416456,9416522,952640&mv=m&source=youtube&ms=au&mime=video\mp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur,gcr,id,initcwndbps,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,source,upn,expire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' main debug: looking for access module matching "http": 20 candidates access_http debug: querying proxy for http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55 access_http debug: no proxy access_http debug: http: server='r3---sn-gxuog0-bvwe.googlevideo.com' port=80 file='/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' main debug: net: connecting to r3---sn-gxuog0-bvwe.googlevideo.com port 80 main debug: connection succeeded (socket = 1456) 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 r3---sn-gxuog0-bvwe.googlevideo.com port 80 main debug: connection succeeded (socket = 1460) qt4 debug: IM: Setting an input access_http debug: protocol 'HTTP' answer code 403 access_http error: error: HTTP/1.1 403 Forbidden main debug: net: connecting to r3---sn-gxuog0-bvwe.googlevideo.com port 80 main debug: connection succeeded (socket = 1460) access_mms error: error: HTTP/1.1 403 Forbidden main debug: no access modules matched main error: open of `http://r3---sn-gxuog0-bvwe.googlevideo.com/videoplayback?gcr=ru&ratebypass=yes&fexp=901815%2C901816%2C9407141%2C9407662%2C9408112%2C9408142%2C9408420%2C9408710%2C9409208%2C9412774%2C9413503%2C9415521%2C9415833%2C9416126%2C9416333%2C9416456%2C9416522%2C952640&mv=m&source=youtube&ms=au&mime=video%2Fmp4&dur=328.469&pl=19&initcwndbps=1852500&id=o-AABpbi5zvIGmSkWcFIQWhhGIyINbOOvMJJJRIz-Ncr6R&itag=22&mn=sn-gxuog0-bvwe&mm=31&ip=78.138.154.174&expire=1435528849&upn=hPLTdK9MOlE&mt=1435507125&lmt=1434176581604156&ipbits=0&key=yt5&sparams=dur%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&sver=3&signature=29403A5C42D543733A67FE6911FD245A84BBC3E1.5979A3416A42B4B9E2BB5345EA62FCD68C541AA55' 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

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: youtube.lua -- Updated

Postby Jean-Baptiste Kempf » 10 Jul 2015 16:02

Use 2.2.2
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.

Troupster
New Cone
New Cone
Posts: 1
Joined: 03 Apr 2016 03:12

Re: youtube.lua -- Updated

Postby Troupster » 03 Apr 2016 03:13

Having trouble using random and a playlist of youtube videos. It seems to try loading them for too short a period of time before moving on to the next file. It will do this until a video randomly loads fast enough so that it doesn't move on.

This does not happen if random is disabled.

Any ideas?

majosa
New Cone
New Cone
Posts: 1
Joined: 10 Apr 2016 21:50

Re: youtube.lua -- Updated

Postby majosa » 10 Apr 2016 22:09

I'm using this script but with youtube moving to DASH, there is some kind of formats like 60fps or 4K that they aren't available in HLS so this script can't use it.

As youtube is doing some signature checking generated by JS when you ask for the MPD, I'm using youtube-dl to solve this problem and I did a simple script for parse youtube-dl dumped MPD. After this, I tried pass the MPD url to vlc but seems that adaptive isn't working because gives me the lowest quality, so I tried use the input-slave option of vlc and works in some cases but it's enough for me

The script: http://pastebin.com/gP3q2xVL
PD: It needs youtube-dl, jq and lastest vlc git master branch

In recent months I got problems with gnutls being unable to decrypt some tls packets from youtube server so I wonder if anyone knows anything about that

Grigorijg
New Cone
New Cone
Posts: 4
Joined: 28 Nov 2017 20:08

Re: youtube.lua -- Updated

Postby Grigorijg » 28 Nov 2017 20:17

I got problem with playing video 18+ from Youtube. BS Player 2.69 has not the problem. Please, update youtube.luac!

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

Re: youtube.lua -- Updated

Postby Lotesdelere » 29 Nov 2017 13:35


Grigorijg
New Cone
New Cone
Posts: 4
Joined: 28 Nov 2017 20:08

Re: youtube.lua -- Updated

Postby Grigorijg » 29 Nov 2017 18:11

Lotesdelere,
The link
http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD
could not help me. Do not think, that I am porno manjak. :))) But there are many important videos with age limiting 18+.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests