Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lin__dexiong
Beginner
59 Views

Decode 4k video Return MFX_ERR_DEVICE_FAILED

hi all,

I am using intel media sdk(2016) cycle decoding a 4k h264 video files. However, after a while, the DecodeFrameAsync interface returns MFX_ERR_DEVICE_FAILED. Running time is uncertain, may be ten minutes, may be ten hours.
May I ask what this may be the reason?

 CPU:    Intel(R) Core(TM) i5-6600 CPU
 OS:     Microsoft Windows 10
 Arch:   64 bits

Thanks in advance!

 
0 Kudos
4 Replies
Tamer_Assad
Innovator
59 Views

Hi Dominic,

 

Please  provide additional information about the problem.

does DecodeFrameAsync () return MFX_ERR_DEVICE_FAILED randomly?

does it behave the same way when processing the same media multiple times?

does this happen on all media samples?

could you please explain the process flow?

 

Best regards,

Tamer

Mark_L_Intel1
Moderator
59 Views

Hi Dominic,

I think Tamer already answered your questions, you can try followings as he suggested:

1. Using the same content to see what is the failure pattern.

2. Using the different content to see if the failure pattern changed.

3. See if the same content in #1 can be reproduce in our sample apps.

In general, the media pipeline was created during the configuration but the error happens in the main loop when the pipeline being executed; so your best chance would be looking at the configuration especially the memory and other parameters, also make sure the graphic driver the latest since it is updated sometimes.

Mark Liu

lin__dexiong
Beginner
59 Views

Hi all,

Thanks for your Reply.

1. The timing for returning MFX_ERR_DEVICE_FAILED is random: 

    we decode the same video file repeatedly, and the frames that fail are random. Switching the different data sources (4K), the same problem will be reproduced.


2. Once MFX_ERR_DEVICE_FAILED is returned, it can not be recovered, and decoding again returns the error.


3. Test Demo is based on the intel_sample code to implement.

Dominic Lin

Tamer_Assad
Innovator
59 Views

Hi Dominic,

 

Could you please confirm the results of the original sample application without modification, as Mark pointed:

3. See if the same content in #1 can be reproduce in our sample apps.

If the original sample works well, then you will have to provide information about your modifications, so that the problem can be further investigated.

 

Best regards,

Tamer