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)thendisp("Cannot create video file: "+outPath);endfori=1:nrOfFilesimg=imread(inPath(i));VideoWriter_write(videoWriter,img);disp(i)enddelete_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.