Quote:
Originally Posted by sirhaden
I'm using multiple instances of the DirectShow LAVVideo decoder to decode several streams simultaneously. The video is H.264 and is in MKV, MP4 and a proprietary container format files. The H.264 in the MKV and proprietary container are both Annex-B prefixed and the decoders run simultaneously without issue. No frame drops or decoder errors. The H.264 is the MP4 files is not Annex-B, the only known difference, and decoding with multiple instances causes the decoders to throw many NAL parsing errors. The result is that frames are dropped randomly from these simultaneous decoder instances.
|
There is no global state in decoding that i'm aware of that would ever cause one instance to influence another one. Are you sure those errors don't happen when decoding single files, which might indicate something is wrong with how the files are being send to the decoder?