How to cut a Replay?

Hello everyone! sorry for my bad english.

I am trying to trim the replay at the second I want and save it through C ++. Found the SetDemoTotalTime function:

if(UDemoNetDriver* Driver = World->GetDemoNetDriver())

only the given number is lost on the next replay frame. Ideally, be able to trim the Replay at both the start and end. For example, in shooters, you are shown a record of who killed you and how,
but the recording goes on all the time. Does anyone have any ideas?
Thanks in advance!

Still relevant :frowning: