From 6f8c953042a7a964686e5923f5c61025ef6b842e Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 23 Feb 2017 18:18:22 +0100 Subject: demux_lavf: skip avformat_find_stream_info() for some formats Includes hls, mp4, mkv by default. This also avoids stupid things like decoding at least 1 video frame per stream in the demuxer. This also add --demuxer-lavf-probe-info to give finer control over what happens. --- DOCS/man/options.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 2cb7e422a1..093fb2b31e 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2552,6 +2552,15 @@ Demuxer ``--demuxer-lavf-analyzeduration=`` Maximum length in seconds to analyze the stream properties. +``--demuxer-lavf-probe-info=`` + Whether to probe stream information (default: auto). Technically, this + controls whether libavformat's ``avformat_find_stream_info()`` function + is called. Usually it's safer to call it, but it can also make startup + slower. + + The ``auto`` choice (the default) tries to skip this for a few know-safe + whitelisted formats, while calling it for everything else. + ``--demuxer-lavf-probescore=<1-100>`` Minimum required libavformat probe score. Lower values will require less data to be loaded (makes streams start faster), but makes file -- cgit v1.2.3