Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding timestamp generation #31

Open
Andrew12Liu opened this issue May 16, 2023 · 1 comment
Open

Question regarding timestamp generation #31

Andrew12Liu opened this issue May 16, 2023 · 1 comment

Comments

@Andrew12Liu
Copy link

Andrew12Liu commented May 16, 2023

Hi Aria team,

I am currently generating timestamps from a vrs file using two methods:

  1. Using the vrs CLI's command vrs extract-images with no special arguments whereby the jpegs have the timestamps.
  2. 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
Copy link
Contributor

Hello @Andrew12Liu, aria_data_tools is now deprecated and we refer our community to use https://github.com/facebookresearch/projectaria_tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants