Store number of bytes and recalculate it to pts and dts