logo       

Re: multiple decoders in separate threads: msg#00250

video.ffmpeg.user

Subject: Re: multiple decoders in separate threads

<ffmpeg <at> zevv.nl> writes:

>
> I am developing an application that is decoding and displaying multiple
> video's at the same time using ffmpeg. Each video is decoded and
> displayed in a separate thread.
>
> Things seem to go wrong when multiple threads are using the avc libs,
> even no data at all is shared between the threads; every thread has its
> own AVFormatContext, AVCodecContext, AVCodec, etc.
>
> I suspect there is are issues with running multiple ffmpeg instances in
> a threading environment. Is this supposed to work properly, and am I
> just missing something ?
>

if I understand this right, you are starting different instances of ffmpeg? or
did you modify the source of ffmpeg, enabling multiple threads?

can you also please send your ./configure arguments?

btw: in ffmpeg/ffmpeg.c "multiple threads" sometimes appear, but I never got it
working


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise