blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
17.4k stars 1.61k forks source link

[Support]: Invalid data found when processing input #6175

Closed marcocunha closed 1 year ago

marcocunha commented 1 year ago

Describe the problem you are having

Before I give up using Frigate I would like to ask you if you might spot a problem in my Frigate setup. The weird part here is that it works sometimes. (Although the majority of the time it doesn't)

I am using Frigate as a docker container (using the latest version) and this is my docker file:

frigate:
    container_name: frigate
    privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:stable
    shm_size: "64mb" # update for your cameras based on calculation above
    # profiles:
      # - donotstart #do not start service
    devices:
      - /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${SELF_HOME_DIR}/frigate/config/config.yml:/config/config.yml
      - "/Volumes/macOS Data/frigate/media:/media/frigate"
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "8554:8554" # RTSP feeds
      - "8555:8555/tcp" # WebRTC over tcp
      - "8555:8555/udp" # WebRTC over udp
    env_file:
      - .env

But this is what I get when I access the Frigate dashboard:

image

Now the weird part is that if I access Frigate > Config > go2rtc dashboard and click on that stream I can see the video.

Hardware that I am using:

Any thoughts about this? I am more than happy to share more information if needed.

Thanks

Version

0.12.0-DA3E197

Frigate config file

go2rtc:
  streams:
    Garage_High:
      - ffmpeg:rtsp://user:password@ip_of_my_camera:554/cam/realmonitor?channel=1&subtype=0
    Garage_Low:
      - ffmpeg:rtsp://user:password@ip_of_my_camera:554/cam/realmonitor?channel=1&subtype=1
  webrtc:
    candidates:
      - 192.168.1.146:8555
      - stun:8555

detectors:
  ov:
    type: openvino
    device: AUTO
    model:
      path: /openvino-model/ssdlite_mobilenet_v2.xml

model:
  width: 300
  height: 300
  input_tensor: nhwc
  input_pixel_format: bgr
  labelmap_path: /openvino-model/coco_91cl_bkgr.txt

cameras:
  Garage:
    ffmpeg:
      inputs:
        # High Resolution Stream
        - path: rtsp://127.0.0.1:8554/Garage_High
          roles:
            - record
        # Low Resolution Stream
        - path: rtsp://127.0.0.1:8554/Garage_Low
          roles:
            - detect
    detect:
      width: 352 # <---- update for your camera's resolution
      height: 288 # <---- update for your camera's resolution
      fps: 5
    snapshots:
      required_zones:
        - Garage_Calcada
    record:
      events:
        required_zones:
          - Garage_Calcada
    mqtt:
      required_zones:
        - Garage_Calcada
    zones:
      Garage_Calcada:
        coordinates: 122,35,330,288,88,288,76,37
        objects:
          - person
          - car
        filters:
          person:
            # min_area: 5000
            # max_area: 100000
            threshold: 0.7
    motion:
      mask:
        - 122,39,352,288,352,0,123,0
    # Only include the "Garage" camera in Birdseye view when objects are detected
    birdseye:
      mode: objects

Relevant log output

Frigate Logs:
2023-04-20 10:55:04.836074256 [2023-04-20 10:55:04] frigate.video ERROR : Garage: Unable to read frames from ffmpeg process.2023-04-20 10:55:04.837979760 [2023-04-20 10:55:04] frigate.video ERROR : Garage: ffmpeg process is not running. exiting capture thread...
(...)
2023-04-20 11:05:11.337481403 [2023-04-20 11:05:11] watchdog.Garage ERROR : Ffmpeg process crashed unexpectedly for Garage.2023-04-20 11:05:11.337691952 [2023-04-20 11:05:11] watchdog.Garage ERROR : The following ffmpeg logs include the last 100 lines prior to exit.2023-04-20 11:05:11.338025731 [2023-04-20 11:05:11] ffmpeg.Garage.detect ERROR : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input

Go2RTC logs:
2023-04-20 11:22:51.057361184  11:22:51.057 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF

FFprobe output from your camera

libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[rtsp @ 0x5636e5e28140] method DESCRIBE failed: 404 Not Found
rtsp://user:password@ip_of_my_camera:554/cam/realmonitor?channel=1: Server returned 404 Not Found

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

Hikvision DS-2CD2125G0-IMS

Any other information that may be helpful

No response

NickM-27 commented 1 year ago

ffmpeg:rtsp://user:password@ip_of_my_camera:554/cam/realmonitor?channel=1&subtype=0#video=h264

why are you trying to transcode your stream? why not just use the stream as it is, that will be much easier to work with.

marcocunha commented 1 year ago

@NickM-27 Actually, my camera is already h264. Tbh I added that just as my last attempt to see if it would solve the issue.

NickM-27 commented 1 year ago

let's go ahead and remove that and get new frigate and go2rtc logs

marcocunha commented 1 year ago

let's go ahead and remove that and get new frigate and go2rtc logs

done. Also updated the config file in my initial thread. @NickM-27 from what I can see in the logs it is exactly the same: Frigate logs:

2023-04-20 14:24:09.920395593  [2023-04-20 14:24:09] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:24:09.921290090  [2023-04-20 14:24:09] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:25:45.086854480  [2023-04-20 14:25:45] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:25:45.086864160  [2023-04-20 14:25:45] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:25:45.086868564  [2023-04-20 14:25:45] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input

Go2RTC logs: 2023-04-20 14:24:30.745864465 14:24:30.744 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF

NickM-27 commented 1 year ago

when we ask for logs, we mean ALL the logs. providing one line won't be helpful. You also need to let it run for at least 30 seconds so the logs can accumulate. These logs don't have any useful info

marcocunha commented 1 year ago

@NickM-27 you're right. I didn't want to spam, but here is the complete log:

Frigate:

2023-04-20 14:37:53.227041921  [INFO] Starting Frigate...
2023-04-20 14:37:55.316080709  [2023-04-20 14:37:55] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
2023-04-20 14:37:55.401404917  [2023-04-20 14:37:55] frigate.config                 WARNING : Customizing more than a detector model path is unsupported.
2023-04-20 14:37:55.422667514  [2023-04-20 14:37:55] peewee_migrate                 INFO    : Starting migrations
2023-04-20 14:37:55.463689286  [2023-04-20 14:37:55] peewee_migrate                 INFO    : There is nothing to migrate
2023-04-20 14:37:55.533692709  [2023-04-20 14:37:55] frigate.app                    INFO    : Output process started: 289
2023-04-20 14:37:55.544664039  [2023-04-20 14:37:55] detector.ov                    INFO    : Starting detection process: 288
2023-04-20 14:37:55.580173474  [2023-04-20 14:37:55] frigate.app                    INFO    : Camera processor started for Garage: 294
2023-04-20 14:37:55.640744272  [2023-04-20 14:37:55] frigate.app                    INFO    : Capture process started for Garage: 301
2023-04-20 14:37:55.755667887  E: [xLinkUsb] [    875755] [frigate.detecto] usb_find_device_with_bcd:266   Library has not been initialized when loaded
2023-04-20 14:37:55.782152039  E: [xLinkUsb] [    875781] [frigate.detecto] usb_find_device_with_bcd:266   Library has not been initialized when loaded
2023-04-20 14:37:56.330938981  [2023-04-20 14:37:56] frigate.detectors.plugins.openvino INFO    : Model Input Shape: {1, 300, 300, 3}
2023-04-20 14:37:56.330945201  [2023-04-20 14:37:56] frigate.detectors.plugins.openvino INFO    : Model Output-0 Shape: {1, 1, 100, 7}
2023-04-20 14:37:56.330947519  [2023-04-20 14:37:56] frigate.detectors.plugins.openvino INFO    : Model has 1 Output Tensors
2023-04-20 14:38:00.863020342  [2023-04-20 14:38:00] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:38:00.863630845  [2023-04-20 14:38:00] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:38:15.730886813  [2023-04-20 14:38:15] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:38:15.731325183  [2023-04-20 14:38:15] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:38:15.731667854  [2023-04-20 14:38:15] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:38:20.881261344  [2023-04-20 14:38:20] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:38:20.882147733  [2023-04-20 14:38:20] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:38:25.761725326  [2023-04-20 14:38:25] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:38:25.762347712  [2023-04-20 14:38:25] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:38:25.762353535  [2023-04-20 14:38:25] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:38:30.917292031  [2023-04-20 14:38:30] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:38:30.917297645  [2023-04-20 14:38:30] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:38:35.773468958  [2023-04-20 14:38:35] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:38:35.773602072  [2023-04-20 14:38:35] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:38:35.773792239  [2023-04-20 14:38:35] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:38:40.917234146  [2023-04-20 14:38:40] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:38:40.918191281  [2023-04-20 14:38:40] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:38:45.794118222  [2023-04-20 14:38:45] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:38:45.794124808  [2023-04-20 14:38:45] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:38:45.794126856  [2023-04-20 14:38:45] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:38:50.929326510  [2023-04-20 14:38:50] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:38:50.929712604  [2023-04-20 14:38:50] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:38:55.802093493  [2023-04-20 14:38:55] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:38:55.802099087  [2023-04-20 14:38:55] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:38:55.802100958  [2023-04-20 14:38:55] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:39:00.938187003  [2023-04-20 14:39:00] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:39:00.939247417  [2023-04-20 14:39:00] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:39:05.821827183  [2023-04-20 14:39:05] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:39:05.821833575  [2023-04-20 14:39:05] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:39:05.821835734  [2023-04-20 14:39:05] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:39:10.963088877  [2023-04-20 14:39:10] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:39:10.963733567  [2023-04-20 14:39:10] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:39:15.836521749  [2023-04-20 14:39:15] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:39:15.836528013  [2023-04-20 14:39:15] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:39:15.836529866  [2023-04-20 14:39:15] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:39:20.974018334  [2023-04-20 14:39:20] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:39:20.974911543  [2023-04-20 14:39:20] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...
2023-04-20 14:39:25.850335647  [2023-04-20 14:39:25] watchdog.Garage               ERROR   : Ffmpeg process crashed unexpectedly for Garage.
2023-04-20 14:39:25.850341629  [2023-04-20 14:39:25] watchdog.Garage               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-04-20 14:39:25.850343528  [2023-04-20 14:39:25] ffmpeg.Garage.detect          ERROR   : rtsp://127.0.0.1:8554/Garage_Low: Invalid data found when processing input
2023-04-20 14:39:30.986614388  [2023-04-20 14:39:30] frigate.video                  ERROR   : Garage: Unable to read frames from ffmpeg process.
2023-04-20 14:39:30.987080454  [2023-04-20 14:39:30] frigate.video                  ERROR   : Garage: ffmpeg process is not running. exiting capture thread...

Go2rtc log:

2023-04-20 14:37:53.210730655  [INFO] Preparing go2rtc config...
2023-04-20 14:37:53.632737534  [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2023-04-20 14:37:53.687957423  [INFO] Starting go2rtc...
2023-04-20 14:37:53.804442588  14:37:53.804 INF go2rtc version 1.2.0 linux/amd64
2023-04-20 14:37:53.805336260  14:37:53.805 INF [api] listen addr=:1984
2023-04-20 14:37:53.806674874  14:37:53.806 INF [rtsp] listen addr=:8554
2023-04-20 14:37:53.807667795  14:37:53.807 INF [srtp] listen addr=:8443
2023-04-20 14:37:53.808675755  14:37:53.808 INF [webrtc] listen addr=:8555
2023-04-20 14:38:01.538548254  14:38:01.538 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:01.616204109  14:38:01.616 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:01.629491095  14:38:01.629 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:01.658668159  14:38:01.658 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:03.246176532  [INFO] Starting go2rtc healthcheck service...
2023-04-20 14:38:21.530864024  14:38:21.530 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:21.571981736  14:38:21.571 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:21.633527185  14:38:21.633 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:21.634063121  14:38:21.633 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:31.539194610  14:38:31.539 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:31.619120462  14:38:31.618 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:31.627438678  14:38:31.627 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:31.639460021  14:38:31.639 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:41.535862121  14:38:41.535 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:41.634730349  14:38:41.634 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:41.666919279  14:38:41.666 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:41.675229001  14:38:41.675 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:51.622399161  14:38:51.622 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:51.642158237  14:38:51.641 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:51.660796752  14:38:51.660 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:38:51.699783736  14:38:51.699 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:01.639155687  14:39:01.638 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:01.655220387  14:39:01.654 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:01.764301788  14:39:01.763 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:01.771772512  14:39:01.771 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:11.626173360  14:39:11.626 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:11.643267637  14:39:11.643 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:11.703456383  14:39:11.703 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:11.786183452  14:39:11.786 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:21.655831762  14:39:21.655 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:21.712781866  14:39:21.712 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:21.757987752  14:39:21.757 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:21.773880794  14:39:21.773 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:31.668273888  14:39:31.668 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:31.741850872  14:39:31.741 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:31.753027600  14:39:31.752 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:31.798384294  14:39:31.798 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:41.727675721  14:39:41.727 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:41.728502195  14:39:41.728 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:41.807616569  14:39:41.807 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:41.827503281  14:39:41.827 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:51.724374143  14:39:51.724 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:51.724950046  14:39:51.724 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:51.821770586  14:39:51.821 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:39:51.844471651  14:39:51.844 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:01.794656072  14:40:01.794 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:01.795334833  14:40:01.795 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:01.821880916  14:40:01.821 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:01.873426370  14:40:01.873 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:11.739225262  14:40:11.739 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:11.818973998  14:40:11.818 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:11.917847921  14:40:11.917 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:11.918344933  14:40:11.918 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:21.758350380  14:40:21.758 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:21.816429848  14:40:21.815 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:21.873677035  14:40:21.873 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:21.933380584  14:40:21.933 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:31.772781243  14:40:31.772 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:31.793407089  14:40:31.793 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:31.885828746  14:40:31.884 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:31.945085708  14:40:31.944 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:41.790299916  14:40:41.790 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:41.809395323  14:40:41.809 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:41.910825092  14:40:41.910 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:41.940575618  14:40:41.940 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:51.785907888  14:40:51.785 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:51.804595752  14:40:51.804 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:51.936877870  14:40:51.936 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:40:51.937677506  14:40:51.937 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:01.844515702  14:41:01.844 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:01.864988394  14:41:01.864 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:01.955331273  14:41:01.955 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:01.955369045  14:41:01.955 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:12.240085592  14:41:12.224 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:12.240094883  14:41:12.225 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:12.240103392  14:41:12.227 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:12.325793363  14:41:12.325 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:22.299186081  14:41:22.296 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:22.731773429  14:41:22.731 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:23.052926909  14:41:23.049 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:23.069815443  14:41:23.068 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:32.450865630  14:41:32.450 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:32.699844787  14:41:32.699 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:33.207755307  14:41:33.049 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:33.207763016  14:41:33.129 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:42.621314205  14:41:42.615 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:43.058470364  14:41:43.058 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:43.141808985  14:41:43.141 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:43.254431213  14:41:43.254 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:52.265135746  14:41:52.264 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:52.833886956  14:41:52.833 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:53.045501141  14:41:53.045 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:41:53.125358518  14:41:53.124 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:02.311499436  14:42:02.310 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:02.847563235  14:42:02.840 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:03.119952652  14:42:03.110 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:03.125511509  14:42:03.125 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:13.148467081  14:42:13.144 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:13.790247240  14:42:13.789 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:14.029661981  14:42:14.027 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:14.318987457  14:42:14.318 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:22.611381520  14:42:22.611 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:23.426202521  14:42:23.425 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:23.459916167  14:42:23.459 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:23.635581689  14:42:23.635 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:32.720329167  14:42:32.719 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:33.533900583  14:42:33.531 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:33.549804526  14:42:33.549 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:33.712698343  14:42:33.712 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:42.961122833  14:42:42.960 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:43.576651334  14:42:43.569 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:43.618920962  14:42:43.618 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:43.750087697  14:42:43.749 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:52.971351158  14:42:52.969 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:53.535670999  14:42:53.535 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:53.612222417  14:42:53.611 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:42:53.774147810  14:42:53.773 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:03.030635310  14:43:03.030 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:03.622323433  14:43:03.621 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:03.832453923  14:43:03.831 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:03.878504128  14:43:03.877 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:13.019208623  14:43:13.019 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:13.618418339  14:43:13.618 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:13.682091316  14:43:13.681 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:13.907848356  14:43:13.907 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:23.231135226  14:43:23.225 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:23.700540159  14:43:23.700 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:23.985567822  14:43:23.984 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:24.042821795  14:43:24.042 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:33.201397409  14:43:33.201 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:33.675421152  14:43:33.675 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:33.824294362  14:43:33.824 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:34.608479701  14:43:34.608 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:43.239182360  14:43:43.238 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:43.726824301  14:43:43.726 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:43.858108582  14:43:43.857 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:44.596861256  14:43:44.596 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:53.355976636  14:43:53.355 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:53.924783583  14:43:53.923 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:53.972588109  14:43:53.971 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:43:54.685727997  14:43:54.685 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:44:03.354255446  14:44:03.353 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:44:03.839963418  14:44:03.839 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:44:03.964333993  14:44:03.964 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
2023-04-20 14:44:04.690621023  14:44:04.690 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:221 > error=EOF
NickM-27 commented 1 year ago

okay, I think there is some confusion here. You said you have hikvision cameras but the URL you are using is for amcrest / dahua cameras, so I think your camera stream url is just wrong here.

If your cameras are indeed hikvision then you would access the stream at rtsp://user:password@ip_of_my_camera/streaming/channels/101 for the main stream and rtsp://user:password@ip_of_my_camera/streaming/channels/102 for the sub stream

marcocunha commented 1 year ago

@NickM-27 I do have Hikvision cameras but let me try to explain my setup:

I have 4 Hikvision cameras connected via PoE to a Dahua XVR (XVR4104HS-X1). And the IP address I use is actually the one provided by Dahua.

If I access the RTSP links I have in my config (via VLC for instance) I can access the cameras successfully.

NickM-27 commented 1 year ago

Can you show the media codec information from VLC please?

NickM-27 commented 1 year ago

The ffprobe returns 404 not found which means something is wrong and not pointing to the correct place

marcocunha commented 1 year ago

Can you show the media codec information from VLC please?

@NickM-27 :

High Resolution: image

Low Resolution: image

NickM-27 commented 1 year ago

Okay, looks like. Since you've obfuscated the ip addresses it won't be easy to tell what the issue is, but there is definitely some kind of mixup that is going on with ip address and stream url since ffprobe is getting 404 not found. I would suggest trying to use the camera URLs directly in the cameras section and try to get go2rtc working after that is working

marcocunha commented 1 year ago

Thanks @NickM-27. Unfortunately, I don't have the direct IP address of my cameras.

By the way is it normal that if I access the Go2rtc streams via Frigate the cameras are working? image

marcocunha commented 1 year ago

Also, I just ran a ffprobe directly in the Frigate container, using the internal path ffprobe rtsp://127.0.0.1:8554/Garagem_High and this is what I am getting:

root@e25ea2d4df4c:/opt/frigate# ffprobe rtsp://127.0.0.1:8554/Garagem_High
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[rtsp @ 0x55b13f0ac140] method SETUP failed: 461 Unsupported transport
Input #0, rtsp, from 'rtsp://127.0.0.1:8554/Garagem_High':
  Metadata:
    title           : go2rtc/1.2.0
  Duration: N/A, start: 0.040000, bitrate: N/A
  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 960x1080, 100 tbr, 90k tbn

and for the low resolution:

root@e25ea2d4df4c:/opt/frigate# ffprobe rtsp://127.0.0.1:8554/Garagem_Low                                         
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[rtsp @ 0x55e4cae93140] method SETUP failed: 461 Unsupported transport
Input #0, rtsp, from 'rtsp://127.0.0.1:8554/Garagem_Low':
  Metadata:
    title           : go2rtc/1.2.0
  Duration: N/A, start: 0.200000, bitrate: N/A
  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 352x288, 50 tbr, 90k tbn
NickM-27 commented 1 year ago

So your ffprobe example has the cameras named Garagem_High but your frigate config has it named Garage_High so seems to be a typo

Same with the Low as well

marcocunha commented 1 year ago

So your ffprobe example has the cameras named Garagem_High but your frigate config has it named Garage_High so seems to be a typo

Same with the Low as well

Unfortunately the typo was pasting it here. Autocorrect issue. Both have the same name

NickM-27 commented 1 year ago

I would recommend setting your cameras section to point to the dahua nvr same as the go2rtc section

marcocunha commented 1 year ago

It worked @NickM-27 🥇

I just updated the cameras' input with the same URLs as the go2rtc and now I have a clean log and all cameras are working now. Thanks a lot.

NickM-27 commented 1 year ago

Great glad that worked, feel free to create a new issue if something else comes up.