Creating Video from Images with OpenCV 2.4.1 on Ubuntu

后端 未结 3 986
旧巷少年郎
旧巷少年郎 2020-12-18 15:45

Here is my sample program for creating Video from images with OpenCV. But my output video is not working and An error occurred ans stating that \"Could not demultiplex strea

3条回答
  •  死守一世寂寞
    2020-12-18 16:06

    Usually this is not a FOURCC problem. The problem here is that the size of the img and the size used to open the VideoWriter are different.

    In that way you should be sure that IPLImages or Mat images, and the VideoWriter have the same size, otherwise the video output will be wrong.

提交回复
热议问题