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
Very slow HTTP fetch on a specific host #12778
Comments
Additional information:
|
I have the same issue on Linux and Android
|
More information, it's possible to open this url in VLC by disabling Hardware Acceleration in Input-Codec: MPV should be able to handle this url. |
If you pass Why? If you use |
Actually, I just thought of a workaround if you are not bandwidth-capped. Use
Magic! |
It looks similar to #7854. |
Yes and no. In this case, the server does support ranges/seeking just fine. There are continuous seeks forward and backward that actually work. It's just seeking takes time and invalidates the smaller-than-buffer-size buffer every time. So increasing the buffer size to make it larger than the seeks will help, but a lot of cache invalidation will still take place. Increasing the buffer size to a value larger than the stream itself is a fix in a sense. But that's more like fully downloading to ram than streaming , and kind of requires knowing the size of the stream beforehand. And what if the stream is huge, let's say 10GiB in size, and audio only starts at >9GiB? Increasing the The only potential downside, which I'm probably overstating a lot, is the little bit of bandwidth wasted from early demuxing and buffering (done twice). It is maybe safe to assume that people who play URLs directly, instead of downloading/grabbing streams first, are not that bandwidth strapped, but you never know. |
Important Information
Provide following Information:
If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases
Reproduction steps
mpv https://web.lotuscdn.vn/2023/10/30/ecb56ab1476e2b5dcd9f04456f9c89b0_1698619279984-4gzz6xob0v.mp4 -v --no-ytdl --no-config --log-file=lotus.txt
Range
request that server refuse to loadVideo: https://imgur.com/UOjjP2j
Try to reproduce your issue with --no-config first. If it isn't reproducible
with --no-config try to first find out which option or script causes your issue.
Describe the reproduction steps as precise as possible. It's very likely that
the bug you experience wasn't reproduced by the developer because the workflow
differs from your own.
Expected behavior
So video should be able to load as fast as in browsers
Actual behavior
Video loads slowly like stoneage
Log file
Make a log file made with -v -v or --log-file=output.txt, paste it to
https://0x0.st/ or attach it to the github issue, and replace this text with a
link to it.
Sample files
Sample files needed to reproduce this issue can be uploaded to https://0x0.st/
or similar sites. (Only needed if the issue cannot be reproduced without it.)
Do not use garbage like "cloud storage", especially not Google Drive.
The text was updated successfully, but these errors were encountered: