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

Comments

@mark9064
Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner

commented May 17, 2019

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

@Perflyst

This comment has been minimized.

Copy link
Contributor

commented May 17, 2019

@mark9064

This comment has been minimized.

Copy link
Author

commented May 17, 2019

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 label May 19, 2019
@omarroth

This comment has been minimized.

Copy link
Owner

commented May 19, 2019

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

@omarroth

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Owner

commented Aug 15, 2019

Closing in favor of #616.

@omarroth omarroth closed this Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.