diff options
Diffstat (limited to 'local/bin/webcam-go')
-rwxr-xr-x | local/bin/webcam-go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/local/bin/webcam-go b/local/bin/webcam-go new file mode 100755 index 0000000..c9d30c2 --- /dev/null +++ b/local/bin/webcam-go @@ -0,0 +1,7 @@ +#!/bin/sh + +n=$1 + +[ -z $n ] && n=1 + +mplayer tv:// -tv device=/dev/video$n -vf screenshot |