Media (Intel® oneAPI 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
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

HW HEVC encode failed


Hi, Experts

I try to run sample_encode under Intel Media SDK Samples 2016
​It works well when I encode AVC, but failed when I encode HEVC.

Do you know why?

The log is as follows:

.\sample_encode.exe h265 -i pedestrian_area_1080p25.yuv -o pedestrian_area_1080p25.265 -w 1920 -h 1080 -u speed -hw
plugin_loader.h :164 [INFO] Plugin was loaded from GUID: { 0x6f, 0xad, 0xc7, 0x91, 0xa0, 0xc2, 0xeb, 0x47, 0x9a, 0xb6, 0xdc, 0xd5, 0xea, 0x9d, 0xa3, 0x47 } (Intel (R) Media SDK HW plugin for HEVC ENCODE)
Return on error: error code -3, src\pipeline_encode.cpp 595

Return on error: error code -3, src\pipeline_encode.cpp 1193

Return on error: error code -3, src\pipeline_encode.cpp 1117

Return on error: error code 1,  src\sample_encode.cpp   744
Frame number: 0
Encoding fps: -0plugin_loader.h :190 [INFO] MFXBaseUSER_UnLoad(session=0x013A9B38), sts=0

My environment is as follows:
 Graphics Devices: Intel(R) HD Graphics 6000 Version

CPU: Intel(R) Core(TM) I5-5250u CPU @1.60GHz

OS: Microsoft Windows 10

Arch: 64

Installed Media SDK packages: Intel(R) Media SDK 2016 R2

0 Kudos
1 Reply
New Contributor I

to get hardware hevc encoding you need at leat Skylake, which is 6th generation. Yours is 5th generation Broadwell. you may use software or upgrade