Added saveFrameForVideo()