Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Opencv 3.0.0 build winder Windows 8 with Gstreamer1.0 support

Hello!

I'm trying to build application which uses gstreamer as videoinput; GStreamer 1.0 support is included in opencv 3.0.0. Im using smake to build sources for Visual Studio 2013 compiler... but cmake could not generate sources wirh GStreamer 1.0 support properly:

Video I/O:

Video for Windows:           YES
DC1394 1.x:                  NO
DC1394 2.x:                  NO
FFMPEG:                      YES (prebuilt binaries)
  codec:                     YES (ver 55.18.102)
  format:                    YES (ver 55.12.100)
  util:                      YES (ver 52.38.100)
  swscale:                   YES (ver 2.3.100)
  resample:                  NO
  gentoo-style:              YES
**GStreamer:                   NO**
OpenNI:                      NO
OpenNI PrimeSensor Modules:  NO
OpenNI2:                     NO
PvAPI:                       NO
GigEVisionSDK:               NO
DirectShow:                  YES
Media Foundation:            NO
XIMEA:                       NO
Intel PerC:                  NO

In CmakeLists.txt the following line exists:

OCV_OPTION(WITH_GSTREAMER "Include Gstreamer support" ON IF (UNIX AND NOT ANDROID) )

so gStreamer1.0 is supported only under UNIX. Why? if I simply remove windows from "blacklist" cmake will not find gstreamer libs. But I have gstreamer1.0 and gstreamer1.0-dev packages installed.

Is there any way to build OpenCV with Gstreamer1.0 support under Windows? Maybe is there any way to grab opencv from gstreamer pipline? OpenCV with Gstreamer1.0 support has current functionality out-of-the-box by useinf

cv::VideoCapture cap("videotestsrc ! videconvert ! appsink")

Why OpenCV prebuilt binaries for Windows does not have GStreamer support! Please help!