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
Announcements
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.

How to get Captured frame in Buffer?

Mohammad_T_1
Beginner
368 Views

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
Harshdeep_B_Intel
368 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,

0 Kudos
Mohammad_T_1
Beginner
368 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.

0 Kudos
Harshdeep_B_Intel
368 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, 

0 Kudos
Reply