Export texture target to disk is slow

Hi,

I’m quite new to UE4 and I’m trying to the image captured by my security cameras to the disk. The way it is currently done it uses a SceneCaptureComponent2D and thanks to the RenderTarget it is then exported to disk like so:

The problem is that it takes around 100ms to export the image and I have multiple cameras running at the same time. As a result, it affects the FPS significantly.
While I don’t necessarily need to keep real-time performance, I would like to optimize it a bit so that I can have dozens of cameras recording the scene at acceptable performance.

Here is the parameters of the Render Target:

Note that I’ve tried exporting to a faster disk like an SSD but the result is the same.

Is there a way to optimize it without affecting too much the rendering quality? Otherwise, is there another way to address this problem of exporting camera captures to disk?

1 Like