Update 'cgi_camera.sh'
This commit is contained in:
parent
e90bafba36
commit
7d517a504f
|
@ -3,7 +3,8 @@
|
|||
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)" -
|
||||
# -S will skip the first n frames. This is useful as may webcams will have incorrect exposure on the first couple frames.
|
||||
# -F will capture n frames and merge them into one image. This reduces noise, but will make motion blury.
|
||||
fswebcam -q -d /dev/video0 -r 960x540 --jpeg 50 -S 4 -F 4 --no-timestamp --title "$(date)" -
|
||||
|
||||
exit $?
|
Loading…
Reference in New Issue