TSharedPtr destroyes previous RawPointer.

Sorry I can’t help you with that. It was a complete mess and Sequencer/UMovieSceneCapture is clearly not made for gameplay capture.

We use FFmpeg now in combination with highresshot. But not for capturing during play.