summaryrefslogtreecommitdiffstats
path: root/examples/magpi-9-cambot2/stream.sh
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-12-25 13:25:16 +0100
committermanuel <manuel@mausz.at>2013-12-25 13:25:16 +0100
commit0c8c9ad976879f7c90f9915a60845ccb0cdb337d (patch)
tree162951b4713f3836f4114958a423e2c90ecf9c6b /examples/magpi-9-cambot2/stream.sh
downloadwebiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.tar.gz
webiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.tar.bz2
webiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.zip
initial commit
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"