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

13 vues (au cours des 30 derniers jours)
Liran
Liran le 26 Mar 2015
Commenté : Liran le 26 Mar 2015
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 commentaires
Jan
Jan le 26 Mar 2015
What is an "instantaneous frame rate of a frame"? One frame cannot have a rate.
Liran
Liran le 26 Mar 2015
Like Jan said , i meant that i need 2 frames and 2 timestamps for that

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 26 Mar 2015
Modifié(e) : Jan le 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!

Translated by