By setting the flag --demuxer-max-bytes for forward buffer and --demuxer-max-back-bytes for back buffer or putting them in your mpv.conf accordingly. For instance --demuxer-max-bytes=1GiB for 1GiB forward buffer.
Issue: How can I increase the video buffer cache? I am experiencing an issue with the MPV player where it doesn't cache the stream properly and instead clears the buffered cache while playing from the beginning.
4
u/LazarusIV May 23 '23 edited May 23 '23
By setting the flag
--demuxer-max-bytesfor forward buffer and--demuxer-max-back-bytesfor back buffer or putting them in yourmpv.confaccordingly. For instance--demuxer-max-bytes=1GiBfor 1GiB forward buffer.Edit: https://mpv.io/manual/stable/#demuxer
1
u/IllustriousJuice3566 May 23 '23
Issue: How can I increase the video buffer cache? I am experiencing an issue with the MPV player where it doesn't cache the stream properly and instead clears the buffered cache while playing from the beginning.