Just have a look at video_set.