Export screen recording + screenshots at runtime

Hi there,

I’m building a desktop (PC/Mac) application which generates visual art at runtime using a compute shader.
My goal is to export screenshots and 5 minute segments of video, at runtime, every __ minutes to capture how the simulation evolves over time.

Does anyone have any idea how I could achieve this?

I looked into options and the only thing I found information on was the unity recorder

However, it looks like you can only do this in the unity editor and not on application builds.

Any help is massively appreciated!
Cheers

Hey,
Unfortunately, the recorder is does not run at runtime.
You could maybe use:
ScreenCapture.CaptureScreenshot