Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe23.iad.POSTED!7564ea0f!not-for-mail
From: "Nasser M. Abbasi" <nma@12000.org>
Newsgroups: comp.soft-sys.matlab
References: <hcanq2$qfi$1@fred.mathworks.com> <b86f3483-1873-4911-9dce-6f6824993c5c@v30g2000yqm.googlegroups.com> <hcavtc$au4$1@fred.mathworks.com>
Subject: Re: Need urgent help in video image processing
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3598
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-EsetId: 321EA926BF2033396252
X-EsetScannerBuild: 5929
Message-ID: <7P7Gm.14$v47.9@newsfe23.iad>
NNTP-Posting-Host: ncdeodfefpjopplmihjclpliaacepnnh
X-Complaints-To: abuse@charter.net
X-Trace: aeeollfjikkhiokkadefjppgkgeilljafbihaealajceofmoncdeodfefpjopplmmgdmmdanmgdmojgmbpfleebipkijiajhoeggmpchongebilpklknkjjijemhimimgemlcloahffblffb
NNTP-Posting-Date: Thu, 29 Oct 2009 03:17:23 UTC
Date: Wed, 28 Oct 2009 22:17:22 -0500
Xref: news.mathworks.com comp.soft-sys.matlab:580827



"Syed Ali" <sfaisalalipk@gmail.com> wrote in message 
news:hcavtc$au4$1@fred.mathworks.com...
> Sir,
>
The problem is when i am using aviread, the MATLAB
> creates the structure having all my frames in it,
> in cdata and map, then I dont know how to get excess
> of each frame and how to read the values from each frame.

Well, then why don't you just read the specific frames from the file?

from help

"mov = aviread(filename, index) reads only the frames specified by index. 
index can be a single index or an array of indices into the video stream. In 
AVI files, the first frame has the index value 1, the second frame has the 
index value 2, and so on."

--Nasser