1 | initial version |
I know this answer might be a little late but since your question is referenced. I Think it might help other peoples.
I've had the same problem has you and I found the solution.
You have to make sure that all GStreamer dependencies are installed
i found missing dependencies by typing the following command :
apt-file find gstreamer-video
if you don't have apt-file you can install it with
sudo apt-get install apt-file
it returned the following :
libgstreamer-plugins-base1.0-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/gstreamer-video-1.0.pc
so that i deduced that i had to install libgstreamer-plugins-base1.0-dev.
the following command has all the missing dependencies for my configuration :
apt-get install libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0-dev libgstreamer1.0 libgstreamer1.0dev libgstreamer-plugins-base1.0-dev libgtk-3-dev
Then when i try to build with the following command
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -D WITH_GSTREAMER=ON ..
I've got the following output :
-- GStreamer:
-- base: YES (ver 1.4.4)
-- video: YES (ver 1.4.4)
-- app: YES (ver 1.4.4)
-- riff: YES (ver 1.4.4)
-- pbutils: YES (ver 1.4.4)
I hope this will help some people.