Read part of frames

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

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)

Products

Tags

Asked:

on 18 Jul 2011

Community Treasure Hunt

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

Start Hunting!