mpv/DOCS
Sultan Alsawaf eb29aa4839 demux: add --demuxer-hysteresis-secs option to save power with caching
Buffering ahead nonstop into the cache results in nonstop disk or network
activity to read stream data from wherever it may originate. Currently,
there's no way to configure the demuxer to back off once it's buffered
ahead enough data, since the cache limit will be perpetually not-reached as
a stream continues to play, until the entire stream is eventually buffered.

On a laptop with an i9-12900H with decoding performed by the iGPU,
watching a locally-saved 1080p video which hasn't been buffered into the
page cache consumes approximately 15 W even with caching enabled. When
configuring a hysteresis to make the demuxer back off, power consumption
drops to 9 W when watching the same video, resulting in a whopping 6 W of
power savings.

To make it possible to attain significant power savings via caching, add
a --demuxer-hysteresis-secs option to configure a hysteresis to make the
demuxer back off until there's only the configured number of seconds
remaining in the cache from the current playback position.

This feature is disabled by default.
2022-12-30 10:30:22 +01:00
..
man demux: add --demuxer-hysteresis-secs option to save power with caching 2022-12-30 10:30:22 +01:00
build-system-differences.md build: add meson build support 2021-11-14 19:13:10 +00:00
client-api-changes.rst player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
compatibility.rst
compile-windows.md DOCS: convert 3rd party http links to https 2021-08-17 13:42:21 +00:00
contribute.md DOCS/contrinute: add commit title example prefixes 2021-08-15 22:15:27 +03:00
edl-mpv.rst edl: add a way to add tags 2021-05-11 22:18:40 +02:00
encoding.rst DOCS/encoding: remove the legacy option syntax 2022-07-07 21:12:57 -04:00
interface-changes.rst demux: add --demuxer-hysteresis-secs option to save power with caching 2022-12-30 10:30:22 +01:00
mplayer-changes.rst DOCS: convert mpv.io and github links to https 2021-08-17 13:42:21 +00:00
release-policy.md DOCS: update release policy to match reality 2022-11-13 15:01:34 +01:00
tech-overview.txt various: fix typos 2022-04-25 09:07:18 -04:00
waf-buildsystem.rst DOCS: replace dead waf book link with working one 2021-08-17 13:42:21 +00:00