summaryrefslogtreecommitdiffstats
path: root/examples/magpi-9-cambot2/stream.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/magpi-9-cambot2/stream.sh')
-rwxr-xr-xexamples/magpi-9-cambot2/stream.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/magpi-9-cambot2/stream.sh b/examples/magpi-9-cambot2/stream.sh
new file mode 100755
index 0000000..12d6579
--- /dev/null
+++ b/examples/magpi-9-cambot2/stream.sh
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3STREAMER=mjpg_streamer
4DEVICE=/dev/video0
5RESOLUTION=320x240
6FRAMERATE=25
7HTTP_PORT=8001
8
9PLUGINPATH=/usr/local/lib
10
11$STREAMER -i "$PLUGINPATH/input_uvc.so -n -d $DEVICE -r $RESOLUTION -f $FRAMERATE" -o "$PLUGINPATH/output_http.so -n -p $HTTP_PORT"