Skip to content

Instantly share code, notes, and snippets.

@buldo
Last active February 19, 2023 23:01
Show Gist options
  • Save buldo/964f5aa7e46916d631f4aa5274628033 to your computer and use it in GitHub Desktop.
Save buldo/964f5aa7e46916d631f4aa5274628033 to your computer and use it in GitHub Desktop.
My way for building new gstreamer 1.22.0 on pi zero 2w

My whole way for clean system to gstreamer 1.22.0

#Update system
sudo apt update
sudo apt upgrade

#Update to new kernel(6.1) just for fun
sudo rpi-update
sudo reboot

#Increasing swap to many gb
sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
sudo reboot

#LOOKS LIKE CERBERO NOT WORKING NOW ON PI
#Meson install
sudo apt install python3 python3-pip python3-setuptools python3-wheel ninja-build
pip3 install meson

#Deps install
sudo apt install git flex bison

git clone https://gitlab.freedesktop.org/gstreamer/gstreamer.git
cd gstreamer
git checkout 1.22.0
meson setup builddir
meson compile -C builddir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment