RTSP camera only in Domoticz (no snapshot, no jpg) - better way for simple hack??
Posted: Thursday 29 April 2021 14:28
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 ?
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 ?