Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

how to detect whether hevc hw encode supported

walker_y_
Beginner
104 Views

hello there, In our product we have to detect whether our clients' computers support hevc hw encode, does intel supply such api to do this?? if not, please tell me any other way to detect, any help will be highly appreciated, thanks alot

0 Kudos
1 Reply
Jeffrey_M_Intel1
Employee
104 Views

I agree with you that a way to get a quick list of codecs, resolutions, etc. supported by the combination of HW, OS, driver, and Media SDK version would be very helpful.  It's possible now if your application includes some tests but there will be more to it than a single function call.  

Basically,

1) attempt to load the plugin.  If this fails HEVC isn't available.  

2)  set up the mfxVideoParam settings for an HEVC encode then use MFXVideoENCODE_Query or MFXVideoENCODE_Init.  If any warnings or errors assume the HW HEVC codec isn't available. 

You could also check the processor architecture in your application to make sure it is at least 6th Generation Core/Skylake.  There is also no Media SDK function for this, but there are many alternative paths to get this info.

If your app checks the processor and finds the appropriate architecture but the other tests fail you could offer a helpful message to check that the driver is updated to the latest version available.

Hope this helps,

Jeff

 

Reply