I want to build opencv with GStreamer support.
I compiled GStreamer from the source code (version 1.8.1), following this guide: http://kacianka.at/?p=145 I have the folder 'gstreamer_build' in my home directory and it contains the folder 'bin' with the following data:
gst -D evice-monitor-1.0 gst -D iscoverer-1.0 gst-inspect-1.0 gst-launch-1.0 gst-play-1.0 gst-stats-1.0 gst-typefind-1.0 orc-bugreport orcc
I added this path to the PATH environment variable.
When I use cmake like:
cmake -D CMAKE_BUILD_TYPE = RELEASE -D CMAKE_INSTALL_PREFIX = / usr / local -D OPENCV_EXTRA_MODULES_PATH = ~ / opencv_contrib / modules -D BUILD_opencv_python3 =] [ONE] ONG [ONE] ONG [ONE ONE [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE ONE [ONE] ONG [ONE] ONG [ONE ] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ONE] ONG [ON] OFF [ONE] ONG [ON] OFF] ONG
I get the following output clearly indicating that gstreamer was not found:
-- checking for module 'gstreamer-base-1.0'
-- package 'gstreamer-base-1.0' not found
-- checking for module 'gstreamer-video-1.0'
-- package 'gstreamer-video-1.0' not found
-- checking for module 'gstreamer-app-1.0'
-- package 'gstreamer-app-1.0' not found
-- checking for module 'gstreamer-riff-1.0'
-- package 'gstreamer-riff-1.0' not found
-- checking for module 'gstreamer-pbutils-1.0'
-- package 'gstreamer-pbutils-1.0' not found
-- checking for module 'gstreamer-base-0.10'
-- package 'gstreamer-base-0.10' not found
-- checking for module 'gstreamer-video-0.10'
-- package 'gstreamer-video-0.10' not found
-- checking for module 'gstreamer-app-0.10'
-- package 'gstreamer-app-0.10' not found
-- checking for module 'gstreamer-riff-0.10'
-- package 'gstreamer-riff-0.10' not found
-- checking for module 'gstreamer-pbutils-0.10'
-- package 'gstreamer-pbutils-0.10' not found
and this:
Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: NO
-- FFMPEG: NO
-- codec: NO
-- format: NO
-- util: NO
-- swscale: NO
-- resample: NO
-- gentoo-style: NO
-- GStreamer: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- OpenNI2: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: NO
-- UniCap ucil: NO
-- V4L/V4L2: Using libv4l1 (ver 1.0.1) / libv4l2 (ver 1.0.1)
-- XIMEA: NO
-- Xine: NO
-- gPhoto2: NO
Can anyone help me with this?
source
share