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 guarantee hw decoding of H264 video

SAI_L_Intel
Employee
710 Views
I have a 1600x1200 4Mbps H264 video stream. When I use the sample_decoder.exe from MediaSDK 2012 to decode this video file, and add the "-hw" switch to the command line, decoding is still dispatched to the CPU software (according to GPA Media Performance window). I even checked by MFXQueryIMPL and it returns MFX_IMPL_HARDWARE. If I play this video file in media player, I can see in GPA that it's decoded by GPU HW. If I use sample_decoder.exe on a smaller video (e.g. 1920x1088), it's scheduled to GPU.

Doesn't MediaSDK support hw decoding of large frame size?Since media player can use GPU HW, how to enforce hw decoding of this video stream in MediaSDK?

Thanks.
0 Kudos
4 Replies
Petter_L_Intel
Employee
710 Views
Hi sailuo,

Unfortunately Media SDK does not support HW acceleration for the frame resolution you are using. Please refer to an earlier post on this matter for details:http://software.intel.com/en-us/forums/showthread.php?t=83570&o=d&s=lr

If the frame size is greater, the implementation will fall back on the SW codec, as you have seen.

Regards,
Petter
0 Kudos
Vassili_Yakovlev
Beginner
710 Views
Hi,

Hardware accelerated encoding/decoding supports levels up to 4.2. As a consequence of this is the limitation defined by standards for the maximum bitrate, resolution and framerate, in this case the resolution islimitedby 1920x1088 (HD).

Kind regards,
Vassili
0 Kudos
Petter_L_Intel
Employee
710 Views
Hi Vassili,

Are you saying you cannot encode/decode stream using AVC levels above 4.2? If so, I would suggest revisiting the set of parameters you use. For instance, AVC profile High with level 5.0 and 5.1 does work fine with HW acceleration.

Regards,
Petter
0 Kudos
Vassili_Yakovlev
Beginner
710 Views
Hi Petter,

Indeed, it works also with levels above 4.2.

Regards,
Vassili
0 Kudos
Reply