Media (Intel® 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
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

how to detect whether hevc hw encode supported

walker_y_
Beginner
335 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
335 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

 

0 Kudos
Reply