diff options
| author | manuel <manuel@mausz.at> | 2013-12-25 13:25:16 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-12-25 13:25:16 +0100 |
| commit | 0c8c9ad976879f7c90f9915a60845ccb0cdb337d (patch) | |
| tree | 162951b4713f3836f4114958a423e2c90ecf9c6b /examples/magpi-9-cambot2/stream.sh | |
| download | webiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.tar.gz webiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.tar.bz2 webiopi-0c8c9ad976879f7c90f9915a60845ccb0cdb337d.zip | |
initial commit
Diffstat (limited to 'examples/magpi-9-cambot2/stream.sh')
| -rwxr-xr-x | examples/magpi-9-cambot2/stream.sh | 11 |
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 | |||
| 3 | STREAMER=mjpg_streamer | ||
| 4 | DEVICE=/dev/video0 | ||
| 5 | RESOLUTION=320x240 | ||
| 6 | FRAMERATE=25 | ||
| 7 | HTTP_PORT=8001 | ||
| 8 | |||
| 9 | PLUGINPATH=/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" | ||
