From 589e70e17d677d4bb763c10bf93ecd5d0db6f82b Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Jan 2015 12:49:13 +0100 Subject: vf_vapoursynth: autodetect CPU count This adds an "auto" choice to the concurrent-frames suboption, and makes it the default. I'm not so sure about making this the default, though. It could lead to excessive buffering with large CPU counts. But we'll see. --- DOCS/man/vf.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index e0427bd88d..bc95d0e1c5 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -753,13 +753,16 @@ Available filters are: filters work anyway.) ``concurrent-frames`` - Number of frames that should be requested in parallel (default: 2). The + Number of frames that should be requested in parallel. The level of concurrency depends on the filter and how quickly mpv can decode video to feed the filter. This value should probably be proportional to the number of cores on your machine. Most time, making it higher than the number of cores can actually make it slower. + By default, this uses the special value ``auto``, which sets the option + to the number of detected logical CPU cores. + The following variables are defined by mpv: ``video_in`` -- cgit v1.2.3