summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-02 14:21:35 +0100
committerJan Ekström <jeebjp@gmail.com>2018-03-03 02:38:01 +0200
commit8288fa6978cefe439e0810884ca6b83542ee6e09 (patch)
tree01c96455896f0b9d9f3d6d43c19ce2e380697545 /etc
parent3075017ebfb63328e527c714c53fc867febdbbe3 (diff)
downloadmpv-8288fa6978cefe439e0810884ca6b83542ee6e09.tar.bz2
mpv-8288fa6978cefe439e0810884ca6b83542ee6e09.tar.xz
options: add a builtin low-latency profile
Well I guess it doesn't help that much. Also add some stuff that might help to the manpage. The fundamental problem with some "live" sources (e.g. x11grab) is actually that the player gets behind initially, and never thinks it has to catch up. This is also why --untimed can help.
Diffstat (limited to 'etc')
-rw-r--r--etc/builtin.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/builtin.conf b/etc/builtin.conf
index 0f53b3974c..79a5414a35 100644
--- a/etc/builtin.conf
+++ b/etc/builtin.conf
@@ -43,6 +43,16 @@ correct-downscaling=yes
sigmoid-upscaling=yes
deband=yes
+[low-latency]
+audio-buffer=0 # minimize extra audio buffer (can lead to dropouts)
+vd-lavc-threads=1 # multithreaded decoding buffers extra frames
+cache-pause=no # do not pause on underruns
+demuxer-lavf-o-add=fflags=+nobuffer # can help for weird reasons
+demuxer-lavf-probe-info=nostreams # avoid probing unless absolutely needed
+demuxer-lavf-analyzeduration=0.1 # if it probes, reduce it
+video-sync=audio # DS currently requires reading ahead a frame
+interpolation=no # requires reference frames (more buffering)
+
# Compatibility alias (deprecated)
[opengl-hq]
profile=gpu-hq