2.0

2.0 | 3 ratings Rate this file 15 Downloads (last 30 days) File Size: 4.84 KB File ID: #142

AviRead

by

 

Reads AVI-files and processes position of pixel maximum per frame

| Watch this File

File Information
Description

Reads AVI-files and processes position of pixel maximum per frame
 
NOTE: supports only uncompressed plain avi(RIFF) files
 
Tested under MATLAB 5.2

MATLAB release MATLAB 5.2 (R10)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
05 Feb 2013 Cedric

Check of nargin must be reversed: first check if nargin <2, then <3, then <4 (otherwise, option2 is not defined)

01 Oct 2009 David

i dunno if it's me, but I'm continuously getting this error:

dat=aviread2('video7.avi',100,10);
??? Index exceeds matrix dimensions.

Error in ==> AviRead2 at 117
if min(xx(h:(h+3))'==MOVI); %check for ID: 'movi'

22 Feb 2007 Reza Zahiri

The function actually reads the avi file and shows the specified frames on separate figures. But it doesn't export the frames! It would have been more appropriate if you could call the function like:

frames = AviRead('tst.avi',20);

where size(frame) = [row col frames]

rather than

AviRead('tst.avi',20);

What is the point of reading the data without providing access to them?

04 Apr 2003 J. Larsen

This function doesn't work.

Contact us