diff options
author | wm4 <wm4@nowhere> | 2017-02-23 18:18:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-02-23 18:18:22 +0100 |
commit | 6f8c953042a7a964686e5923f5c61025ef6b842e (patch) | |
tree | d856c3b4b58f5e6e40fe1dd89b81fb254a58922c /DOCS/man/options.rst | |
parent | 992e58248867bacc195e7a3a2a7fff04cf8f097e (diff) | |
download | mpv-6f8c953042a7a964686e5923f5c61025ef6b842e.tar.bz2 mpv-6f8c953042a7a964686e5923f5c61025ef6b842e.tar.xz |
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.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r-- | DOCS/man/options.rst | 9 |
1 files changed, 9 insertions, 0 deletions
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=<value>`` Maximum length in seconds to analyze the stream properties. +``--demuxer-lavf-probe-info=<yes|no|auto>`` + 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 |