MatLab and aviread
- From: "Gyanu Acharya" <gacharya@xxxxxxxx>
- Date: Fri, 15 Sep 2006 11:56:37 -0400
I am using Matlab7 student version.I have taken a long movie of
10030 frames with frame grabber.
1) aviinfo is
Filename: 'I52Sept11_Vid2.avi'
FileSize: 3.0865e+009
FileModDate: '11-Sep-2006 15:25:29'
NumFrames: 10030
FramesPerSecond: 30.0000
Width: 640
Height: 480
ImageType: 'indexed'
VideoCompression: 'none'
Quality: 0
NumColormapEntries: 256
2) When I try to read this .avi file in matlab, for example,
N = 3476;
mov = aviread('I52Sept11_Vid2',N);
mov =
cdata: [480x640 uint8]
colormap: [256x3 double]
it can only read up tp 3476 frames.When I try to read 3477th and
other higher frames,the error message is as follows
N = 3477;
mov = aviread('I52Sept11_Vid2',N);
??? Error getting frame data.
Error in ==> aviread at 65
X = readavi(info.Filename,index-1);
The movie can be played in Window media player and when I checked
with AVICodec, there is DIB Codec in the computer which supports this
file.
Does anybody have any idea why doesn't Matlab read this file ? Thanks
in advance for your help.
Gyanu
.
- Prev by Date: Re: Repeat Texture as Background Image
- Next by Date: Re: Repeat Texture as Background Image
- Previous by thread: auto generating MEX from Fortran sources
- Next by thread: AVI format in Matlab
- Index(es):
Relevant Pages
|