avifile - Create a new video file to write. (experimental)
avifile create a new video file. After the video file is created, addframe can be used to add frame to the file. Remember to close the opened file using aviclose(n) or avicloseall().
Video support for SIVP is only available when SIVP is compiled with OpenCV which support video I/O.
im = imread('lena.png'); n = avifile('lena.avi', [300;300], 30); for ii=1:200 ims = im(ii:512-ii, ii:512-ii, :); addframe(n, ims); end aviclose(n);
aviinfo, aviopen, camopen, addframe, aviclose, avicloseall, avilistopened, avireadframe,