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.

Bug in the H.264 Hardware Decoder

charliegood
Novice
755 Views

There seems to be a bug in the H.264 hardware decoder.

The sample file is here:
http://www.wowzamedia.com/_h264/wowzamedia.h264

When I run this command I get good looking YUV output:

sample_decode.exe h264 -i wowzamedia.h264 -o wowzamedia_sf.yuv

When I run this command I get bad looking YUV output (blocky artifacts in many frames):

sample_decode.exe -hw h264 -i wowzamedia.h264 -o wowzamedia_hw.yuv


Here are the environment details:
Intel Media SDK: 2.0.12.24071

Hardware:
Processor: Sandy Bridge, 2600K
Driver version: Intel Corporation, 1/7/2011, 8.15.10.2279
Motherboard: ASUS, P8H67-MEVO

The source file was encoded using x264 with this command line:

ffmpeg -i wowzamedia.ts -strict experimental -pass 1 -s 1280x720 -y -an -vcodec libx264 -vpre default -vpre hq -vpre main -g 150 -b 3000k -bt 3000k -threads 64 wowzamedia.mov
ffmpeg -i wowzamedia.ts -strict experimental -pass 2 -s 1280x720 -y -acodec aac -ab 128k -ac 2 -ar 48000 -vcodec libx264 -vpre default -vpre hq -vpre main -g 150 -b 3000k -bt 3000k -threads 64 wowzamedia.mov

Let me know if you need any further information.

Charlie

0 Kudos
1 Solution
charliegood
Novice
755 Views
You guys rock!

Thanks a ton,
Charlie Good
Wowza Media Systems

View solution in original post

0 Kudos
5 Replies
Eric_S_Intel
Employee
755 Views
Sorry for the delay Charile, We will look into this.

-Eric
0 Kudos
IDZ_A_Intel
Employee
755 Views
Hi Charlie,
we have reproduced the issue. Investigation is ongoing, we'll get back to as soon as we know more.
In the meantime, if needed, to circumvent the issue please try different ffmpeg encoder options.
I experimented with ffmpeg (0.5.7) using similar options as you referred to in your report but was not able to produce a H264 stream resulting HW decode issues.
Regards,
Petter
0 Kudos
charliegood
Novice
755 Views
BTW, the version of FFmpeg that I used to create this file is:
ffmpeg-r26400

It is from this site:
http://ffmpeg.arrozcru.org/autobuilds/

Charlie
0 Kudos
IDZ_A_Intel
Employee
755 Views
Hi Charlie,
The issue has been resolved in Media SDK HW encode path. We expect the fix to be part of the 15.22 production build of the platform Graphics Driver (including Intel Media SDK HW implementation) in ww14 (end of March).
Thanks for helping us improve Intel Media SDK/Intel Quick Sync Technology.
Let me know if you have any questions.
Regards,
Petter
0 Kudos
charliegood
Novice
756 Views
You guys rock!

Thanks a ton,
Charlie Good
Wowza Media Systems
0 Kudos
Reply