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?
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.
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.
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
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.