Use FFmpeg Encode Images to an video