Trouble playing SOME Youtube Videos

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
arcomax
New Cone
New Cone
Posts: 5
Joined: 16 Nov 2022 13:49

Trouble playing SOME Youtube Videos

Postby arcomax » 16 Nov 2022 14:13

I am using VLC to play Youtube videos. Many Youtube videos play fine. Occasionally I encounter some videos which vlc cannot play smoothly without stuttering. I am running v3.0.17.4 (64 bit) however I have tried both the 32-bit version and the previous version of vlc (3.0.16) with the same results. I have tried many setting changes which are supposed to address the problem of playing videos smoothly on youtube without any difference. To isolate the problem here is one video which causes issues on vlc playback https://www.youtube.com/watch?v=-AvjkQtP_U8 . I have also tried these alternate URLs of the same video https://www.youtube.com/embed/-AvjkQtP_U8 and https://youtu.be/-AvjkQtP_U8. I have made the following settings changes: I have disabled hardware-accelerated decoding for the Input & Codec Settings, I have increased the file cacheing and network cacheing values to 1500 each. I have unchecked Cookies Forwarding for the HTTPS input for Action Modules. Other that that, the settings are the default. I am using a updated copy of youtube.lua. If I disable the video output in VLC settings the audio runs smoothly.

Can someone please try this video and see if they have similar results? Any help resolving this issue would be appreciated.

Here are the debugging messages when I run the video: https://pastebin.com/GWTnRqrB

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

Re: Trouble playing SOME Youtube Videos

Postby Lotesdelere » 17 Nov 2022 09:33

Youtube is throttling the bandwidth for third party programs, so it works more or less for resolutions up to 480p but not for HD:
https://forum.videolan.org/viewtopic.php?f=2&t=160641

arcomax
New Cone
New Cone
Posts: 5
Joined: 16 Nov 2022 13:49

Re: Trouble playing SOME Youtube Videos

Postby arcomax » 17 Nov 2022 11:42

Thanks for responding. Did you try this video and did it show the same symptoms for you as it did for me? For me on playback, the stutters ALWAYS happens consistently in the SAME spots in the video. In addition I have tried this video on other 3-party programs (NewPipe for Android) and it does not have the same playback issues. It is possible that the other app is not playing the video in the same resolution as vlc.

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

Re: Trouble playing SOME Youtube Videos

Postby Lotesdelere » 18 Nov 2022 09:47

the stutters ALWAYS happens consistently in the SAME spots in the video.

And where exactly ?

Please open Tools -> Messages (set Verbosity to 2) before you start the playback, and then paste the full resulting log here or on Pastebin.com or Justpaste.it if it's too long.

arcomax
New Cone
New Cone
Posts: 5
Joined: 16 Nov 2022 13:49

Re: Trouble playing SOME Youtube Videos

Postby arcomax » 18 Nov 2022 13:01

And where exactly ?
I can't tell you anymore because ALL youtube videos have stopped working for me. I'm not sure if it is because of setting changes I've made or something Youtube has done which requires an update to the youtube.lua script. From memory, the first stutter happens at 2s, there are additional stutters which happened at consistent times.
Please open Tools -> Messages (set Verbosity to 2) before you start the conversion, and then paste the full resulting log here or on Pastebin.com or Justpaste.it if it's too long.
Yes I anticipated this would be needed and so I added the log in my first post. Here it is again:
Here are the debugging messages when I run the video: https://pastebin.com/GWTnRqrB

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

Re: Trouble playing SOME Youtube Videos

Postby Lotesdelere » 18 Nov 2022 15:18

I can't tell you anymore because ALL youtube videos have stopped working for me.

Yes, same for me. That's what I got:

Code: Select all

lua debug: Detected new YouTube HTML code layout lua error: Couldn't extract youtube video URL, please check for updates to this script

I'm afraid they have the protection scheme once again so there is not much we can do but to wait for an updated LUA script or to use the YT-DLP workaround:
https://forum.videolan.org/viewtopic.ph ... 15#p495615

arcomax
New Cone
New Cone
Posts: 5
Joined: 16 Nov 2022 13:49

Re: Trouble playing SOME Youtube Videos

Postby arcomax » 18 Nov 2022 17:51

OK. I guess we'll hang tight and hope for an updated lua script. Thanks for checking.

cpm1a+_
Blank Cone
Blank Cone
Posts: 38
Joined: 25 May 2022 09:08

Re: Trouble playing SOME Youtube Videos

Postby cpm1a+_ » 20 Nov 2022 08:46

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false

arcomax
New Cone
New Cone
Posts: 5
Joined: 16 Nov 2022 13:49

Re: Trouble playing SOME Youtube Videos

Postby arcomax » 20 Nov 2022 11:28


kymoh
New Cone
New Cone
Posts: 6
Joined: 17 Aug 2022 06:23

Re: Trouble playing SOME Youtube Videos

Postby kymoh » 24 Nov 2022 08:01

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false
Thank you so much! it worked instantly! I've had the same problem and had been looking so far for a solution.

silentsays
New Cone
New Cone
Posts: 1
Joined: 30 Nov 2022 21:53

