preview port must be in yuv format