1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00
mpv/DOCS/man
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
..
af.rst various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
ao.rst ao_pipewire: allow specification of remote name 2022-10-06 13:16:35 -07:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: add history deduplication 2022-11-03 13:30:58 +01:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst player: add window-id property 2022-12-05 02:03:25 +00:00
ipc.rst DOCS: fix spelling 2021-08-24 20:44:52 +03:00
javascript.rst lua: command_native_async: always callback a-sync 2022-06-22 14:44:12 +03:00
libmpv.rst DOCS/libmpv: fix typo in linkage section 2022-09-03 12:54:48 -04:00
lua.rst lua: command_native_async: always callback a-sync 2022-06-22 14:44:12 +03:00
mpv.rst DOCS: document E to cycle through Editions 2022-10-24 15:23:41 -04:00
options.rst demux: add --demuxer-hysteresis-secs option to save power with caching 2022-12-30 10:30:22 +01:00
osc.rst osc.lua: add osc-tcspace script option 2022-07-19 23:19:45 +03:00
stats.rst DOCS/stats.rst: fix quoting 2021-08-09 23:57:04 +03:00
vf.rst DOCS/man/vf.rst : replace the outdated syntax 2022-09-27 08:24:54 -04:00
vo.rst vo_kitty: Introduce modern sixel alternative 2022-12-21 19:39:30 +01:00