Open Computer Vision

December 19, 2008

Creating Your own Videos in OpenCV

Filed under: Uncategorized — Abhijeet @ 11:14 am

This site has moved to



  1. Please can somebody kindly give me the codes to save detect faces in opencv?

    Thank you so much in advance.

    Comment by Felix — May 23, 2009 @ 4:11 pm | Reply

  2. hi,
    its a wonderful idea but I couldnt make the program run. Its giving segmentation fault in line no-43 i.e where CvVideoWriter is used.
    I think CV_FOURCC is creating a problem I dont know.
    I use ubuntu the CV_FOURCC may be different!
    Whats say?
    Moreover the two loops in line numbers 53 and 69 should look like:
    for(int counter=0;counter <300;counter++)

    notice the "”.


    Comment by shankhs — May 24, 2009 @ 10:09 am | Reply

    • Thank you …Very much I realized that when you told the same…I apologize…but the concept was right and morover all the code here is in the previous version and not written in the pre version which is the latest version…

      Comment by colouredpages — May 25, 2009 @ 3:57 am | Reply

  3. Good one. Have you tried to make automatic collages from images? I feel it is a better way of displaying all the photos in a personal image collection than making a video. I have been thinking of it for some time, but dint get time to start coding.

    Comment by Jai Pillai — July 5, 2010 @ 2:42 pm | Reply

    • I did not think of such a thing…!!

      Comment by colouredpages — July 6, 2010 @ 9:10 am | Reply

  4. hi! Amazing codes you’ve got. After I ran the program I got the movie.avi file in my Debug folder but oddly, I can run the video.

    Any idea how to solve it?

    Thanks ^^

    Comment by slwong — August 17, 2011 @ 11:59 am | Reply

  5. the code is working for me, but the movie.avi is failed to played back by media players . pls help

    Comment by albozemed — August 6, 2013 @ 9:10 am | Reply

    • I think you should check the codecs required. Personally i had done these programs 2 years ago or more. Hence some codes MIGHT not work. The concepts however will apply.

      Comment by Abhijeet — December 17, 2013 @ 11:07 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: