[libav-api] start of a live stream

Luca Barbato lu_zero at gentoo.org
Wed Sep 2 20:48:26 CEST 2015


On 01/09/15 15:17, Florian Iragne wrote:
> Hi Luca,
> 
> Le 01/09/2015 12:27, Luca Barbato a écrit :
>> Are you using find_stream_info? It does cache quite a bit of data by
>> default. 
> 
> Yes, and i have a quite huge probesize since some of the streams are
> badly encoded...
> 
> So, now, i take the start timestamp right before find_stream_info
> 
>> When the format does the first read over the protocol the stream starts,
>> for rtsp there are specific calls to pause/play.
> 
> Packets readed by find_stream_info are dropped?

No if you do not tell it to do setting a specific flag, by default all
the data is queued up and then forwarded to the demuxer.

lu


More information about the libav-api mailing list