switched from YUV format to MJPEG