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

Is there an option like "--demuxer-min-bytes" to determine when mpv will buffer again #10456

Open
hululud opened this issue Jul 27, 2022 · 0 comments

Comments

@hululud
Copy link

hululud commented Jul 27, 2022

I want to reduce the time of reading file from my hard drive to avoid damages, so I use the following options:
cache=yes demuxer-max-back-bytes=64M demuxer-max-bytes=2048M
It is helpful when playing small size video.
but for the video that is larger than the memory size, the player will cache and keep the size of 2GB.
This makes mpv behaves like the "cache" option is not used after the cache size is full! (still continuously reading from the drive while playing)

Is there an option to use the cache first, and buffer again when the cache run out (like when the cache is only 200mb left)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant