Read part of frames

2 views (last 30 days)
razevedo
razevedo on 18 Jul 2011
How i read for exemple 10 in 10 frames of a video in matlab?

Accepted Answer

Nuno
Nuno on 18 Jul 2011
You can use:
nframes = fileinfo.NumFrames;
i = 1:10:nframes
  1 Comment
Walter Roberson
Walter Roberson on 18 Jul 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.

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!