-
-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube slows down video transfer rate - wrong DASH video url? #573
Comments
Are you experiencing slow transfer rates when passing the URL to somewhere or also when you're downloading/streaming a video using YoutubeExplode's own methods (i.e. |
When I pass the URL to an other program like VLC, the first is running most of the time with the usual speed. If I try to play the next video, the VLC player stops (for buffering) very frequently. anxdpanic/plugin.video.youtube#163 The performance of YTExplode is ok, if I understand the discussion of the Kodi addon right, the video URL needs some additional parameter to tell Youtube not to slow down the internet connection speed (?) The YouTube addon of Kodi ist not useable anymore if you want to play more than one video in a row. |
I recognised a similar issue (maybe the same) with the YoutubeDownloader. Sometimes videos in the webm container takes forever to download. I also couldn't really figure out why it is so, because when I tried to downloaded the same Video with the mp4 Container, it worked perfectly. |
Download is affected in the same way. First video fast, 2nd very very slow |
Hello @Tyrrrz, I've created a POC/workaround/fix for this issue. My solution is based on this PR (--> descrambling the Note that this a JavaScript project, so I've used https://github.com/paulbartrum/jurassic to evaluate the JavaScript. 1️⃣ 2️⃣ 3️⃣ ❗ Link to: |
I just created a work-around NuGet ... var streams = await streamClient.GetManifestAndFixStreamUrlsAsync(videoId); But I guess I'll wait for the PR... |
Thanks for the tip. According to the comment here, it seems an alternative workaround is to mask requests with Android user agent. I suggest we do that first and leave the Open to PRs. |
to test it, I need a nuget package. So when you get the video url disguised as an Android device, you get a working link with the right n parameter? (Unfortunately I have not much time these days) |
Allegedly, yes. |
It seems the issue has already been pinpointed (to some degree) but I have noticed that even short videos less than a minute will take 15 minutes or more to download if I pick any quality above 480p as an mp4. Downloads still function so not a huge deal, but awaiting testing and updates. |
Version
6.03
Details
I use vlc or Kodi to play the DASH streams extracted with YTExplode and found an unusual behavior. When I play two in a row in a playlist, the 2nd stops all the time and waits for the stream data. I thought it was Kodi or vlc related but I found a discussion about this in the youtube-dl area.
ytdl-org/youtube-dl#29326 (comment)
ytdl-org/youtube-dl#29326 (comment)
Please take a look into this. If I understand this correctly, the video url must be calculated/altered to avoid active throttling from youtube (?)
Steps to reproduce
Please read the discussion from the link above
The text was updated successfully, but these errors were encountered: