Added -pix_fmt option to ensure FFmpeg outputs rgb24 for video.
Added vertical flip option for video.