Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mohammad_T_1
Beginner
40 Views

How to get Captured frame in Buffer?

Hi 

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.

0 Kudos
3 Replies
40 Views

Hi Mohammad,

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.

Thanks,

Mohammad_T_1
Beginner
40 Views

Hi Harsh 

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.

40 Views

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.

Thanks, 

Reply