[Libav-user] Help about custom I/O context
battistel at gmail.com
Mon Dec 23 16:55:52 CET 2013
I have to read an ASF stream from a named pipe (on windows).
The pipe is already opened and I cannot seek.
I've followed these links to begin (I think there is no official doc about
I've found some diffs with official doc:
If my buf size is (1000 + FF_INPUT_BUFFER_PADDING_SIZE), When calling
"avio_alloc_context" the 2nd params buffer_size must be 1000 or (1000 +
Does it make the difference specify AVFormatContecxt->flags =
How to allocate the buffer? av_malloc(1000) or new BYTE?
The articles say that it is mandatory to use AVProbeData and
av_probe_input_format to avoid application crashes, but I have no probs
with normal flow using avformat_open_input and avformat_find_stream_info.
Is this safe?
a. does avformat_open_input reads header only?
b. is avformat_find_stream_info the method that uses analyzeduration and
Do you have some resource about this subject to provide?
thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user