-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Timestamp of each frame #89
Comments
Alright, I'm almost certain the timestamp isn't accurate. Though the
Any pointers would help! |
Alriiiiight. I am probably wrong with my above comment. I checked the internals of This probably makes sense because Another strange thing, I could not find Right before I stop trying to get a more accurate timestamp, the real reason I am digging into this is I'm trying to sync Android's |
@crearo I've had the same problem in trying to sync the timestamps from the camera and the microphone. It's still unclear to me how that's supposed to work. |
You may have better luck getting answers on stackoverflow, especially if you can get Eddy Talvala's attention. For example: Note in particular the last sentence, which seems to say that you generally can't do what you're trying to do... but the third comment suggests a possible workaround. |
Thanks @fadden. I've tried his suggestions, and though logically it makes sense, the non-deterministic difference in gyro and camera frames timestamps persists. I'll put up a question on SO though. |
@crearo if you post on SO, can you link to it here? |
Is calling
cameraTexture.getTimestamp()
aftercameraTexture.updateTexImage()
the closest time in nanoseconds we can get to when the camera sensor exposed first row of image sensor?I see a comment by @fadden on this SO post that says you can get the timestamp from the camera if you send the frames to a SurfaceTexture, and do your work in GLES instead of Java. Is the
timestamp
fromSurfaceTexture
the time when frame was captured, or received by the SurfaceTexture? Is the time between these two significantly low (<1ms) to be ignorable?The text was updated successfully, but these errors were encountered: