convertwebcam images to a time lapse video