Menu

#59 addframe function does not work

open
nobody
None
5
2011-05-06
2011-05-06
No

The function "addframe" in SIVP toolbox gives the following error.

This is the example provided in the help.
----------------------------------------------------------------------------------
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);

!--error 999
addframe: Write frame error, please check input image size and depth.
----------------------------------------------------------------------------------

I have Scilab v.5.3.1 for Windows 64 bits on Windows 7.

Discussion


Log in to post a comment.