When I execute the following code:
filename = 'seq3.avi';%video file encoded with DivX 5.0
avi_obj=mmreader(filename);no_frame=get(avi_obj,'NumberOfFrames');figurefor i=1:no_frame img=read(avi_obj,i); imshow(img),title(sprintf('Frame %d',i)); drawnow; pause(0.5);end
I got a garbled image.
Best Answer