diff options
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" | ||
