Set probesize in VLC
Posted: 13 Sep 2018 14:27
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)
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)