Re: Trouble playing SOME Youtube Videos

Postby silentsays » 30 Nov 2022 21:55

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false
doesn't work for me :(

jimmyjak
Blank Cone
Blank Cone
Posts: 11
Joined: 25 Aug 2021 23:05

Re: Trouble playing SOME Youtube Videos

Postby jimmyjak » 12 Dec 2022 22:49

I can confirm this works now (for the most part - one video didn't work?). Make sure you move old unused/backup luac files out of the playlist directory, don't just leave them in there.

Lucas Zxc
Blank Cone
Blank Cone
Posts: 39
Joined: 27 Feb 2022 00:35
VLC version: 3.0.18
Operating System: Windows 11

Re: Trouble playing SOME Youtube Videos

Postby Lucas Zxc » 14 Dec 2022 18:27

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false
https://imgur.com/aSK43X5

that's after I put this Lua file that you talked about, I don't know if it is something I did or if this script doesn't work, but as it is in the image, it didn't work and on my VLC, youtube does not work

Name1
New Cone
New Cone
Posts: 1
Joined: 25 Mar 2023 21:54

Re: Trouble playing SOME Youtube Videos

Postby Name1 » 25 Mar 2023 22:09

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false
Thank you!!! I wonder why I had to manually replace it, you'd think it should be automatically replaced upon updating.

Lucas Zxc
Blank Cone
Blank Cone
Posts: 39
Joined: 27 Feb 2022 00:35
VLC version: 3.0.18
Operating System: Windows 11

Re: Trouble playing SOME Youtube Videos

Postby Lucas Zxc » 13 Apr 2023 13:44

> I guess we'll hang tight and hope for an updated lua script.
here you are:
https://code.videolan.org/videolan/vlc/ ... line=false
Thank you!!! I wonder why I had to manually replace it, you'd think it should be automatically replaced upon updating.
I tried this one and it didn't work, still has the "Couldn't descramble YouTube throttling URL parameter" problem

sanmool
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Apr 2023 12:01

Re: Trouble playing SOME Youtube Videos

Postby sanmool » 08 May 2023 10:57

youtube.lua redirect https://www.youtube.com/watch?v=-AvjkQtP_U8 to

Code: Select all

https://rr1---sn-a5msenll.googlevideo.com/videoplayback?expire=1683556432&ei=8LNYZNCRJISQkgbW8KSYDA&ip=172.89.154.184&id=o-AKycJzwS1UAunUmNNWTtp5YOJBZKHqrg2xmcsiZV9EcW&itag=18&source=youtube&requiressl=yes&mh=yY&mm=31%2C29&mn=sn-a5msenll%2Csn-a5mekn6l&ms=au%2Crdu&mv=m&mvi=1&pl=15&initcwndbps=2586250&vprv=1&svpuc=1&mime=video%2Fmp4&ns=cqLqVYSUWrxwVOxYM-oYDXEN&cnr=14&ratebypass=yes&dur=214.157&lmt=1659285881336177&mt=1683534548&fvip=3&fexp=24007246&c=WEB&txp=5318224&n=sJp2e-cvUJuZ-qGD-Vm&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Csvpuc%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgTqaJaIyyx40dzmnjD5eoJLHMCyJbnOcFFJJ3LA-QlhMCIDpSdIZQcT1EHT9q3gmewnkdM4poFUHS05AEpsb9iAOC&sig=AOq0QJ8wRAIgbJUkuGKuQ5mmSepLFul_kqTjadbxpi-d5y5lbtuXvQQCIFXiL1V2WResbzvWWCPUBcJ5FCjedpgUsnIBxnOt7ykT
Which streams 50kb/s

Other program redirect it to

Code: Select all

https://rr1---sn-a5msenll.googlevideo.com/videoplayback?expire=1683556610&ei=orRYZM-MCJnRkgai1YOoDA&ip=172.89.154.184&id=o-ANJzVzi-Hx5N2Gn--MWxtOQdoDWF9nKch0SlfC99s_94&itag=18&source=youtube&requiressl=yes&mh=yY&mm=31%2C29&mn=sn-a5msenll%2Csn-a5mekn6l&ms=au%2Crdu&mv=m&mvi=1&pl=15&initcwndbps=2587500&spc=qEK7Bz4fNgI26adadKQCxwuKXw_COPo&vprv=1&svpuc=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=214.157&lmt=1659285881336177&mt=1683534789&fvip=3&fexp=24007246&c=ANDROID&txp=5318224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgPiSj7JlV-iDn-y_c3yjwu1aOjsbdn3a5ay_SDSsWxEsCIGyTJ75JIO0TAZZi2ntShOOAyE5_mBTmOwZKlxDsllcd&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgedk-qyeSvvduu9qcGK9xfJiw63rpE7VD0xTF0lrUnfgCIQDsSiKlRJpFb5i-fCb-8s4wcGKXFUGhvQanvJ6pPK68JQ%3D%3D
Which streams 5Mb/s

It seems youtube.lua redirects slow links, Something seems needs to be modified on youtube.lua to redirect fast link



Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests