Saturday 2 February 2013

Frames to AVI using Matlab Code


avi = avifile('output1.avi');
avi.COMPRESSION ='None';
for i =1:numOfFrames
   %%%read image
   %%% call imread or related something
   %%%%%%%%%%%%%
   avi = addframe(avi,img);
end
aviobj = close(avi);


Reverse thing,you may also see Video to frames


No comments:

Post a Comment