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

Ensure video playback is accurately timed #6

Open
Trent3211 opened this issue Aug 16, 2022 · 3 comments
Open

Ensure video playback is accurately timed #6

Trent3211 opened this issue Aug 16, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Trent3211
Copy link
Collaborator

The visualization for the preliminary tool (not yet uploaded to remote) feels a bit sped up. Having an accurate frame per second, or fps value derived from video metadata/video data file constants may be important for syncing IMU data with video data, so this is an important issue to investigate.

@Trent3211 Trent3211 added the bug Something isn't working label Aug 16, 2022
@Trent3211
Copy link
Collaborator Author

ffmpeg -- command line tool for getting frame rate from video data

@Trent3211
Copy link
Collaborator Author

take video with timestamp for sanity check with ffmpeg

@Trent3211
Copy link
Collaborator Author

Equation : y = mx + b
y = timestamp
x = frame number
m = frame rate
b = offset (user typed in?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant