Ask Your Question

mahyar's profile - activity

2014-05-02 17:40:33 -0500 received badge  Editor (source)
2014-05-02 17:39:57 -0500 asked a question Using cvCreateCapture_GStreamer

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.