lots of organization

This commit is contained in:
lucca
2026-06-29 13:58:46 -04:00
parent a8cf478c03
commit a151be6dfe
23 changed files with 6 additions and 429 deletions
+1 -36
View File
@@ -1,37 +1,2 @@
#!/bin/bash
adb tcpip 5555
sleep 1
adb connect 10.0.0.30:5555
read -p "Disconnect from USB and press Enter to continue"
set -e
trap 'kill 0' EXIT
screen_record() {
adb exec-out screenrecord \
--bit-rate=5m \
--output-format=h264 \
--size 1832x960 \
--time-limit=0 \
-
}
stream_play() {
ffplay \
-framerate 30 \
-fflags nobuffer+discardcorrupt\
-flags low_delay \
-framedrop \
-strict experimental \
-analyzeduration 100000 \
-probesize 32 \
-sync ext \
-vf "setpts=PTS-STARTPTS,crop=916:960:0:0" \
-
}
# uncomment for audio
scrcpy --no-video --audio-buffer=200 &
screen_record | stream_play
scrcpy --crop 1720:1664:0:100 -m 1000 -b 2M --max-fps 10