Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Different video session data gets mixed up

shavkat_n_
Beginner
127 Views

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
127 Views

Hi There,

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

Thanks,

Zachary

Reply