Page 1 of 1

doorcam script

Posted: Wednesday 23 March 2016 20:02
by MaffeMuis
Hi,

I use this script on my rasp. with a EScam qwl qd100
Because its only send out with rtsp en not with a JPEG url I need to use this to get an images if some-one calls on the door.
But the images are 9 of 10 with lines. like showed on the images below. Someone have an Ideas to fix this?

Code: Select all

#!/bin/sh
IP="192.168.178.30"

#Ping IP-address of camera to see if it's online, otherwise we don't have to grab a snapshot
if ping -c 1 $IP > /dev/null ; then

#Grab snapshot from RTSP-stream
/usr/bin/ffmpeg -rtsp_transport tcp -i 'rtsp://'$IP'/user=admin&password=&channel=1&stream=0.sdp' -f image2 -vframes 1 -pix_fmt yuvj420p /home/pi/domoticz/snapshot.jpeg
fi
Image

Re: doorcam script

Posted: Saturday 16 April 2016 23:18
by florabora
might have something to do with your camera. I have 2 ESCAM Snail QD500 cameras and 1 has the same issue as you describe whilst the other is working perfectly fine.
Btw maybe Robin Thicke based his song blurred lines on this camera? ;-)

Floris

Re: doorcam script

Posted: Thursday 20 July 2017 11:26
by owner1987
I also have a ESCAM QD500 and depending on the firmware version you could try to capture the snapshot by accessing this undocumented url:

http://192.168.xx.xx/webcapture.jpg?com ... &channel=1

This will show the low res jpeg.

You can add this native in domoticz for snapshot o live feed.