summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scheibe <rob.scheibe@gmail.com>2025-01-06 14:36:39 +0100
committerRobert Scheibe <rob.scheibe@gmail.com>2025-01-06 14:36:39 +0100
commit94a67b27c3d5975f0f04acc40d493730a5d36099 (patch)
tree1d382fd0f632af79cff125fdd98eb61856116564
parentbf505c040a8feb7b4eae58514016be22aa985741 (diff)
added send and receive script for video data to adjust the lens
-rwxr-xr-xreceive_video.sh2
-rwxr-xr-xsend_vid.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/receive_video.sh b/receive_video.sh
new file mode 100755
index 0000000..9389eca
--- /dev/null
+++ b/receive_video.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+nc -l -p 5001 | mplayer - -fps 60 -cache 512 -cache-min 50
diff --git a/send_vid.sh b/send_vid.sh
new file mode 100755
index 0000000..cf28ac1
--- /dev/null
+++ b/send_vid.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+rpicam-vid -t 0 --width 640 --height 480 --framerate 10 -o - | nc lwks 5001