Added -pix_fmt option to ensure FFmpeg outputs rgb24.