Modify OverlayOnVideoFeed to be able to record video.