youtube.lua no longer grabbing best quality version?

Discuss your Lua playlist, album art and interface scripts.
master-hax
New Cone
New Cone
Posts: 1
Joined: 24 May 2020 11:38

youtube.lua no longer grabbing best quality version?

Postby master-hax » 24 May 2020 11:44

I don't know how long this has been happening, but I tried viewing a YouTube video today in VLC & the resolution is always 640x360, even though the source video is available in 1080p on the YouTube website. I tried with a bunch of other 1080p video with the same result: VLC codec info shows 640x360 video resolution.

Did something change on YouTube's side that broke the youtube.lua script? Anyone else experiencing this?

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 no longer grabbing best quality version?

Postby Jean-Baptiste Kempf » 19 Jun 2020 18:45

Youtube changed.
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.

T800
New Cone
New Cone
Posts: 4
Joined: 28 Sep 2019 05:18

Re: youtube.lua no longer grabbing best quality version?

Postby T800 » 25 Jul 2020 18:01

Can we expect a fix for this issue sometime?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: youtube.lua no longer grabbing best quality version?

Postby mederi » 26 Jul 2020 14:21

Use the latest VLC version or even better the latest VLC nightly build: http://nightlies.videolan.org/
Check following settings in VLC preferences: Tools > Preferences > Show settings=All >
> Input/Codecs: Preferred video resolution
> Input/Codecs \ Demuxers \ Adaptive: ...

T800
New Cone
New Cone
Posts: 4
Joined: 28 Sep 2019 05:18

Re: youtube.lua no longer grabbing best quality version?

Postby T800 » 27 Jul 2020 00:06

Thank you for your input. I tried the latest stable (3.0.11) and the most recent nightly build from the 4.x branch too, then - like you suggested - checked the settings (were already correct btw.), but still no luck. VLC opens 720p by all means, instead of the 1080p one. I even replaced youtube.lua to the latest available from the github repo. Any other suggestions, please?

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

Re: youtube.lua no longer grabbing best quality version?

Postby Lotesdelere » 27 Jul 2020 11:04



Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests