Mpv: Are the "input cache" settings now out of date?

Created on 20 Jan 2020  Â·  1Comment  Â·  Source: mpv-player/mpv

I had these settings left in my mpv.conf — I've not updated the config file (from https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf):

# cache settings
#
# Use 150MB input cache by default. The cache is enabled for network streams only.
#cache-default=153600
#
# Use 150MB input cache for everything, even local files.
#cache=153600
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
#cache-pause=no
#
# Read ahead about 5 seconds of audio and video packets.
#demuxer-readahead-secs=5.0
#
# Raise readahead from demuxer-readahead-secs to this value if a cache is active.
#cache-secs=50.0

Currently, if I want to increase the cache size, do I raise the "RAM cache" value?

# cache settings
#
# Use a large seekable RAM cache even for local input.
#cache=yes
#
# Use extra large RAM cache (needs cache=yes to make it useful).
#demuxer-max-bytes=500M
#demuxer-max-back-bytes=100M
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
#cache-pause=no
#
# Store cache payload on the hard disk instead of in RAM. (This may negatively
# impact performance unless used for slow input such as network.)
#cache-dir=~/.cache/
#cache-on-disk=yes
question

>All comments

Currently, if I want to increase the cache size, do I raise the "RAM cache" value?

Yes, the old settings (cache, cache-default, ...) were removed and won't work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olivergondza picture olivergondza  Â·  3Comments

yuvadm picture yuvadm  Â·  3Comments

jcowgill picture jcowgill  Â·  3Comments

lightonflux picture lightonflux  Â·  4Comments

beew picture beew  Â·  3Comments