Add 'cgi_camera.sh'
This commit is contained in:
parent
7442b242a7
commit
0e5e881670
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "Content-type: image/jpeg"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
#ffmpeg -f video4linux2 -i /dev/video0 -vframes 1 -video_size 1920x1080 -quality 40 -c:v webp -f image2pipe -
|
||||||
|
fswebcam -q -d /dev/video0 -r 960x540 --jpeg 50 --no-timestamp --title "$(date)" -
|
||||||
|
|
||||||
|
exit $?
|
Loading…
Reference in New Issue