No need to calculate frameNumber if only a single frame is there.