2024-06-24 04:20:18 +03:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
|
2025-01-13 03:28:43 +02:00
|
|
|
source config
|
|
|
|
|
|
|
|
adb connect ${android_camera}:$1
|
|
|
|
|
2024-06-24 04:20:18 +03:00
|
|
|
scrcpy \
|
|
|
|
--no-playback \
|
2025-01-13 03:28:43 +02:00
|
|
|
--no-control \
|
2025-01-12 20:42:08 +02:00
|
|
|
--capture-orientation=270 \
|
2024-06-24 04:20:18 +03:00
|
|
|
--video-source=camera \
|
2025-01-13 03:28:43 +02:00
|
|
|
--camera-id=2 --camera-size=1920x1080 --camera-fps=30 \
|
2024-06-24 04:20:18 +03:00
|
|
|
--v4l2-sink=/dev/video7
|