SvenVD / rpisurv

Raspberry Pi surveillance
https://rpisurv.net
GNU General Public License v2.0
625 stars 101 forks source link

Speco Camera won't connect #105

Closed burt-macklin1 closed 4 years ago

burt-macklin1 commented 4 years ago

Hello, ive been using this for a while and im setting one up at work now and we use Speco cameras. I can get the stream up in VLC using rtsp://User>:<Password>@<IP:554/ (i removed user name and password, But its filled out) but the Pi just sits on Connecting. Not sure why VLC connects but the Pi cant. Hopefully im just missing something easy.

Capture

SvenVD commented 4 years ago

Hi,

It is advised to use the https://community.rpisurv.net for support.

To be able to troubleshoot, you should provide following information: https://www.tapatalk.com/groups/rpisurv/guidelines-t13.html

If you could give the most recent logs of /var/log/daemon.log and /usr/local/bin/rpisurv/logs/main.log we probably can already see what is wrong.

Thanks

burt-macklin1 commented 4 years ago

When im at work ill grab that log, and i can open a ticket over there if that is easier

SvenVD commented 4 years ago

Ok I see that omxplayer is crashing, rpisurv detects this and tries to restart the stream however it fails because omxplayer keeps on crashing.

Omxplayer does not mention why it is crashing. So we would have to guess, what is the codec and the resolution of your camerastream, maybe try with a substream and make sure basic h.264 is selected. You have to do some trial and error with different resolutions and codec setting for your camerastream to test why omxplayer does not like the current stream presented to it

Please do note that your passwords seem to be in the debug log, because for some reason the core worker logs also appear in your main.log