Gstreamer installation in the cross compiler
-
Hello.
I would like to display a camera image on raspbery. I think Gstreamer is a good solution for writing raspberry Pi 3 programs, I use kross compiler on a virtual machine (debian 9). I am using the qt creator environment. Can you tell me how to install Gstreamer in a cross compiler? -
You don't install anything into the cross compiler. What you do instead, is: install GStreamer on your raspberry pi, and then update the
sysroot
on your host PC. Then the cross-compiler takes the libraries from yoursysroot
and uses them during compilation.For example commands, see points 8 and 9 in this guide: https://wiki.qt.io/RaspberryPi2EGLFS
Since this is a Qt forum, though, I'd rather advise you to simply use QtMultimedia (QCamera class, for example) to display the image. It uses Gstreamer internally.
-
@sierdzio said in Gstreamer installation in the cross compiler:
Since this is a Qt forum, though, I'd rather advise you to simply use QtMultimedia (QCamera class, for example) to display the image. It uses Gstreamer internally.
Thank you very much for the tip. I will try Qt Multimedia.