Last active
November 26, 2023 23:32
-
-
Save Niktendo/c12246e7c25af42c56d0275735df7adf to your computer and use it in GitHub Desktop.
Virtual Cam Launcher for scrcpy's webcam feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
title Virtual Cam Launcher - by Niktendo @2023 | |
adb disconnect | |
adb kill-server | |
rem taskkill /f /im scrcpy.exe | |
taskkill /f /im obs64.exe | |
cls | |
set /P c=Pairen [J/N]? | |
set /P ip=IP und Port eingeben: | |
if /I "%c%" EQU "J" adb pair %ip% | |
if /I "%c%" EQU "N" adb connect %ip% | |
start /min scrcpy.exe --video-source=camera --camera-size=3840x2160 --no-audio --orientation=flip180 --camera-fps=60 --window-borderless | |
cd /d "%PROGRAMFILES%\obs-studio\bin\64bit" | |
start obs64.exe --startvirtualcam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment