roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.7k stars 174 forks source link

failed to add imou camera (RTSP) #811

Closed mycreate2001 closed 4 weeks ago

mycreate2001 commented 4 weeks ago

Imou camera has address rtsp://:@192.168.2.22:554/cam/realmonitor?channel=1&subtype=0&unicast=false&proto=Onvif

I set config as below but it's not work

ffmpeg: camera: camera_1: # This value has to be unique across all cameras name: camera1 host: 192.168.2.27 port: 554 path: /cam/realmonitor?channel=1&subtype=0&unicast=false&proto=Onvif rtsp_transport: udp_multicast username: !secret user password: !secret pass protocol: rtsp result

`FFprobe could not connect to stream. Output: {'error': {'code': -113, 'string': 'No route to host'}}

` Do you have experience with camera address above?

mycreate2001 commented 4 weeks ago

change config as below

fmpeg: camera: camera_1: # This value has to be unique across all cameras name: camera imou host: 192.168.2.22 port: 554 path: '/cam/realmonitor?channel=1&subtype=0' stream_format: rtsp protocol: rtsp rtsp_transport: tcp username: password: fps: 6 width: 2304 height: 1296 codec: h264 audio_codec: null