---CURRENTLY UNTESTED. THIS MIGHT NOT WORK.---
Written by solonovamax
If you are trying to install gstreamer on a rasb pi, you may run into an issue: the gstreamer1.0-qt5
package doesn't exist for armhf platform. The only alternative that I've found to installing via the default package repositories is to simply build it from source yourself. (okay fine, maybe it's not simple. I spent a week on figuring this out BECAUSE THE DOCS HAVE THE WRONG INSTRUCTIONS FOR BUILDING IT. Okay fine, my ranting is done.)
Install the following build dependencies:
apt-get install git python3.7 ninja-build gcc build-essential
(you probably need gcc and since I don't have my rpi, I can't check if it's pre installed) and pip3 install meson
Next, you must clone the gst-build repository:
run git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git
in order for it to actually work, we need to check out the latest version. You can do that with the following commands:
cd gst-build
git tag
git checkout tags/[tag]
(ex: git checkout tags/1.16.2
)
To build gstreamer, you want to run meson build/
and ninja -C build/
. This will do fancy linux stuff that I don't understand and will build it.
Lastly, you need to run meson install -C build/
to install it.
This should be the correct steps that you need to follow if you want to install it on your rpi. Also, there will be a build version of the gst-rtsp-server in the builds/subprojects/gst-rtsp-server
, so you can use that instead of seperatly building it.