user:jan001:obs_on_rpi4
OBS on the Raspberry Pi 4
I tried this using Ubuntu (arm64) for the Raspberry but it was kinda slow. So now I´m using standard Raspberry OS (armhf). Make sure to use a good and fast sd card! I´m also configuring Raspberry OS to accept my cheap USB 2.0 HDMI Capture Stick
- sudo apt update
- sudo apt upgrade
- (optional (for using remote desktop)) sudo apt install xrdp
- 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 qtbase5-private-dev libwayland-dev
- sudo apt update
- sudo apt upgrade
- sudo dpkg -i libfdk-aac2_2.0.1-1_armhf.deb
- sudo dpkg -i libfdk-aac-dev_2.0.1-1_armhf.deb
- sudo git clone –recursive https://github.com/obsproject/obs-studio.git
- cd obs-studio
- mkdir build
- cd build
- sudo cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
- sudo make -j4
- sudo make install
- sudo nano /usr/share/applications/com.obsproject.Studio.desktop
- change Exec=obs to bash -c “MESA_GL_VERSION_OVERRIDE=3.3 obs” (should allow to launch over the menu (never worked for me))
- sudo nano /etc/modules
- paste this in the last line: bcm2835-v4l2
- start obs: MESA_GL_VERSION_OVERRIDE=3.3 obs
user/jan001/obs_on_rpi4.txt · Last modified: 2023/01/05 14:38 by 127.0.0.1