generate a video from the attached file