Saving a screen video by C++ API

Hi guys,

I want to start recording a screen video when some specific condition is satisfied. So, I need to find a way to take a screen video from C++ API. I have searched forums but I could not find any information. Does anybody know anything about it?

Thanks.

You could try to use a commented out feature of the pixelstreaming-plugin:

In “FVideoEncoder::OnEncodedFrame” is a code-fragement which writes out a h264 file of the captured framebuffer if you uncomment it.

Unfortunately, sound is not exported.

It would be interesting to know if there is another way…