summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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