Community
cancel
Showing results for 
Search instead for 
Did you mean: 
SDeut
Beginner
94 Views

HEVC decoder plugin blocks AVC decoder

I'm using Intel® Media Server Studio 2015 R4. My application makes usage of the media sdk library (libmfxsw64.dll) for decoding AVC video.

As soon as I add the HEVC decoder plugin folder to my application (15dd936825ad475ea34e35f3f54217a6 plus content), the initialization of AVC decoding fails in MFXVideoDECODE_Init with error MFX_ERR_INVALID_VIDEO_PARAM.

I even do NOT load the plugin with MFXVideoUSER_Load (.. MFX_PLUGINID_HEVCD_SW ..), so I wonder what's the influence of the plugin folder here?

0 Kudos
5 Replies
94 Views

Hi Stephan,

Is this behavior being observed on our samples or tutorial applications? If so, can you please send us more details (exact sample used, command line, any changes to the code. OS/platform) - we do not expect such behavior from our samples/tutorials.

SDeut
Beginner
94 Views

sorry, I described one thing wrong, I did load the plugin:

 sts = MFXVideoUSER_Load (m_mfxSession, & MFX_PLUGINID_HEVCD_SW, 1) ;

if you add this line in sample, e.g. pipeline_decode.cpp directly after session.InitEx () call, you can see the behavior in sample as well.

The sample does not decode AVC anymore, and fails in MFXVideoDECODE_Init.

Alexey_F_Intel
Employee
94 Views

you can't have 2 decoders in one session. you need to create another session for the second decoder. Each session allows to include 1 Decoder, 1 VPP and 1 encoder. for more complicated configuration you need to create multiple sessions and join them

94 Views

Ah, thanks for the clarification Stephan - Alexey's response is spot on. You can take a look at our sample_multi_transcode as an example of how to create multiple media sessions.

SDeut
Beginner
94 Views

thank you for reply.

I did not have two decoders in session, but did always load the plugin, regardless of the video codec. So I do this dynamically now, this fixes my problem.

Reply