-
Notifications
You must be signed in to change notification settings - Fork 3k
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
mpv via yt-dlp very slowly caching videos from youtube and other services, but pure yt-dlp downloading very fast. #12254
Comments
Does |
No, unfortunately, this option has no effect on repeatability. |
duplicate/cantfix, see #8655 (comment) |
I have a problem not only with youtube, but also with other video services. I realize that this sounds definitely not like an ffmpeg problem, since ffmpeg's job is encoding and decoding, not splitting requests into pieces to bypass video service limitations. |
P.S. I don't agree with closing this problem as the problem in mpv is not solved. |
That's such a crutch...
But in any case for streaming broadcasts neither this option nor the option with separate audio stream loading is not suitable and mpv should load via yt-dlp instead of ffmpeg itself by default! |
also meeting the same problem,while i think tring use code like these help with a cracked aria2c.exe:
But it doesn't. |
Important Information
mpv 0.36.0+git.20230730.1bbc7a2c Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
built on Jul 31 2023
libplacebo version: v6.292.1
FFmpeg version: 6.0
FFmpeg library versions:
libavutil 58.2.100
libavcodec 60.3.100
libavformat 60.3.100
libswscale 7.1.100
libavfilter 9.3.100
libswresample 4.10.100
openSUSE Tumbleweed
https://build.opensuse.org/package/show/multimedia:apps/mpv
Reproduction steps
~/.mpv/config
The
--no-config
option has no effect on repeatability.run mpv with any 1080p60 video (-f299+251), for example
mpv -f299+251 https://www.youtube.com/watch?v=dkihNga60tw
Wait for 5-10 minutes of playback and observe the cached time.
Expected behavior
The caching time should be constantly increasing, possibly up to a certain high limit. This has always been the case in the past.
Actual behavior
For the first 5 minutes the caching works as it should, then it slows down a lot and then quickly depletes to zero and the caching speed is not enough for comfortable viewing.
Log file
mpv-log.txt
Additional information
I can assume that mpv has nothing to do with it and it's either yt-dlp or youtube or my internet provider.
It's easy to check.
yt-dlp -f'bestvideo[height<=1080][fps<=?60][vcodec^=?avc]+bestaudio/best[height<=1080][fps<=?60][vcodec^=?avc]' https://www.youtube.com/watch?v=dkihNga60tw
5.25GiB in 00:09:56 at 9.01MiB/s
I have a 100 MB connection and the average speed is close to the maximum connection speed.
So neither yt-dlp nor youtube nor my provider restricts access to youtube and other video services.
From this I conclude that something is wrong with mpv.
I started to notice such behavior about a month ago, before that it did not happen.
The text was updated successfully, but these errors were encountered: