Prev: JVM crashes
Next: truncating decimals
From: Solomon Hurst on 24 Sep 2009 15:51 Hello, I am trying to use aviread to display an image from a video. I have been able to successfully use the function with some .avi files, but have been unable to with the one of particular interest to my application. The error I get is: >> test = aviread(strcat(path,file)) ??? Error using ==> readavi Error getting frame data. It has no problem using aviinfo for this same file: >> aviinfo(strcat(path,file)) ans = Filename: [1x67 char] FileSize: 6488450 FileModDate: '12-Feb-2009 21:09:56' NumFrames: 330 FramesPerSecond: 30.0650 Width: 320 Height: 240 ImageType: 'truecolor' VideoCompression: 'I420' Quality: 0 NumColormapEntries: 0 I know the avi data isn't corrupted, as I am able to play it in Windows Media Player without trouble. Does anyone know why this might not be working? Alternately, would anyone know another workaround? Unfortunately I do not have the image processing or image acquisition toolboxes. Any help is greatly appreciated. -Solomon Hurst
|
Pages: 1 Prev: JVM crashes Next: truncating decimals |