summaryrefslogtreecommitdiff
path: root/local/bin/webcam-go
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/webcam-go')
-rwxr-xr-xlocal/bin/webcam-go7
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