All the steps to set up OBS Studio for live streaming on Raspberry Pi 4.
This video is just "for fun" but the all the steps are those to be completed in order to compile and run OBS Studio on the Raspberry Pi 4 sbc.
» PREREQ.
download Raspberry Pi OS Full (https://www.raspberrypi.org/downloads...) and write the img on a MicroSD
insert MicroSD, mouse & keyboard, ethernet (optional) and power cables
connect the Raspberry Pi to Internet
update the system
STEP1: install building packages and libraries
sudo apt install build-essential checkinstall cmake git libmbedtls-dev libasound2-dev libavcodec-dev libavdevice-dev libavfilter-dev libavformat-dev libavutil-dev libcurl4-openssl-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libjack-jackd2-dev libjansson-dev libluajit-5.1-dev libpulse-dev libqt5x11extras5-dev libspeexdsp-dev libswresample-dev libswscale-dev libudev-dev libv4l-dev libvlc-dev libx11-dev libx11-xcb1 libx11-xcb-dev libxcb-xinput0 libxcb-xinput-dev libxcb-randr0 libxcb-randr0-dev libxcb-xfixes0 libxcb-xfixes0-dev libx264-dev libxcb-shm0-dev libxcb-xinerama0-dev libxcomposite-dev libxinerama-dev pkg-config python3-dev qtbase5-dev libqt5svg5-dev swig
wget http://ftp.debian.org/debian/pool/non...
wget http://ftp.debian.org/debian/pool/non...
sudo dpkg -i libfdk-aac2_2.0.1-1_armhf.deb
sudo dpkg -i libfdk-aac-dev_2.0.1-1_armhf.deb
STEP2: build OBS Studio source code (it can take a lot of time...)
sudo git clone --recursive https://github.com/obsproject/obs-stu...
cd obs-studio
sudo mkdir build
cd build
sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
sudo make -j4
sudo make install
STEP3: create launch script for Raspberry Pi 4 (to avoid launch errors)
cd ~
nano obs.sh
write this code:
#!/bin/bash
MESA_GL_VERSION_OVERRIDE=3.3 obs
press: ctrl+x, y, enter
STEP4: test time!
launch and enjoy OBS Studio!
[Soundtrack by Various Artists released under Creative Commons]
#geekonerd #raspberrypi #OBS #sudio #livestreaming #streaming #Youtube #Twitch
_____
FOLLOW ME ON https://linktr.ee/geekonerd