Ask Your Question

user1601395230's profile - activity

2020-09-03 23:34:17 -0600 received badge  Popular Question (source)
2013-03-28 14:44:26 -0600 asked a question OpenCV Python install question on Ubuntu lucid

I am trying to install opencv on to my system, however, I fear I may have absolutely botched the install. I made the mistake of following more than 1 website with instructions and downloaded unnecessary things or downloaded incorrect things. Also, the default python I have on my system is python 2.6, and I installed python2.7 but it could only be run using the command python2.7. In addition, I am able to import opencv in python2.6 but it doesn't do anything since any method I try to use just gives an error. Is there any way to wipe all this and start from scratch? Is there a defined method of installing opencv python in ubuntu? I realize I have not given much information to go on, but this is because I downloaded so many things with the most obscure names. I can dig up the history install log if anyone wishes to see it.

2013-03-24 01:06:35 -0600 commented answer What is the smallest output video size possible for 620/480 resolution?

Thanks for your answer! I hope you can answer another question I have that continues of my previous one. A lot of the codec types I use just don't seem to create any files or just wont work (cv2.videwriter.isOpened() returns FALSE or video file is 0 bytes). Is there a specific...rule or pairing of file extension name and codec I should be using? For example, if I use MPG4 with my file.avi it doesn't work. Am I doing this wrong?

2013-03-23 22:03:27 -0600 asked a question What is the smallest output video size possible for 620/480 resolution?

I am working on a simple video writer program. However, when I use the I420 codec (which so far has been the only one that works with my computer), the output video file is quite large. It's about 80MB for 30 sec. I wanted to work on a program which records at least 10 minutes of video and at this rate it will end up being 1.6GB. How is it that some movies which are 1:30 are less than a GB and is there any way to further 'compress' the video file output?