Problem with addframe function in SIVP

congbinh luongmariehanh at yahoo.fr
Sun May 6 03:17:54 CEST 2012


xvidcodec used for SIVP

Hello,

When creating a video file with avifile, I use "addframe" function. While
avifile function works well, the "addframe" function doesnot work and gives
the following error message:

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


I have used the following example:
im = imread('lena.png');
n = avifile('lena.avi', [200;200], 30);
for ii=1:300
    ims = im(200:399, ii:ii+199, :);
    addframe(n, ims);
end
aviclose(n);


May you help me how to debug in order to create a video from different
frames ?

Thank you advance


--
View this message in context: http://mailinglists.scilab.org/Problem-with-addframe-function-in-SIVP-tp3965620.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list