Capture frame.