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

Post Reply
thorian
Posts: 31
Joined: Tuesday 29 September 2015 19:50
Target OS: Raspberry Pi
Domoticz version: 2.2563
Location: Poland
Contact:

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

Post by thorian » Friday 05 January 2018 10:23

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 ?

User avatar
Antori91
Posts: 114
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

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

Post by Antori91 » Tuesday 13 February 2018 15:35

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
Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest