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

Slow/unstable loading times for high quality video with proxy mode #532

Closed
mark9064 opened this issue May 16, 2019 · 7 comments
Closed

Slow/unstable loading times for high quality video with proxy mode #532

mark9064 opened this issue May 16, 2019 · 7 comments
Labels
bug Something isn't working

Comments

@mark9064
Copy link
Contributor

mark9064 commented May 16, 2019

Using https://invidio.us as the instance with proxy mode and dash enabled, set to 1080p quality.

Load times for content can be really slow (~8s receiving 3MB of data, inet is ~6MB/s) and sometimes the requests take dramatically longer (more than a minute).

Example attached:
image

Edit: Getting 500s for the media requests sometimes too which unrecoverably halts playback (I usually fix this by changing the quality and then changing it back)

@elypter
Copy link

elypter commented May 17, 2019

i think this is something that the player should be responsible for. i wished players showed buffer information instead of a fancy spinning animation. maybe check out video.js and if something like this could be achieved with the current version and if not create a feature request there

@omarroth
Copy link
Contributor

The issue is likely high load. Does this happen on https://dev.invidio.us or another instance?

@Perflyst
Copy link
Contributor

Perflyst commented May 17, 2019 via email

@mark9064
Copy link
Contributor Author

On another instance, it seems to be fine. I suspected it may be high load. Guess there isn't much that can be done about this?

@omarroth omarroth added the bug Something isn't working label May 19, 2019
@omarroth
Copy link
Contributor

Currently looking at ways to speed up the current implementation. Just pushed out ab4df7e which should hopefully help with this.

@omarroth
Copy link
Contributor

omarroth commented Jul 8, 2019

From #562:

I've pushed out e5fa5df which should improve download speed significantly. From some brief testing most files download about 10x faster (limited by local network), although I would appreciate other reports.

In short, YouTube will throttle downloads when requesting segments >10MB (see Rudloff/alltube#217, or ytdl-org/youtube-dl@e4a6091). For downloads this commonly results in throttling down to ~300Kb or lower.

@omarroth
Copy link
Contributor

Closing in favor of #616.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants