audio and video pts calculations above