- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page