Compute remaining_time
Add video_helper