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.
3058 Discussions

What QueryIMPL return if Hardware decode but software encode ?

Kelvin
Beginner
454 Views
Hi,

I am trying to use Media SDK 2.0 for video decode using Intel System Controller Hub US15W

http://download.intel.com/embedded/software/EMGD/324002.pdf

According to the above document it support hardware decode but not encode.

A call to MFXVideoSession Init return software only. If I use this session to decode video will Media SDK use hardware to decode the H.264 video ? If not, which library I can use to decode video using hardware ?

Thanks !

- Kelvin
0 Kudos
3 Replies
IDZ_A_Intel
Employee
454 Views
If you initialize MediaSDK session chosing only software, you will get only software implementation both for encoding and decoding. It is best to initialize with AUTO, that is the universal approach. If MediaSDK dispatcher finds hardware that it knows about, it uses it. Of course the correspondent driver has to be installed. This is the answer to your question about the hardware library, it is installed and is registered together with the driver for Intel graphics.

If some is hardware found, and the driver is in place, QueryIMPL returns that is uses hardware implementation. Howerver if some features (like encoding) aren't supported in hardware, there is going to be a software fallback. Your application can detect this by getting a PARTIAL_ACCELERATION status from Query function of the required component, e.g. h.264 ENCODE.
0 Kudos
IDZ_A_Intel
Employee
454 Views
Hi Kelvin,

Gregory, thanks for providing your input.

Intel System Controller Hub US15W (Z5xx) platform unfortunately does not have support for HW acceleration via Intel Media SDK. If you use Media SDK on this platform you will always fall back on SW. The only Atom platform for which we have partial Media SDK support is E6xx.
http://edc.intel.com/Link.aspx?id=5234

Note that the focus of Intel Media SDK is notebook and desktop platforms and that HW encode is only available in the current generation platforms, code names Sandy Bridge.

Regards,
Petter
0 Kudos
Kelvin
Beginner
454 Views

Thanks for your reply. In this case I have to use DXVA then

http://download.intel.com/embedded/processor/whitepaper/322503.pdf

- Kelvin
0 Kudos
Reply