record a video in game like outlast 2

I would like to try on how to record a video ingame like on how they did in outlast 2 where you can watch it again anytime you want while you’re playing.

You either have to record an image sequence and save that, that can be slow and large in size.

The other option is to use an external library, you could use FFMPEG for example.

There are also plugins that do this for you already: