add duration to video object