Page 1 of 1

Set probesize in VLC

Posted: 13 Sep 2018 14:27
by dbleliev
Hi everybody,

I'm trying to play a flv stream which is hosted by an IP camera. VLC connects to this stream, but it takes a very long time before the connection is made.
After some further investigation I found out that when i use ffplay and set the probesize to a lower value the stream will start much quicker.
Unfortunately I'm unable to get this command working in the VLC player.

I have tried:
vlc URL -vvvv --avcodec-debug=1 --avformat-options={probesize=32000}
vlc URL -vvvv --avcodec-debug=1 --avformat-options=probesize=32000
vlc URL -vvvv --avcodec-debug=1 --avformat-options='{probesize=32000}'
vlc URL -vvvv --avcodec-debug=1 --avformat-options={'probesize=32000'}

But not of them resulted in the probesize actually being set.
When looking into the message in VLC it will show 1 error:
avcodec error: Unknown option "probesize"

The ffplay command that I'm using:
ffplay.exe -flv_ignore_prevtag 1 -probesize 32000

Since we are using VLC to open these stream I was wondering if this parameter can also be passed into VLC?
Or if there is any other method of improving the connection time in vlc for these flv files.

(There is also a ticket from 8 years ago showing a simular issue: https://trac.videolan.org/vlc/ticket/4419#no1)

Re: Set probesize in VLC

Posted: 17 Oct 2018 13:46
by dbleliev
Nobody has any ideas?

Re: Set probesize in VLC

Posted: 26 Sep 2019 12:24
by muratoffalex
Same problem. I need change ffmpeg analyzeduration in VLC.
Maybe someone knows?

Re: Set probesize in VLC

Posted: 26 Sep 2019 13:32
by InTheWings
Mostly because the options are not going to the right location,
while avformat makes no difference listing them :/

This needs code change to deal with that "design"

Re: Set probesize in VLC

Posted: 26 Sep 2019 15:00
by muratoffalex
Mostly because the options are not going to the right location,
while avformat makes no difference listing them :/

This needs code change to deal with that "design"

Thanks for answer!
Does this mean that now it cannot be used?

Re: Set probesize in VLC

Posted: 26 Sep 2019 18:08
by InTheWings

Thanks for answer!
Does this mean that now it cannot be used?
Don't care.
That's fixed on master branch. Use nightlies or wait 4.0