addframe - Add a frame to the video file. (experimental)
addframe add a frame to video file n.
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);
addframe does not check the size and date type of input image now.
aviinfo, aviopen, camopen, avifile, avireadframe, aviclose, avicloseall, avilistopened,