Question regarding timestamp generation
Opened this issue · 1 comments
Andrew12Liu commented
Hi Aria team,
I am currently generating timestamps from a vrs file using two methods:
- Using the vrs CLI's command
vrs extract-images
with no special arguments whereby the jpegs have the timestamps. - Using the aria-data-tool python bindings to loop through the data records to retrieve the timestamps.
while True:
data_record = player.getDataRecord()
yield data_record.captureTimestampNs
if not self.vrs_provider.tryFetchNextData(stream_id, data_record.captureTimestampNs):
break
Just curious as to why these two methods yield timestamps that are consistently 1 ms (0.001 seconds) different (ie. method 1 returns timestamps all ending in the digit 7 while method 2 returns timestamps all ending in the digit 9)
SeaOtocinclus commented
Hello @Andrew12Liu, aria_data_tools is now deprecated and we refer our community to use https://github.com/facebookresearch/projectaria_tools