This repository includes installation procedure for GStreamer 1.18.1.
- Raspberry Pi Zero,
- Raspberry Pi Zero W,
- Raspberry Pi 3B,
- Raspberry Pi 4B.
git clone --recurse-submodules -j$(nproc) https://github.com/raspberrypiexperiments/RaspberryPi-GStreamer-1.0.git
cd RaspberryPi-GStreamer-1.0
make install
echo "export PATH=/usr/local/bin:$PATH" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
echo "export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH" >> ~/.bashrc
source ~/.bashrcmake uninstall
cd ..
sudo rm -rf RaspberryPi-GStreamer-1.0-
gst-plugins-plugins-bad does not build if libwyaland-dev is installed. The package is a dependency of libgtk-3-dev installed by RaspberryPi-OpenCV project. libgtk-3-dev is optional. It is necesarry to investigate if libgtk-3-dev is really required or how to fix undefined reference to gst_gl_display_wayland_get_type in GstGLWayland-1.0.c
-
cerbero build does not generate deb packages:
-----> Creating package for gstreamer-1.0 WARNING: No specific packager available for the distro version debian_10_buster, using generic packager for distro debian WARNING: Creation of Debian packages is currently broken, please see https://gitlab.freedesktop.org/gstreamer/cerbero/issues/56 Creating tarballs instead...
Maybe it is better to use gst-build instead and use cerbero to install all the optional dependencies.
-
cerbero build uses prefix /usr/local and is built with sudo. Maybe it is better to build it locally and install from tarballs instead.