Read part of frames

3 visualizzazioni (ultimi 30 giorni)
razevedo
razevedo il 18 Lug 2011
How i read for exemple 10 in 10 frames of a video in matlab?

Risposta accettata

Nuno
Nuno il 18 Lug 2011
You can use:
nframes = fileinfo.NumFrames;
i = 1:10:nframes
  1 Commento
Walter Roberson
Walter Roberson il 18 Lug 2011
Note: if the video is stored with variable frame rate, then you will have to read to the end of the video file first before you can determine how many frames were present.

Accedi per commentare.

Più risposte (0)

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by