Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Different video session data gets mixed up

shavkat_n_
Beginner
490 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
490 Views

Hi There,

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

Thanks,

Zachary

0 Kudos
Reply