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

15.45 drivers breaking change (bug) in H264 decoding

alex78
New Contributor I
552 Views

Hi all,

the 15.45 driver version introduces a breaking change (bug) in H264 decoding. It is the second time, that new drivers broke our app. In short, for some H264 streams the DecodeFrameAsync function now returns MFX_WRN_DEVICE_BUSY with no reason and without any changes in our code. We can reproduce the behaviour on a Win 10 Skylake computer with the driver package win64_154025.4463 (works well) and win64_154510.4542 (introduces the issue).

The sample_decode app is too complex to reproduce the problem easily, because it handles the "device busy" state and thus hides the issue. Moreover, we are always passing discrete samples for decoding, forcing the output by calling DecodeFrameAsync with a NULL bitstream if necessary and running SyncOperation immediately. So we created a minimalistic app that helps to reproduce the issue easily.

1. Unpack the small repro project (no error checking and designed mostly only for the attached h264 file). It might be necessary to update the lib directories to find the libmfx.lib to link against.

2. Run it with the attached h264 file as a command line parameter.

3. With older drivers it will decode all the frames and output the result.

4. With newer drivers it will break on MFX_WRN_DEVICE_BUSY (with no reason for it) while decoding the second frame in the file.

The (even more) interesting thing is, that this problem does happen only for some H264 bitstreams, not for all, but was never seen with the older driver testing hundreds of streams.

Thanks for looking into this.

Alex

 

 

 

0 Kudos
4 Replies
alex78
New Contributor I
552 Views

Hi all, well, so we have identified a breaking change (or bug) back in February, which can still be reproduced with latest drivers  - 15.45.19.4678. We have also created a simple to use repro. Is no one interested in it? Especially some Intel guys who might be monitoring this forum...

Thanks.

Alex

0 Kudos
ViCue_S_
New Contributor I
552 Views

they have hired AI to host the forum, but it yet in learning stage. can say only "Thanks so much, this is a valuable feedback”. It is making progress, be patient!

0 Kudos
Sergey_S_Intel1
Employee
552 Views

We have assigned and engineer to take a look to the problem. Please wait results in a couple of days.

0 Kudos
alex78
New Contributor I
552 Views

Hi Sergey,

I am not sure what you meant by "a couple of days" - now it's almost 50. We found a workaround  for this (breaking) change, but we are still unsure about the nature of the problem. Any chance for a resolution here?

Thanks.

Alex

0 Kudos
Reply