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.5k stars 154 forks source link

461 Transport Unsupported #723

Open mariusl opened 3 months ago

mariusl commented 3 months ago

Hi Newby problems here. I am trying to setup an Andowl camera that I have working Agent DVR. I get this error

[2024-04-01 16:14:32] [INFO ] [viseron.core] - ------------------------------------------- [2024-04-01 16:14:32] [INFO ] [viseron.core] - Initializing Viseron [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setting up component data_stream [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setup of component data_stream took 0.0 seconds [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setting up component webserver [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setup of component webserver took 0.0 seconds [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setting up component nvr [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setting up component ffmpeg [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setup of component nvr took 0.0 seconds [2024-04-01 16:14:32] [INFO ] [viseron.components] - Setup of component ffmpeg took 0.0 seconds [2024-04-01 16:14:33] [INFO ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_1 [2024-04-01 16:14:33] [INFO ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_1 [2024-04-01 16:14:33] [INFO ] [viseron.components] - Setting up domain camera for component ffmpeg with identifier camera_2 [2024-04-01 16:14:33] [INFO ] [viseron.components] - Setting up domain nvr for component nvr with identifier camera_2 [2024-04-01 16:14:33] [ERROR ] [viseron.components.ffmpeg.stream.camera_1] - [rtsp @ 0x55a8040b2180] method SETUP failed: 461 Unsupported Transport [2024-04-01 16:14:33] [ERROR ] [viseron.components.ffmpeg.stream.camera_2] - [rtsp @ 0x55a7d1b35180] method SETUP failed: 461 Unsupported Transport [2024-04-01 16:14:34] [INFO ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_2 took 1.5 seconds [2024-04-01 16:14:34] [ERROR ] [viseron.components.nvr.nvr] - Failed setup of domain nvr for camera camera_2. At least one object or motion detector has to be configured [2024-04-01 16:14:34] [ERROR ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_2 failed [2024-04-01 16:14:34] [INFO ] [viseron.components] - Setup of domain camera for component ffmpeg with identifier camera_1 took 1.5 seconds [2024-04-01 16:14:34] [ERROR ] [viseron.components.nvr.nvr] - Failed setup of domain nvr for camera camera_1. At least one object or motion detector has to be configured [2024-04-01 16:14:34] [ERROR ] [viseron.components] - Setup of domain nvr for component nvr with identifier camera_1 failed [2024-04-01 16:14:34] [INFO ] [viseron.core] - Viseron initialized in 2.5 seconds

And this is my config

`ffmpeg: camera: camera_1:
name: Office host: rtsp://192.168.1.50 port: 8554 path: /profile0 username: admin password: admin123456

camera_2:  
  name: Garage
  host: rtsp://192.168.1.51
  port: 8554
  path: /profile0
  username: admin
  password: admin123456

nvr: camera_1: # Run NVR for camera_1 camera_2: # Run NVR for camera_2`

Any help will be much appreciated

roflcoopter commented 2 months ago

Try setting rtsp_transport: udp in the camera config