Split a video in to frames #3

  • Follow


Hi all,

Can anyone please help me to split a video to frames using matlab. i recorded a video from a webcam and i needed to split it into frames.

Thanxs.
0
Reply Anne 12/3/2010 4:48:06 PM

"Anne Fernando" <kalashinie1@yahoo.com> wrote in message <idb706$g8l$1@fred.mathworks.com>...
> Hi all,
> 
> Can anyone please help me to split a video to frames using matlab. i recorded a video from a webcam and i needed to split it into frames.
> 
> Thanxs.

Hi Anne, What toolboxes/blocksets do you have? If you have the Signal Processing Blockset and/or the Video and Image Processing Blockset, you can use signalblks.MultimediaFileReader or video.MultimediaFileReader to the read the video one frame at a time from the following formats for Windows:
qt, .mov, .avi, .asf, .asx, .wmv, .mpg, .mpeg, .mp2, .mp4

In base MATLAB see the help for the VideoReader object. The read() method for that object takes an optional input which is the frame index, or range of frame indices.

Wayne
0
Reply Wayne 12/3/2010 5:43:20 PM


1 Replies
642 Views

(page loaded in 0.267 seconds)

Similiar Articles:













7/23/2012 3:51:49 PM


Reply: