Ask Your Question
0

Writing a video from image sequence

asked 2013-05-13 11:52:17 -0600

alfa_80 gravatar image

updated 2013-05-13 12:12:08 -0600

I would like to know about how I can record(logic behind writing a video file) a video taking an input frame by frame. I know that I can use the functionality offered by VideoWriter class, but I am constrained from using that class because of some unavoidable reasons.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-14 04:06:09 -0600

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.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-13 11:52:17 -0600

Seen: 265 times

Last updated: May 14 '13