I am working on sample_decode for screen capture. Screen is captured very well but i want to fill buffer with frame(Screen captured frame).
In sample_decode inside RunDecode-> inside SyncOutputSurface-> i got decoded frame, but not able to fill msdk_char *buffer.
Help me with this.
Can you please share more information and clarify what you mean by "but not able to fill msdk_char *buffer." What is the error message? Also, depending on memory type in your use case, make sure you have allocated required surfaces and verify using query function. Please refer to this article which describes MediaSDK framework :https://software.intel.com/en-us/articles/framework-for-developing-applications-using-media-sdk
As this is a specific question related to mediasdk, please post your questions on mediasdk forum here: https://software.intel.com/en-us/forums/intel-media-sdk. It will be easier for us to track and respond.
I have resolved my problem, thanks for your concern, what i wanted to do is , getting Y and UV data from m_pCurrentOutputSurface->surface->frame.Data.Y and m_pCurrentOutputSurface->surface->frame.Data.UV into UINT8* buffer.
I have done that. Thanks again.
Thanks for sharing more information. Glad, you were able to resolve the issue, then will close this thread. Please open a new thread on further media questions at mediasdk forum here: https://software.intel.com/en-us/forums/intel-media-sdk. It will be easier for us to track and respond.