Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shavkat_n_
Beginner
38 Views

Different video session data gets mixed up

Hello,

I have a transcode pipeline. Decode is done with custom Codec Plugin which I developed and loaded with MFXVideoSession::Register as dynamic library. vpp & encode is done with Intel Media Encoder (AVC). If single file is decoded it works fine. In case parallel decoding of different streams happen than some frames from one session get mixed into second session (random frames from different file got inserted). As I know each decode operation should happen in different session (MFXVideoSession::mfxSession), and plugin is loaded into separate memory.

While Initializing each session I checked and verify that MFXVideoSession & MFXVideoUSER pointer address is different on each init. Session parameter bIsJoin is set to false, so they are not joined.

Where do you think data sharing happens ?

Doesn't Media pipeline load separate copy of decode library for each transcode session ?

 

0 Kudos
1 Reply
Jiandong_Z_Intel
Employee
38 Views

Hi There,

MSDK sample_multi_transcode shows to use multi-sessions, I think you may want to have a look.

Thanks,

Zachary