Add OBS Studio app
parent
e10f8ae12d
commit
86c762c20a
@ -0,0 +1 @@
|
||||
Install script made by Botspot and RPICoder :)
|
@ -0,0 +1,4 @@
|
||||
Free and open source software for video recording and live streaming.
|
||||
|
||||
To run: Menu -> Sound & Video -> OBS Studio
|
||||
To run in a terminal: obs
|
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
"${DIRECTORY}/pkg-install" "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 libxcb-damage0 libxcb-composite0 libxcb-ewmh2" "$(dirname "$0")" || exit 1
|
||||
|
||||
#Removing Deb files if already downloaded
|
||||
rm -f ~/libfdk-aac2_2.0.1-1_armhf.deb ~/libfdk-aac-dev_2.0.1-1_armhf.deb ~/obs_armhf.deb
|
||||
|
||||
#Downloading deb files
|
||||
wget http://ftp.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac2_2.0.1-1_armhf.deb -O ~/libfdk-aac2_2.0.1-1_armhf.deb || error "Failed to download libfdk-aac2_2.0.1-1_armhf.deb"
|
||||
wget http://ftp.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac-dev_2.0.1-1_armhf.deb -O ~/libfdk-aac-dev_2.0.1-1_armhf.deb || error "Failed to download libfdk-aac-dev_2.0.1-1_armhf.deb"
|
||||
wget https://github.com/techcoder20/RPIObsInstaller/blob/main/obs_armhf.deb?raw=true -O ~/obs_armhf.deb || error "Failed to download obs_armhf.deb"
|
||||
|
||||
#Installing Deb Files
|
||||
sudo apt -y install --fix-missing ~/libfdk-aac2_2.0.1-1_armhf.deb || error "Failed to install ~/libfdk-aac2_2.0.1-1_armhf.deb"
|
||||
sudo apt -y install --fix-missing ~/libfdk-aac-dev_2.0.1-1_armhf.deb || error "Failed to install ~/libfdk-aac-dev_2.0.1-1_armhf.deb"
|
||||
sudo apt -y install --fix-missing ~/obs_armhf.deb || error "Failed to install ~/obs_armhf.deb"
|
||||
|
||||
#Removing deb files after installation
|
||||
sudo rm -f ~/libfdk-aac2_2.0.1-1_armhf.deb ~/libfdk-aac-dev_2.0.1-1_armhf.deb ~/obs_armhf.deb
|
||||
|
||||
sudo mv /usr/bin/obs /usr/bin/obs-exec
|
||||
echo '#!/bin/bash
|
||||
MESA_GL_VERSION_OVERRIDE=3.3 /usr/bin/obs-exec' | sudo tee /usr/bin/obs >/dev/null
|
||||
sudo chmod +x /usr/bin/obs
|
||||
|
||||
|
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
"${DIRECTORY}/pkg-install" "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 libxcb-damage0 libxcb-composite0 libxcb-ewmh2" "$(dirname "$0")" || exit 1
|
||||
|
||||
#Removing Deb files if already downloaded
|
||||
rm -f ~/libfdk-aac2_2.0.1-1_arm64.deb ~/libfdk-aac-dev_2.0.1-1_arm64.deb ~/obs_arm64.deb
|
||||
|
||||
#Downloading deb files
|
||||
wget http://ftp.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac2_2.0.1-1_arm64.deb -O ~/libfdk-aac2_2.0.1-1_arm64.deb || error "Failed to download libfdk-aac2_2.0.1-1_armhf.deb"
|
||||
wget http://ftp.debian.org/debian/pool/non-free/f/fdk-aac/libfdk-aac-dev_2.0.1-1_arm64.deb -O ~/libfdk-aac-dev_2.0.1-1_arm64.deb || error "Failed to download libfdk-aac-dev_2.0.1-1_armhf.deb"
|
||||
wget https://github.com/techcoder20/RPIObsInstaller/blob/main/obs_arm64.deb?raw=true -O ~/obs_arm64.deb || error "Failed to download obs_armhf.deb"
|
||||
|
||||
#Installing Deb Files
|
||||
sudo apt -y install --fix-missing ~/libfdk-aac2_2.0.1-1_arm64.deb || error "Failed to install ~/libfdk-aac2_2.0.1-1_armhf.deb"
|
||||
sudo apt -y install --fix-missing ~/libfdk-aac-dev_2.0.1-1_arm64.deb || error "Failed to install ~/libfdk-aac-dev_2.0.1-1_armhf.deb"
|
||||
sudo apt -y install --fix-missing ~/obs_arm64.deb || error "Failed to install ~/obs_armhf.deb"
|
||||
|
||||
#Removing deb files after installation
|
||||
sudo rm -f ~/libfdk-aac2_2.0.1-1_arm64.deb ~/libfdk-aac-dev_2.0.1-1_arm64.deb ~/obs_arm64.deb
|
||||
|
||||
sudo mv /usr/bin/obs /usr/bin/obs-exec
|
||||
echo '#!/bin/bash
|
||||
MESA_GL_VERSION_OVERRIDE=3.3 /usr/bin/obs-exec' | sudo tee /usr/bin/obs >/dev/null
|
||||
sudo chmod +x /usr/bin/obs
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")"
|
||||
|
||||
function error {
|
||||
echo -e "\\e[91m$1\\e[39m"
|
||||
exit 1
|
||||
}
|
||||
|
||||
"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1
|
||||
|
||||
sudo apt -y purge obs libfdk-aac2 libfdk-aac-dev || error "APT failed to purge OBS!"
|
||||
|
||||
sudo rm -f /usr/bin/obs
|
||||
sudo rm -f /usr/bin/obs-exec
|
@ -0,0 +1 @@
|
||||
https://obsproject.com/
|
Loading…
Reference in New Issue