[Ffmpeg-devel] Parallel mpeg4/h264 decoding in same process
Wed Jun 1 12:53:03 CEST 2005
> I have noticed that when trying to do parallel decoding with MPEG4
> (meaning simultaneous avcodec_decode_video calls, serialized by a
> mutex), video decoding corrupts the image.
> Note that I am not talking about using the same codec context of
> I mean different streams using different AVCodecContext*.
btw you don't need a mutex on avcodec_decode...(), it should only be
needed around find/alloc_foo.
I've been told here several times that was fixed... *g*
> My question is:
> 1) Has anyone succeeded in decoding simultaneous streams in the same
Not better than on that screenshot :)
> 2) If I move the static variables that I suspect to be shared among
> decoding operations, is there a chance to patch it into repository?
Note some static variables are const tables though, those shouldn't
need to be moved.
More information about the ffmpeg-devel