Is there blueprint or c++ way to take the view of a scene capture 2d and save it to a file image or buffered into a video?

I have some issues getting the take recorder to render video as its crashing due the isvalid() check on my vr pawn during the render. So i wanted to find a workaround that i record and save frames from a camera view directly in game. Any and all suggestions welcome.