Dear ,
from the scicv toolbox I use the new_VideoWriter - function:
videoWriter = new_VideoWriter(filename, fourcc, fps, frameSize)
Everything fine so far, except:
There are artefacts in the final video., which I guess are connected
to compression.
Here are some lines from my code:
videoWriter = new_VideoWriter(outPath, CV_FOURCC('M', 'P', '4', '2'),
frameRate, size(img));
if ~VideoWriter_isOpened(videoWriter) then
disp("Cannot create video file: " + outPath);end
for i = 1:nrOfFiles
img = imread(inPath(i));
VideoWriter_write(videoWriter, img);
disp(i)end
delete_VideoWriter(videoWriter);
*Question 1:* What other formats are possible for "CV_FOURCC"?
I just used 'M', 'P', '4', '2' , because it's the only
mentioned in the help.
*Question 2:* What format should - ideally - the input images have?
Currently I use BMP's, created with xs2bmp.
Thank you,
Philipp
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users