summaryrefslogtreecommitdiff
path: root/local/bin/webcam-go
blob: c9d30c2ec1301e52f7a0eb85d970362922f8f351 (plain)
1
2
3
4
5
6
7
#!/bin/sh

n=$1

[ -z $n ] && n=1

mplayer tv:// -tv device=/dev/video$n -vf screenshot