question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timestamp of each frame

See original GitHub issue

Is calling cameraTexture.getTimestamp() after cameraTexture.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 from SurfaceTexture the time when frame was captured, or received by the SurfaceTexture? Is the time between these two significantly low (<1ms) to be ignorable?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
paleozogtcommented, Mar 19, 2018

@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.

0reactions
paleozogtcommented, Mar 20, 2018

@CreaRo if you post on SO, can you link to it here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting timestamp of each frame in a video - Stack Overflow
Is there a possibility in Python to get the timestamp (in milliseconds) of each frame in the video independent of the framerate?
Read more >
Extract timestamp of each frame in a video - OpenCV Forum
I have captured several videos from a USB camera connected to NVidia Jetson TX2 board using openCV VideoCapture and VideoWriter methods.
Read more >
How to get the timestamp of each frame in Viewer
Hello. I am using DAVIS346 and would like to get the timestamp of each frame. How can I get the timestamp of each...
Read more >
Save frames of live video with timestamps - Python OpenCV
Security camera videos we have seen that there is a timestamp and date at top of the frame.
Read more >
Converting video timestamps to frame numbers
For example, the timestamp 10215.90 s would be frame 153238.5 given 15 fps. It's hard to figure out whether the correct number is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found