Unable to login to RTSP stream with Motioneye
#2,138 opened on Jun 12, 2021
Repository metrics
- Stars
- (3,533 stars)
- PR merge metrics
- (Avg merge 16d 14h) (33 merged PRs in 30d)
Description
Hi, I'm trying to get MotionEye (installed on ubuntu server) to connect to an RTSP camera I have. I can view the camera fine in VLC, Home Asistant and ONVIF Device Manager. However if I add the camera to MotionEye then I just get the grey camera symbol and no image. Looking in the MotionEye log it says that its failed to authorize the connection. I'm using the correct credentials as it works everywhere else (VLC, Home Assistant etc.) but not with MotionEye.
I've tried setting the rtsp_uses_tcp off in the config, no luck. I've tried removing the authentication from the camera still no joy. I've tried adjusting the frame rates and resolution in MotionEye to match the camera in case that was causing an issue. I've used the rtsp URL that ONVIF device manager displays and the direct URL (i.e. just the IP address (which does work in VLC). Nothing seems to work I just get the blank box with a camera symbol in. On the camera itself the is a log which shows a login entry from the MotionEye server but it then logs out again immediately and this is recorded as a failed authorization by MotionEye.
Any help would be much appreciated, my MotionEye log is attached.