From 94a67b27c3d5975f0f04acc40d493730a5d36099 Mon Sep 17 00:00:00 2001 From: Robert Scheibe Date: Mon, 6 Jan 2025 14:36:39 +0100 Subject: added send and receive script for video data to adjust the lens --- receive_video.sh | 2 ++ send_vid.sh | 2 ++ 2 files changed, 4 insertions(+) create mode 100755 receive_video.sh create mode 100755 send_vid.sh 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 -- cgit v1.2.3