How to get the data buffer from Screen capture and save it separately using Windows.Graphics.Capture

Mahesh C M 151 Reputation points
2021-06-14T05:41:29.043+00:00

Hi,

I have an application having screen capture to video functionalities which developed in uwp platform. I have to read the data buffer from the MediaStreamSource(Windows.Graphics.Capture) and save those buffer data to separate chunk files. and i have to do a parallel upload to server while recording happening. I can get the each frames from the MediaStreamSource, but i didn't see any option to get the buffer data. I have used below given documentation to implement this. Is there any way to get the buffer data and save it separate files.

https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/screen-capture-video

Please anyone help me on this.

Thanks in Advance !

Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.