Is there a way to extract the exact timestamp of a frame when reading it from a video

30 views (last 30 days)
My general purpose here is to determine the instantaneous frame rate of a frame.
I can't calculate it using the duration and general frame rate out of the video object ( read by VideoReader).
Any ideas?

Answers (1)

Jan
Jan on 26 Mar 2015
Edited: Jan on 26 Mar 2015
The docs mention the property CurrentTime. How does this differ from your needs? Do you have a video with a varying frame rate? If so, what about importing two frames and calculating the difference between the CurrentTime values?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!