What happened to cvCreateFileCapture_FFMPEG ?

asked 2012-11-30 20:28:36 -0500

enderland gravatar image

updated 2012-12-03 10:04:01 -0500

I have successfully built OpenCV 2.3.1 with FFMPEG support (at least did not receive any errors in the build process and this completed with no errors/warnings). This error also occurs with 2.4.0, as well.

When I attempt to use cvCreateFileCapture_FFMPEG in my code however I receive the following compile error:

error: ‘cvCreateFileCapture_FFMPEG’ was not declared in this scope

I am also confused, because when I search in the directory of all the openCV installs (prefix was set to /tmp/opencvtest), I get

$$$:/tmp/opencvtest> grep -r "cvCreateFileCapture_FFMPEG" .
Binary file ./lib/libopencv_highgui.so matches
Binary file ./lib/libopencv_highgui.so.2.3.1 matches
Binary file ./lib/libopencv_highgui.so.2.3 matches

So it seems like the symbol is there but nowhere in the headers is it found.

Additionally, it does not seem like any FFMPEG commands are found as none of the headers have any FFMPEG calls.

cmake gives me

-   Video I/O:
--     DC1394 1.x:                 NO
--     DC1394 2.x:                 YES
--     FFMPEG:                     YES
--       codec:                    YES
--       format:                   YES
--       util:                     YES
--       swscale:                  YES
--       gentoo-style:             YES

So it seems to not have any problems in configuration finding FFMPEG.

Some online references are made to a mysterious "_highgui.h" file (note the underscore) as containing the definition for this method, but this file is never created in the make/make install process.

I am working on Linux Redhat 6.

The end goal is to follow a few examples suggesting cvCreateFileCapture_FFMPEG can be used to better interface with IP cameras.


Alternatively, if anyone has either 2.3.1 or 2.4 with these header includes working this information alone would be useful for me to know.

edit retag flag offensive close merge delete

Comments

If anyone has either 2.3.1 or 2.4 with these header includes working this information alone would be useful for me to know.

enderland gravatar imageenderland ( 2012-12-03 10:05:41 -0500 )edit