[Libav-user] Reducing latency of file opening (when playing from http)

Bjoern Drabeck bjoern.drabeck at gmail.com
Fri May 10 07:52:28 CEST 2013


>> > Did you test the -probesize and -analyzeduration options?
>>
>> Thanks for your reply, I briefly experimented with the
>> -probesize option, it seems to default to 5000000, and I
>> brought it down to 100000, without any noticeable effect
>
> What happens if you test smaller values?
>
> Carl Eugen
>
I haven't tried less than 100000 yet, because I wanted to find out
first what are "sensible values", as according to the documentation it
seems to increase the probe size internally anyway if it cannot find
the info it needs. If I lower it a lot, and in the end it internally
has to go up to say 100000 again anyway, then there would be no point
for me lowering it, right?

And I haven't changed the analyzeduration at all yet.

Is there a suggested range of values for probing online files?

-Bjoern


More information about the Libav-user mailing list