for whole video, use duration from video header