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

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?

2 Kommentare

What is an "instantaneous frame rate of a frame"? One frame cannot have a rate.
Like Jan said , i meant that i need 2 frames and 2 timestamps for that

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 26 Mär. 2015
Bearbeitet: Jan am 26 Mär. 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?

Gefragt:

am 26 Mär. 2015

Kommentiert:

am 26 Mär. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by