generate .mp4 video for analyze