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
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.
3042 Discussions

MFXVideoCORE_SyncOperation is returning MFX_ERR_UNDEFINED_BEHAVIOR


We are developing a decoder based application and we are facing an issue. The issue is similar to this post but we are using only Intel decoder.

We are referring “mediasdk-man.pdf” for our application development. We are following the steps given in “Example 1: Decoding Pseudo Code” for decoding operation. The issue is that when we call “SyncOperation()” API, it is returning “MFX_ERR_UNDEFINED_BEHAVIOR”. We are not able to find-out what is causing this error. There is no error during initialization of the decoder and “DecodeFrameAsync()” API is returning MFX_ERR_NONE.

Could someone help us to understand what is going wrong here? We printed the buffer addresses and they are proper.

0 Kudos
1 Reply

Hi Mayur,

Since there is no source code and error messages, I can't tell what the problem is,

Here are some general glue to the problem,

  1. Refer to tutorial and sample code for the API programming, tutorial is simple but might have bugs, sample is accurate but might be complicated.
  2. You can build our open source media stack for debugging purpose.
  3. Starting from a working code, and moving toward to your current configuration, then you can figure out which parameter causes the problem


0 Kudos