|
|
@@ -0,0 +1,18 @@
|
|
|
+#!/bin/bash
|
|
|
+
|
|
|
+HOST="192.168.2.84"
|
|
|
+#5001"
|
|
|
+#HOST="192.168.1.7:5001"
|
|
|
+#HOST="192.168.20.2:5001"
|
|
|
+#~/code/telepi/telepi - |
|
|
|
+# LD_LIBRARY_PATH=/usr/local/lib gst-launch-1.0 -v fdsrc ! queue ! \
|
|
|
+# video/x-h264,width=800,height=600,framerate=60/1,profile=high ! \
|
|
|
+# h264parse ! rtph264pay config-interval=1 ! \
|
|
|
+# multiudpsink clients=$HOST
|
|
|
+
|
|
|
+#~/code/telepi/telepi - | pv | netcat $HOST 5001
|
|
|
+while [ true ]; do
|
|
|
+ ~/code/telepi/telepi - | netcat $HOST 5001
|
|
|
+ sleep 1
|
|
|
+ echo "the fb grabber died"
|
|
|
+done
|