droidcam rework
This commit is contained in:
parent
a73a442f07
commit
b988524c2d
@ -1,21 +1,22 @@
|
||||
#!/bin/bash
|
||||
##makedesc: Install droidcam v1.8.2
|
||||
##makedesc: Install droidcam v1.9.0
|
||||
source `dirname $0`/../helpers || exit 255
|
||||
|
||||
# https://www.dev47apps.com/droidcam/linux/
|
||||
|
||||
echo
|
||||
echo "==============================================="
|
||||
echo "Installing droidcam v1.8.2..."
|
||||
echo "==============================================="
|
||||
echo
|
||||
title
|
||||
|
||||
mkdir -p ~/install/droidcam
|
||||
wget -O /tmp/droidcam.zip https://files.dev47apps.net/linux/droidcam_1.8.2.zip
|
||||
unzip -oq /tmp/droidcam.zip -d ~/install/droidcam
|
||||
rm -rf /tmp/droidcam.zip
|
||||
cd ~/install/droidcam && sudo ./install-client
|
||||
mkdir -p "$HOME/install/droidcam"
|
||||
|
||||
echo
|
||||
echo "Finish!"
|
||||
echo "Don't forget to install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"
|
||||
echo
|
||||
download "https://files.dev47apps.net/linux/droidcam_1.9.0.zip" "$HOME/install/droidcam.zip" && \
|
||||
unzip -oq "$HOME/install/droidcam.zip" -d "$HOME/install/droidcam" && \
|
||||
cd "$HOME/install/droidcam" && \
|
||||
sudo ./install-client
|
||||
|
||||
[ $? = 0 ] && {
|
||||
echo
|
||||
success "droidcam installed!"
|
||||
info "Don't forget to install the android app:"
|
||||
info "https://play.google.com/store/apps/developer?id=Dev47Apps"
|
||||
echo
|
||||
}
|
||||
|
@ -15,11 +15,11 @@ echo
|
||||
# command -v "obs" >/dev/null 2>&1 || echo 'You need to install obs first!'
|
||||
command -v "obs-studio" >/dev/null 2>&1 || echo 'You need to install obs-studio first!'
|
||||
|
||||
mkdir -p ~/install/droidcam-obs
|
||||
mkdir -p $HOMEinstall/droidcam-obs
|
||||
wget -O /tmp/droidcam-obs.zip https://files.dev47apps.net/obs/droidcam_obs_1.5.1_linux.zip
|
||||
unzip -oq /tmp/droidcam-obs.zip -d ~/install/droidcam-obs
|
||||
unzip -oq /tmp/droidcam-obs.zip -d $HOMEinstall/droidcam-obs
|
||||
rm -rf /tmp/droidcam-obs.zip
|
||||
cd ~/install/droidcam-obs && ./install.sh
|
||||
cd $HOMEinstall/droidcam-obs && ./install.sh
|
||||
sudo modprobe v4l2loopback video_nr=2 card_label="OBS Virtual Camera"
|
||||
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user