how to convert plot images to video for every time interval