simplify pts/dts reading