Support mjpeg based capture and recording