[Intel Media SDK] H.264 Decoder SyncOperation Failure

[Intel Media SDK] H.264 Decoder SyncOperation Failure

Hi,

We are facing one issue with Intel Media SDK H.264 SW decoder (V1.15, CentOS).

Normally IMSDK H.264 SW decoder is running fine. But after couple of hours continuous run, MFXVideoCORE_SyncOperation API returns MFX_WRN_IN_EXECUTION.

We are not sure under which conditions this warning can be returned by this API.

As this was warning, we tried waiting for ~100ms and re-tried same SyncOperation with same parameters. Even then SyncOperation fails and comes out after default timeout of 60sec.

We have tried for ~100 loops but still SyncOperation call doesn’t succeed.

Based on these observations, we have below queries,

  1. Under what condition MFX_WRN_IN_EXECUTION warning is returned from MFXVideoCORE_SyncOperation API?
  2. What is recommended way of handling this warning?
    1. This is not present in sample application or in API document.
  3. If we feed more bitstream data to decoder and make fresh MFXVideoCORE_SyncOperation, would it work?
  4. Is this known issue? Does this exist with HW decoder as well?

Please share your inputs.

Thanks and regards,

Satyajit 

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

Any response on this issue?

Below are more updates on this. .

  1. So far this issue is not yet seen with GPU decoder (API V1.13). Any clue? reasons?
  2. We re-looked at the order of calls. Sequence in which surfaces/bitstream is fed looks fine. Suddenly MFX_WRN_IN_EXECUTION comes.  
  3. When MFX_WRN_IN_EXECUTION error occurs,
    1. Even after feeding more number of input frames and input surfaces, issue still exists.
    2. I tried to reset the decoder with MFXVideoDECODE_Reset API. In this condition, API never returns.
    3. I also tried to close down decoder with MFXVideoDECODE_Close API. This API also never returns.
    4.  

Right now, there is no recovery when this issue happens. Anybody from Intel, please help.

Thanks and regards,

Satyajit   

Hi Satyajit,

Apologies for delay in response. Lets first start by updating to latest MSDK API ver 1.16. Can you please share your system information and provide us an analyzer log at <installed path>/mediaSDK/tools/analyzer.exe.  Generally when MFX_WRN_IN_EXECUTION function is returned means active tasks are executing or in queue in one of the sessions. So, we recommend call this function again after all the tasks are completed. Can you provide us a reproducer of the issue, its interesting and will require further investigation, you can start with our samples/tutorials here: https://software.intel.com/en-us/intel-media-server-studio-support/code-.... Please take a looks at our sample_decode. This issue is new not seen with HW decoder.

For quick turnaround on mediasdk related issues, please direct your questions here:  https://software.intel.com/en-us/forums/intel-media-sdk. It will be easier for us to track and respond.

Thanks,

Note : This issue is being discussed offline to debug as this needs customer application to reproduce, which consist of company sensitive information.

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today