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.
- Development Tools
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
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,
- Refer to tutorial and sample code for the API programming, tutorial is simple but might have bugs, sample is accurate but might be complicated.
- You can build our open source media stack for debugging purpose.
- Starting from a working code, and moving toward to your current configuration, then you can figure out which parameter causes the problem