Using cvCreateCapture_GStreamer

asked 2014-05-02 17:39:57 -0600

mahyar gravatar image

updated 2014-05-06 12:48:41 -0600

Hi, how can I use cvCreateCapture_GStreamer inside OpenCV? I built OpenCV with "-D WITH_GSTREAMER=ON" flag and here's the Video I/O log:

--   Video I/O:
--     DC1394 1.x:                  NO
--     DC1394 2.x:                  YES (ver 2.2.1)
--     FFMPEG:                      YES
--       codec:                     YES (ver 54.35.0)
--       format:                    YES (ver 54.20.3)
--       util:                      YES (ver 52.3.0)
--       swscale:                   YES (ver 2.1.1)
--       gentoo-style:              YES
--     GStreamer:                   
--       base:                      YES (ver 1.2.3)
--       video:                     YES (ver 1.2.3)
--       app:                       YES (ver 1.2.3)
--       riff:                      YES (ver 1.2.3)
--       pbutils:                   YES (ver 1.2.3)

My goal is to open a USB camera using Gstreamer and perform some CV proccess on the frames (I have to open the camera via gstreamer)

I saw cvCreateCapture_GStreamer in cap_gstreamer.cpp file (in the source code) which probably will help me to open the camera.

Any suggestions would be great.

edit retag flag offensive close merge delete