From 8288fa6978cefe439e0810884ca6b83542ee6e09 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Mar 2018 14:21:35 +0100 Subject: 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. --- etc/builtin.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'etc') 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 -- cgit v1.2.3