Unsolved How to find all ip cameras and get videos
-
I found the old QtGStreamer library on the Internet , does the current Qt work fine with it? Or need used GStreamer?
-
As indicated in that library's documentation, it's unmaintained. They have now a GStreamer plugin.
As I already wrote, on Linux, Qt uses GStreamer as backend.
-
Please tell me how to configure the .pro file? I did so, but which libraries should I connect?
INCLUDEPATH += /usr/include/gstreamer-1.0 INCLUDEPATH += /usr/include/glib-2.0 INCLUDEPATH += /usr/lib/x86_64-linux-gnu/glib-2.0/include LIBS += -L/usr/lib -L /usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/gstreamer-1.0
-
Maybe you have examples of playing videos in a window using Gstreamer?
-
I looked at the example and am trying to find this library:
LIBS += -L/usr/lib -L /usr/lib/x86_64-linux-gnu -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/gstreamer-1.0 -lgstvideo-1.0
and I get error:
cannot find -lgstvideo-1.0
but in the folder /usr/lib/x86_64-linux-gnu there is a file libgstvideo-1.0.so.0
How can I fix this? -
Did you install the GStreamer development package ?
-
Yes, i do
-
Which one ?
-
@SGaist said in How to find all ip cameras and get videos:
Which one ?
I have installed many gstreamer packages. All the necessary h files are there, and I also found the library manually.
-
In that case you should also have the unnumbered .so file.
-
@SGaist said in How to find all ip cameras and get videos:
In that case you should also have the unnumbered .so file.
I have only libgstvideo-1.0.so.0.1405.0 . But I'm connecting -lgstvideo-1.0 . What other libraries should there be?
-
What exact GStreamer development package did you install ?
-
I do this:
apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
-
@Mikeeeeee So, you did not install development packages (-dev)...
-
Which package should I install with-dev? There is no such thing on the official website.
https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c -
The ones that are made available through your distribution's package manager.