From 16eca7139a98609b71a25a0e6095b18e28f62025 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 2 Mar 2018 13:59:10 +0100 Subject: demux_lavf: add --demuxer-lavf-probe-info=nostreams Another attempt to try to make it behave in certain situations. --- DOCS/man/options.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 2716302e72..8d916ea849 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2718,7 +2718,7 @@ Demuxer ``--demuxer-lavf-analyzeduration=`` Maximum length in seconds to analyze the stream properties. -``--demuxer-lavf-probe-info=`` +``--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 @@ -2727,6 +2727,10 @@ Demuxer The ``auto`` choice (the default) tries to skip this for a few know-safe whitelisted formats, while calling it for everything else. + The ``nostreams`` choice only calls it if and only if the file seems to + contain no streams after opening (helpful in cases when calling the function + is needed to detect streams at all, such as with FLV files). + ``--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