Ask Your Question

Revision history [back]

Only way of creating video's thorugh frames is by using the VideoWriter class. It makes sure that encoding is done correctly and frames are added sequentially. If you are constrained from using it, then you can't use openCV to process video.

Could you share the reason? Maybe we could suggest a workaround.

Another thing could be to install ffmpeg, and call the ffmpeg functionality inside your code by executing a cmd command from code directly, like here.