You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd><p class="first">Once the <tt class="docutils literal"><span class="pre">--demuxer-max-bytes</span></tt> limit is reached, this value can be used
4946
+
to specify a hysteresis before the demuxer will buffer ahead again. This
4947
+
specifies the maximum number of seconds from the current playback position
4948
+
that needs to be remaining in the cache before the demuxer will continue
4949
+
buffering ahead.</p>
4950
+
<p>For example, with a value of 10 seconds specified, the demuxer will buffer
4951
+
ahead up to <tt class="docutils literal"><span class="pre">--demuxer-max-bytes</span></tt> and won't start buffering ahead again
4952
+
until there is only 10 seconds of content left in the cache. When the
4953
+
demuxer starts buffering ahead again, it will buffer ahead up to
4954
+
<tt class="docutils literal"><span class="pre">--demuxer-max-bytes</span></tt> and stop until there's only 10 seconds of content
4955
+
remaining in the cache, and so on.</p>
4956
+
<p>This can provide significant power savings and reduce load by making the
4957
+
demuxer only buffer ahead in chunks at a time rather than buffering ahead
4958
+
nonstop to keep the cache filled.</p>
4959
+
<p>If you want to save power and reduce load, configure this to a small number
4960
+
that's much lower than <tt class="docutils literal"><span class="pre">--cache-secs</span></tt> or <tt class="docutils literal"><span class="pre">--demuxer-readahead-secs</span></tt>.
4961
+
If it takes a long time to buffer anything at all for a given stream (like
4962
+
when reading from a very slow disk is involved), then the hysteresis value
4963
+
should be larger to compensate.</p>
4964
+
<p class="last">The default value is 0 seconds, which disables the caching hysteresis. A
4965
+
value of 10 seconds probably works well for most usecases.</p>
0 commit comments