Skip to content
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] Downloads frequently slow down #8147

Closed
5 tasks done
n-buna404 opened this issue Apr 4, 2022 · 14 comments · Fixed by #9948
Closed
5 tasks done

[YouTube] Downloads frequently slow down #8147

n-buna404 opened this issue Apr 4, 2022 · 14 comments · Fixed by #9948
Labels
bug Issue is related to a bug downloader Issue is related to the downloader youtube Service, https://www.youtube.com/

Comments

@n-buna404
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.22.1

Steps to reproduce the bug

  1. Click any video.
  2. Click download ( I always choose 4 threads)

Expected behavior

Expected the download speed be fast around 3-4 MB/s consistently since I had 50mbps connection.

Actual behavior

Initially the download speed be fast but it then throttle to 5-30kbps.
The only way to bypass is manually pause and start when see it throttle until the download finished

Screenshots/Screen recordings

link to screen recordings
https://www18.zippyshare.com/v/FqIKCChl/file.html

Logs

No response

Affected Android/Custom ROM version

android 9 ( stock android)

Affected device model

Xiaomi Mi A1

Additional information

No response

@n-buna404 n-buna404 added the bug Issue is related to a bug label Apr 4, 2022
@AudricV
Copy link
Member

AudricV commented Apr 4, 2022

Unfortunately, that's YouTube which is throttling more and more streams (generally when HTTP chunk size reaches 10MB) when you are not using the same way official clients use to fetch streams.

Could you try the APK of TeamNewPipe/NewPipeExtractor#780 and see if by any chance, the issue is solved? Thank you in advance.

You may also try as a workaround to set 32 download threads.

@AudricV AudricV added youtube Service, https://www.youtube.com/ downloader Issue is related to the downloader waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. labels Apr 4, 2022
@n-buna404
Copy link
Author

n-buna404 commented Apr 4, 2022

Unfortunately, that's YouTube which is throttling more and more streams (generally when HTTP chunk size reaches 10MB) when you are not using the same way official clients use to fetch streams.

Could you try the APK of TeamNewPipe/NewPipeExtractor#780 and see if by any chance, the issue is solved? Thank you in advance.

I tested the debug apk but the issue still persists. (Edit issue still persists in version 0.23.1)

You may also try as a workaround to set 32 download threads.

The workaround of 32 threads will still throttle but it takes a bit longer before the speed was throttle down.

Since it was Youtube feel free to close the issue if needed.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Apr 4, 2022
@NewNewPipe
Copy link

I noticed the same thing, freezing the download during or towards the end. If at the end of the download then I pause and redo the download, then it is complete.

Android 10

Current version of Newpipe 0.22.1

3 or 4 threads of downloading.

@dumindu-dev
Copy link

dumindu-dev commented Apr 6, 2022

I noticed the same thing, freezing the download during or towards the end. If at the end of the download then I pause and redo the download, then it is complete.

Similar issue #4514

@moriel5
Copy link

moriel5 commented Apr 7, 2022

Yeah, I remember when this started happening to me a few years ago, though at the time I thought it was due to my had cellular reception (I have always had 32 download threads set).

Nowadays, I just figured it must be YouTube throttling all connections, so I didn't think of posting a big report.
For me, it generally starts throttling at ~88-98%.

@NewNewPipe

This comment was marked as off-topic.

@n-buna404

This comment was marked as off-topic.

@NewNewPipe

This comment was marked as off-topic.

@NewNewPipe

This comment was marked as off-topic.

@NewNewPipe

This comment was marked as off-topic.

@moriel5
Copy link

moriel5 commented May 4, 2022

@NewNewPipe I have seen this issue in the past, not just with NewPipe and VLC but with pretty much anything.

In all cases, it was due to slight corruption of the file, because of networking conditions, and redownloading the files (unless the source files were corrupted) fixed the issue.

@opusforlife2
Copy link
Collaborator

it was due to slight corruption of the file

@NewNewPipe This entire discussion should have happened in its own issue. I've marked the latest comments as off-topic, but don't hesitate to confirm if this is indeed the case.

@NewNewPipe
Copy link

NewNewPipe commented May 6, 2022

It looks like some kind of download error but strange something like shadow ban noticed only on a specific channel on several videos with the same effect of not matching the original also on previous versions of NP.
I downloaded the film again using NP and again the same problem occurred.

I will keep an eye on the situation on the channel, if the problem recurs I will let you know in a new topic.
Another VD program downloads the video correctly so it looks like the problem is on the NP side unfortunately.

@moriel5
Copy link

moriel5 commented May 6, 2022

@NewNewPipe Hmm... Then would you please share the name of the channel?
However, please do so in a new issue, since this is off topic, as @opusforlife2 had already said.

@AudricV AudricV changed the title Newpipe download frequent slow down [YouTube] Downloads frequently slow down Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug downloader Issue is related to the downloader youtube Service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants