Page 1 of 1

RTSP camera only in Domoticz (no snapshot, no jpg) - better way for simple hack?

Posted: Friday 05 January 2018 9:23
by thorian
Hi,

I have ONVIF RTSP only camera. Sadly it does not provide snapshot function, confirmed with manufacturer.
My question is - is there a better hack to get it running under Domoticz?

Today I'm converting each minute (using vlc) the rtsp stream to a jpeg still frame and did a very dirty hack to "trick" domoticz into using a fake raspistill command - and replacing the tempcam.jpg as immune file to "raspberry.cgi" way. It works, but it's lousy hack, but it all works in RAM so it doesn't kill my SD or SSD.

I don't want to install external program with database dependencies (MySQL) - i.e. motion, or PHP - just use the minimum changes to RPi's capabilites. A "fake" URL handler would be great. I don't need the constant refresh - 1 minute interval stills are OK.

Anyone doing it differently - but in a simple way ?

Re: RTSP camera only in Domoticz (no snapshot, no jpg) - better way for simple hack?

Posted: Tuesday 13 February 2018 14:35
by Antori91
Hello Thorian,
As you, I'm trying to use generated snapshots (from avconv and not VLC)...but I can't success. Can you tell me how you parameter domoticz to use your snapshots? Thanks in advance
PS: I posted the corresponding question here : http://www.domoticz.com/forum/viewtopic ... 35&t=22176