droidcam-obs fixes & misc

This commit is contained in:
Anthony Axenov 2022-09-29 13:21:35 +08:00
parent a68074cb01
commit 41180043ae
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

View File

@ -4,6 +4,7 @@
# https://www.dev47apps.com/droidcam/linux/ # https://www.dev47apps.com/droidcam/linux/
# https://www.dev47apps.com/obs/ # https://www.dev47apps.com/obs/
# https://www.dev47apps.com/obs/usage.html # https://www.dev47apps.com/obs/usage.html
# https://obsproject.com/forum/threads/how-to-start-virtual-camera-without-sudo-privileges.139783/
echo echo
echo "===============================================" echo "==============================================="
@ -13,7 +14,7 @@ echo
command -v "obs" >/dev/null 2>&1 || echo 'You need to install obs first!' command -v "obs" >/dev/null 2>&1 || echo 'You need to install obs first!'
mkdir -p ~/install/droidcam_obs mkdir -p ~/install/droidcam-obs
wget -O /tmp/droidcam-obs.zip https://files.dev47apps.net/obs/droidcam_obs_1.5.1_linux.zip wget -O /tmp/droidcam-obs.zip https://files.dev47apps.net/obs/droidcam_obs_1.5.1_linux.zip
unzip -o /tmp/droidcam-obs.zip -d ~/install/droidcam-obs unzip -o /tmp/droidcam-obs.zip -d ~/install/droidcam-obs
rm -rf /tmp/droidcam-obs.zip rm -rf /tmp/droidcam-obs.zip
@ -21,6 +22,8 @@ cd ~/install/droidcam-obs && ./install.sh
echo echo
echo "Don't forget to:" echo "Don't forget to:"
echo "1) restart OBS if it is running right now" echo "1) restart OBS if it is running right now OR install (if not) and start it"
echo "2) install android app: https://play.google.com/store/apps/developer?id=Dev47Apps" echo "2) install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"
echo "3) If virtual camera not starting then execute:"
echo "\tsudo modprobe v4l2loopback video_nr=2 card_label="OBS Virtual Camera""
echo echo