>
> Hi,
>
>
> On Feb 3, 2010, at 12:56 AM, Shubham Bhattacharya <
> [email protected]> wrote:
>
>> Can I open two different files of the same format at the same and yet
>> operate independently on them using the libAvformat ?
>>
>
> Yes, but you will need to open each of them separately into distinct
> AvFormatContexts.
>
> Ronald
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>


yes, i was actually worried any global data structure instances in the
individual demuxer implementations, and also the AvInputFormat instance of
each demuxer (which is not on the heap).
However a fresh look at this gives the idea, that if use separate
AvformatContexts, the data relevant to each file container would be
independently maintained in the context pointer and the AVStream instances.
So to sum it up, I think it will not be a problem to use the avformat in the
ways I stated earlier.
Thank you all for the inputs.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to