2018-12-18 04:24:35 -0600 | received badge | ● Famous Question (source) |
2016-11-08 08:18:53 -0600 | received badge | ● Notable Question (source) |
2016-02-27 05:13:33 -0600 | received badge | ● Popular Question (source) |
2013-02-05 09:17:32 -0600 | asked a question | Capture properties are all zero I have a small test program where I get capture properties using calls like cvGetCaptureProperty( capture, CV_CAP_PROP_FRAME_COUNT ). When I compile and link this program with the OpenCV (2.3.1) and ffmpeg library that is by default installed via the package management system on my Ubuntu 12.10 box, the properties return the correct non-zero values. However, when I try to compile and link against a manually installed OpenCV (2.4.1) library, all properties return zero. According to the OpenCV documentation of cvGetCaptureProperty, values of 0 will also be returned "When querying a property that is not supported by the backend used by the VideoCapture class". My problem is now that I don't have a clue how to diagnose this problem any further. How can I check if the zeros are due to a bad backend??? Where should I look? Can I run certain commands or watch certain logfiles to check this??? |
2013-01-28 07:34:39 -0600 | received badge | ● Student (source) |
2013-01-28 06:55:32 -0600 | asked a question | Cutting selected frame ranges from a video I am quite new to OpenCV and would like to know what is the best approach to cut selected ranges of frames from a video-file. Say for example you have a video-file VideoIn.avi with 10000 frames, and you want to extract frames 100->500 into output video VideoOut1.avi, and frames 7000->8000 into output video VideoOut2.avi. What would be the best approach using OpenCV? |