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

Saving Video creation time to Metadata #43

Open
miahoffmannd opened this issue Oct 30, 2024 · 2 comments
Open

Saving Video creation time to Metadata #43

miahoffmannd opened this issue Oct 30, 2024 · 2 comments

Comments

@miahoffmannd
Copy link

I am using these videos to synchronize with other sensing systems. However, the saved metadata from the synchronized videos no longer contains the timestamp (UTC) for when the video was recorded. Is there a away to have this saved either in the metadata or in the debug folder? At the very least, is there a way for the "trimming point" (frame number) for each video to be saved to the debug file, so that this can then be calculated?

@philipqueen
Copy link
Collaborator

Hello, thanks for the issue!

It does seem like this is a desirable feature. I'll look into editing the output metadata to include a calculated timestamp.

@philipqueen
Copy link
Collaborator

@miahoffmannd I'm finally getting a chance to look into this. Would you mind sharing what metadata you're accessing that's storing the timestamp? The videos I'm testing with don't appear to have any metadata related to start time.

Also, in the meantime, it may help you to know there is a file synchronization_debug.toml in the synchronized video folder. It's not well documented, but the top field of this .toml file is [Lag_dictionary], which gives the amount trimmed off the front of each video in seconds. You should be able to use that to update whatever metadata.

For example, in this case:

[Lag_dictionary]
Cam_0 = "2.7099319727891156"
Cam_2 = "0.0"

2.7 seconds were trimmed off the front of Cam_0s video to get it to line up with Cam_2 - i.e. Cam_0 started 2.7 seconds before Cam_2

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