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

13 次查看(过去 30 天)
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?

回答(1 个)

Jan
Jan 2015-3-26
编辑:Jan 2015-3-26
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!

Translated by