I downloaded latest MEDIA SDK (media_sdk_5.0.486.98113) with INDE free edition. I downloaded the sample apps too.
In decode sample app i changed the line
mfxVideoParams.mfx.CodecId = MFX_CODEC_AVC;
mfxVideoParams.mfx.CodecId = MFX_CODEC_HEVC;
And provided an H.265 encoded bitstream as input but the MFXVideoDECODE_DecodeHeader API returns MFX_ERR_UNSUPPORTED/wrong dll loaded. Can someone guide me where I'm going wrong.
Media SDK requires an additional plugin library to decode h.265 streams. This plugin is currently available only as a part of Media server studio and can be downloaded from https://software.intel.com/en-us/intel-media-server-studio. HEVC decode is currently not available as a part of Media SDK client.
Thanks for reply. I downloaded the evaluation version. and changed the linking of libmfx.lib from client version to server version. Still I'm getting the same error. How do i link the hevcd.dll files.
HEVC decoder is implemented as a plugin (hevcd.dll) and is loaded using specific APIs that application must call (LoadPlugin). A plugin can be loaded either by GUID (declared in mfxplugin.h) or by path. Sample_decode actually shows these capabilities. You should not modify the code directly as you described, but you should just specify codec type as "h265" in command line and add "-p" option. For example:
sample_decode.exe h265 -i in.bit -o out.yuv -p 15dd936825ad475ea34e35f3f54217a6