Reading a frame from Videos

How to read a frame from a video and store it in an array........ suppose there is a video of duration 5 sec, how to obtain a frame at each second (total of 5 frames) and store it in a new array......?????

2 Comments

Im also having same problem, i know how to read a video, but i am not getting how to take 1 second frames i.e, 25 frames per second, and store those in my hard disk. plz somebody help me...
Figure out how many frames that is, then call imwrite that many times, once for each frame.

Answers (1)

Walter Roberson
Walter Roberson on 24 Mar 2013
See VideoReader()

This question is closed.

Asked:

on 24 Mar 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!