blakeblackshear / frigate

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

[Support]: Stream issue since current beta #7831

Closed sebastian-tischer closed 1 year ago

sebastian-tischer commented 1 year ago

Describe the problem you are having

Hi team,

since the current beta, I have huge trouble keeping the rtsp stream from my camera running. I get the error " No frames have been received, check error logs" very often and the stream just crashes.

I contacted the camera producer and they noticed in the log, that frigate / rtsp stream receiver is not picking up the rtsp stream fast enough, so that the camera writes it into the internal memory.

Furthermore, the camera screens are not updated each second - neither in frigate plugin, nor dashboard nor the birdseye.

I attach the logs - please tell me if I can provide anything else to support you. Warm regards Sebastian

Version

v5.0.0-beta.1

Frigate config file

mqtt:
      host: 192.168.2.109
      port: 1883
      user: hass-mqtt
      password: mqtt
    detectors:
      coral:
        type: edgetpu
        device: usb
    birdseye:
      enabled: True
      width: 1920
      height: 1080
      quality: 15
      mode: continuous
    detect:
      width: 1920
      height: 1080
      fps: 25
      enabled: True
      max_disappeared: 25
    objects:
      track:
        - person
      filters:
        person:
          min_score: 0.8
          threshold: 0.7
    record:
      enabled: True
      expire_interval: 60
      events:
        pre_capture: 5
        post_capture: 5
        objects:
          - person
        retain:
          default: 5
          mode: motion
          objects:
            person: 15

    snapshots:
      enabled: True
      clean_copy: True
      bounding_box: True
      crop: False
      retain:
        default: 5
        objects:
          person: 15

    cameras:
      IN-9408-Eingang:
        ffmpeg:
          inputs:
            - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/12
              roles:
                - detect
                - record
      IN-9408-Garten:
        ffmpeg:
          inputs:
            - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/12
              roles:
                - detect
                - record
      IN-8401-Flur:
        ffmpeg:
          inputs:
            - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.146/livestream/12
              roles:
                - detect
                - record
      Tapo-Garage:
        ffmpeg:
          inputs:
            - path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
              roles:
                - detect
                - record

Relevant log output

2023-09-15 21:15:59.692683448  [INFO] Starting Frigate...
2023-09-15 21:16:05.497876514  [2023-09-15 23:16:05] frigate.app                    INFO    : Starting Frigate (0.12.1-367d724)
2023-09-15 21:16:05.632552478  [2023-09-15 23:16:05] frigate.app                    INFO    : Creating directory: /tmp/cache
2023-09-15 21:16:05.642386902  [2023-09-15 23:16:05] peewee_migrate                 INFO    : Starting migrations
2023-09-15 21:16:05.663749595  [2023-09-15 23:16:05] peewee_migrate                 INFO    : There is nothing to migrate
2023-09-15 21:16:05.771258159  [2023-09-15 23:16:05] frigate.app                    INFO    : Output process started: 301
2023-09-15 21:16:05.784818322  [2023-09-15 23:16:05] detector.coral                 INFO    : Starting detection process: 299
2023-09-15 21:16:05.801405588  [2023-09-15 23:16:05] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2023-09-15 21:16:05.825353093  [2023-09-15 23:16:05] frigate.app                    INFO    : Camera processor started for IN-9408-Eingang: 304
2023-09-15 21:16:05.895097899  [2023-09-15 23:16:05] frigate.app                    INFO    : Camera processor started for IN-9408-Garten: 306
2023-09-15 21:16:05.957151508  [2023-09-15 23:16:05] frigate.app                    INFO    : Camera processor started for IN-8401-Flur: 309
2023-09-15 21:16:05.999834209  [2023-09-15 23:16:05] frigate.app                    INFO    : Camera processor started for Tapo-Garage: 311
2023-09-15 21:16:06.030920587  [2023-09-15 23:16:06] frigate.app                    INFO    : Capture process started for IN-9408-Eingang: 313
2023-09-15 21:16:06.067073998  [2023-09-15 23:16:06] frigate.app                    INFO    : Capture process started for IN-9408-Garten: 314
2023-09-15 21:16:06.126471555  [2023-09-15 23:16:06] frigate.app                    INFO    : Capture process started for IN-8401-Flur: 318
2023-09-15 21:16:06.236088569  [2023-09-15 23:16:06] frigate.app                    INFO    : Capture process started for Tapo-Garage: 324
2023-09-15 21:16:09.244352450  [2023-09-15 23:16:09] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2023-09-15 21:16:56.445911005  [2023-09-15 23:16:56] watchdog.IN-9408-Garten        INFO    : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg...
2023-09-15 21:16:56.450171977  [2023-09-15 23:16:56] watchdog.IN-9408-Garten        INFO    : Waiting for ffmpeg to exit gracefully...
2023-09-15 21:17:17.028812214  [2023-09-15 23:17:17] frigate.video                  ERROR   : IN-9408-Garten: Unable to read frames from ffmpeg process.
2023-09-15 21:17:17.032511288  [2023-09-15 23:17:17] frigate.video                  ERROR   : IN-9408-Garten: Unable to read frames from ffmpeg process.
2023-09-15 21:17:17.034210429  [2023-09-15 23:17:17] frigate.video                  ERROR   : IN-9408-Garten: Unable to read frames from ffmpeg process.
2023-09-15 21:17:17.035824478  [2023-09-15 23:17:17] frigate.video                  ERROR   : IN-9408-Garten: ffmpeg process is not running. exiting capture thread...
2023-09-15 21:17:27.050635370  [2023-09-15 23:17:27] watchdog.IN-9408-Garten        ERROR   : Ffmpeg process crashed unexpectedly for IN-9408-Garten.
2023-09-15 21:17:27.050648833  [2023-09-15 23:17:27] watchdog.IN-9408-Garten        ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-15 21:17:27.050665258  [2023-09-15 23:17:27] ffmpeg.IN-9408-Garten.detect   ERROR   : [segment @ 0x558f5a6d80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-09-15 21:17:27.050734702  [2023-09-15 23:17:27] ffmpeg.IN-9408-Garten.detect   ERROR   : [rtsp @ 0x558f57a290] CSeq 6 expected, 0 received.
2023-09-15 21:17:27.050740331  [2023-09-15 23:17:27] ffmpeg.IN-9408-Garten.detect   ERROR   :     Last message repeated 1 times
2023-09-15 21:17:36.317526953  [2023-09-15 23:17:36] watchdog.IN-9408-Eingang       INFO    : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg...
2023-09-15 21:17:36.321459764  [2023-09-15 23:17:36] watchdog.IN-9408-Eingang       INFO    : Waiting for ffmpeg to exit gracefully...
2023-09-15 21:17:36.392689869  [2023-09-15 23:17:36] watchdog.IN-8401-Flur          INFO    : No frames received from IN-8401-Flur in 20 seconds. Exiting ffmpeg...
2023-09-15 21:17:36.395013037  [2023-09-15 23:17:36] watchdog.IN-8401-Flur          INFO    : Waiting for ffmpeg to exit gracefully...
2023-09-15 21:17:36.478765952  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: Unable to read frames from ffmpeg process.
2023-09-15 21:17:36.482006718  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: Unable to read frames from ffmpeg process.
2023-09-15 21:17:36.484287313  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: Unable to read frames from ffmpeg process.
2023-09-15 21:17:36.486140637  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: Unable to read frames from ffmpeg process.
2023-09-15 21:17:36.486875070  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: Unable to read frames from ffmpeg process.
2023-09-15 21:17:36.487593115  [2023-09-15 23:17:36] frigate.video                  ERROR   : IN-8401-Flur: ffmpeg process is not running. exiting capture thread...
2023-09-15 21:17:46.497011667  [2023-09-15 23:17:46] watchdog.IN-8401-Flur          ERROR   : Ffmpeg process crashed unexpectedly for IN-8401-Flur.
2023-09-15 21:17:46.497030592  [2023-09-15 23:17:46] watchdog.IN-8401-Flur          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-15 21:17:46.497034481  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.497037629  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.497648842  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.498121705  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.498567328  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.499004266  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.499442871  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.500109472  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.500790757  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.501152104  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.501841334  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.502254050  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.502816708  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.503311182  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.506562133  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.507995259  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.517444135  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.523066327  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.523605301  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.524534490  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.524988631  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.525381274  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.525943969  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.526310315  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.526670828  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.527074118  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.527458001  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.527847329  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.528231286  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.528683298  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.529108588  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.529489434  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.529890890  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.530259903  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.531028429  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.531554236  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.543215207  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.544012399  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.545781113  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.547095315  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.548264871  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.549731905  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.551089940  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.552654045  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.553890212  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.555490354  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.556484765  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.557648803  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.558645306  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.559837159  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.561063936  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.564721714  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.564738510  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.564741770  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.565709144  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.566889293  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.574243700  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.574279681  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.574283773  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.574286810  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.574290014  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.574292847  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.574295940  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.574298736  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.574471604  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.575029354  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.576856086  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.584965463  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.586251425  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.587197022  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.588383559  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.589483746  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.590655599  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.591681121  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.593163302  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.599966680  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.601687191  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.602882117  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.604720886  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.605964793  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.609452647  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.613030464  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.614721734  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.617646431  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.619542606  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.629164682  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.633093919  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.637037655  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.638555317  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.642256169  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.642270594  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.652766824  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.654119063  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] non-existing PPS 0 referenced
2023-09-15 21:17:46.655288860  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 1 times
2023-09-15 21:17:46.656440380  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] decode_slice_header error
2023-09-15 21:17:46.657692842  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x55794b83f0] no frame!
2023-09-15 21:17:46.659040025  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [segment @ 0x55794e1940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-09-15 21:17:46.660352765  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [h264 @ 0x5579506920] Increasing reorder buffer to 1
2023-09-15 21:17:46.661493451  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   : [rtsp @ 0x55794b5290] CSeq 7 expected, 0 received.
2023-09-15 21:17:46.664944343  [2023-09-15 23:17:46] ffmpeg.IN-8401-Flur.detect     ERROR   :     Last message repeated 3 times
2023-09-15 21:17:48.601641101  [2023-09-15 23:17:48] frigate.video                  ERROR   : IN-9408-Eingang: Unable to read frames from ffmpeg process.
2023-09-15 21:17:48.607549529  [2023-09-15 23:17:48] frigate.video                  ERROR   : IN-9408-Eingang: Unable to read frames from ffmpeg process.
2023-09-15 21:17:48.608469330  [2023-09-15 23:17:48] frigate.video                  ERROR   : IN-9408-Eingang: Unable to read frames from ffmpeg process.
2023-09-15 21:17:48.620304392  [2023-09-15 23:17:48] frigate.video                  ERROR   : IN-9408-Eingang: Unable to read frames from ffmpeg process.
2023-09-15 21:17:48.620321336  [2023-09-15 23:17:48] frigate.video                  ERROR   : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread...
2023-09-15 21:17:55.487676534  [2023-09-15 23:17:55] frigate.record                 WARNING : Discarding a corrupt recording segment: /tmp/cache/IN-9408-Eingang-20230915231748.mp4
2023-09-15 21:17:58.652053931  [2023-09-15 23:17:58] watchdog.IN-9408-Eingang       ERROR   : Ffmpeg process crashed unexpectedly for IN-9408-Eingang.
2023-09-15 21:17:58.652829031  [2023-09-15 23:17:58] watchdog.IN-9408-Eingang       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-09-15 21:17:58.653386448  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : [segment @ 0x559b9f4940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2023-09-15 21:17:58.654131937  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : [rtsp @ 0x559b9c8290] CSeq 7 expected, 0 received.
2023-09-15 21:17:58.656493364  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   :     Last message repeated 3 times
2023-09-15 21:17:58.657060355  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : [h264 @ 0x559b9e56a0] error while decoding MB 84 55, bytestream -5
2023-09-15 21:17:58.657809251  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : [h264 @ 0x559b9e56a0] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
2023-09-15 21:17:58.659238285  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : [h264 @ 0x559b9e56a0] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
2023-09-15 21:17:58.659781685  [2023-09-15 23:17:58] ffmpeg.IN-9408-Eingang.detect  ERROR   : rtsp://*:*@192.168.2.127/livestream/12: corrupt decoded frame in stream 0

FFprobe output from your camera

-

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

USB

Network connection

Wired

Camera make and model

2x INSTAR 9408, 1x INSTAR 8401, 1x TP-Link Tapo C225

Any other information that may be helpful

No response

NickM-27 commented 1 year ago

Looks like you're running home assistant integration beta, which wouldn't affect frigates handling of the stream.

So you're saying moving back to the 4.x frigate integration and the issue goes away?

NickM-27 commented 1 year ago

I notice you are running detect at 25 fps, this is discouraged and won't help with detection results in most cases but greatly increases resource usage. The default 5 fps or up to 10 fps for scenes with fast moving objects is recommended. The detect fps doesn't need to match the cameras fps.

sebastian-tischer commented 1 year ago

Wow that was fast πŸ‘ 🀣

I can try to downgrade, let me check.

I use the camera around the house, so no real fast moving objects... I moved to 25 fps in order to maybe retreive the stream faster.

NickM-27 commented 1 year ago

I moved to 25 fps in order to maybe retreive the stream faster.

That will not help, without go2rtc setup the stream in frigate webUI is limited to 10 fps anyway.

sebastian-tischer commented 1 year ago

Downgraded but still get strange, regular outages "No frames have been received, check error logs" - see 23:49+ for IN-9408-Garten.

In camera logs it says also, that the target (in that case frigate) is not picking up the rtsp stream.

2023-09-15 21:48:01.395562417 [INFO] Starting Frigate... 2023-09-15 21:48:10.485506577 [2023-09-15 23:48:10] frigate.app INFO : Starting Frigate (0.12.1-367d724) 2023-09-15 21:48:10.674796768 [2023-09-15 23:48:10] frigate.app INFO : Creating directory: /tmp/cache 2023-09-15 21:48:10.689873661 [2023-09-15 23:48:10] peewee_migrate INFO : Starting migrations 2023-09-15 21:48:10.711623714 [2023-09-15 23:48:10] peewee_migrate INFO : There is nothing to migrate 2023-09-15 21:48:10.827939400 [2023-09-15 23:48:10] frigate.app INFO : Output process started: 300 2023-09-15 21:48:10.843076681 [2023-09-15 23:48:10] detector.coral INFO : Starting detection process: 299 2023-09-15 21:48:10.890273266 [2023-09-15 23:48:10] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb 2023-09-15 21:48:10.907337694 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-9408-Eingang: 303 2023-09-15 21:48:10.987050341 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-9408-Garten: 306 2023-09-15 21:48:10.999256903 [2023-09-15 23:48:10] frigate.app INFO : Camera processor started for IN-8401-Flur: 310 2023-09-15 21:48:11.046029248 [2023-09-15 23:48:11] frigate.app INFO : Camera processor started for Tapo-Garage: 312 2023-09-15 21:48:11.127747468 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-9408-Eingang: 314 2023-09-15 21:48:11.180633473 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-9408-Garten: 316 2023-09-15 21:48:11.367221409 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for IN-8401-Flur: 320 2023-09-15 21:48:11.383527042 [2023-09-15 23:48:11] frigate.app INFO : Capture process started for Tapo-Garage: 324 2023-09-15 21:48:18.706584920 [2023-09-15 23:48:18] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found 2023-09-15 21:48:51.441184754 [2023-09-15 23:48:51] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.442886031 [2023-09-15 23:48:51] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.564576432 [2023-09-15 23:48:51] watchdog.IN-8401-Flur INFO : No frames received from IN-8401-Flur in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.570654317 [2023-09-15 23:48:51] watchdog.IN-8401-Flur INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.628064279 [2023-09-15 23:48:51] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:48:51.630033277 [2023-09-15 23:48:51] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:48:51.684472741 [2023-09-15 23:48:51] frigate.video ERROR : IN-8401-Flur: Unable to read frames from ffmpeg process. 2023-09-15 21:48:51.687505869 [2023-09-15 23:48:51] frigate.video ERROR : IN-8401-Flur: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:48:51.744138535 [2023-09-15 23:48:51] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:48:51.746675959 [2023-09-15 23:48:51] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:49:01.693513694 [2023-09-15 23:49:01] watchdog.IN-8401-Flur ERROR : Ffmpeg process crashed unexpectedly for IN-8401-Flur. 2023-09-15 21:49:01.698998672 [2023-09-15 23:49:01] watchdog.IN-8401-Flur ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:01.699786357 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.701291152 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.702272188 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.704390854 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.705662964 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.706977222 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.707720666 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.709974424 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.710805479 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.712543237 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.713512144 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.715345217 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.716768512 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.718595530 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.720044103 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.721778935 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.723936397 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.725485377 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.726361710 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.728083616 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.728786153 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.730001300 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.730668522 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.731763688 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.732436780 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.733697298 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.734360353 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.735540519 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.736212648 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.737243462 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.738583850 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.739789739 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.742112867 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.744552736 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.745622087 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.746593938 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.747903196 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.748855196 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.750990306 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.751431953 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.754003748 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.754460877 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.755718969 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.756097488 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.757581338 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.757998431 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.760575670 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.760995855 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.763079298 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.791333558 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.792434502 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.803078569 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.803998216 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.804920068 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.805884586 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.807179881 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.808423880 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.809446806 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.810110972 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.823792574 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.823806445 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.824391981 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.826000702 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.826976906 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.828472719 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.832151162 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.832166643 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.832993457 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.833902364 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.835983048 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.837021696 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.837680065 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.838865602 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.839562083 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.840795212 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.841395174 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.842539433 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.847537374 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.847557078 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.847560393 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.847576374 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.847658022 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.848174522 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.850544613 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.851920482 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.853829055 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.855392573 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.856787257 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.858166627 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.859382626 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.860639958 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.862038624 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.863170012 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] non-existing PPS 0 referenced 2023-09-15 21:49:01.864415493 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.865946344 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] decode_slice_header error 2023-09-15 21:49:01.867081788 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [h264 @ 0x55927cc3f0] no frame! 2023-09-15 21:49:01.867843343 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [segment @ 0x55927f5940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:49:01.869321916 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [segment @ 0x55927f5940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:01.869997526 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : [rtsp @ 0x55927c9290] CSeq 6 expected, 0 received. 2023-09-15 21:49:01.871518655 [2023-09-15 23:49:01] ffmpeg.IN-8401-Flur.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:01.871959803 [2023-09-15 23:49:01] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:49:01.873858080 [2023-09-15 23:49:01] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:01.875133949 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5598fead80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:49:01.876461652 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5598fead80] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:01.877618207 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5598fbe290] CSeq 6 expected, 0 received. 2023-09-15 21:49:01.878746502 [2023-09-15 23:49:01] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 1 times 2023-09-15 21:49:19.618345700 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.625159808 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.627552695 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.630518675 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.634103265 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.636433523 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:49:19.646680258 [2023-09-15 23:49:19] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:49:29.649532645 [2023-09-15 23:49:29] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:49:29.650874570 [2023-09-15 23:49:29] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:49:29.651634273 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x559cb35940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:49:29.653136939 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x559cb35940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:49:29.654732845 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x559cb09290] CSeq 6 expected, 0 received. 2023-09-15 21:49:29.656740252 [2023-09-15 23:49:29] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 5 times 2023-09-15 21:50:21.941615593 [2023-09-15 23:50:21] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:50:21.944066722 [2023-09-15 23:50:21] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:50:29.728160417 [2023-09-15 23:50:29] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:50:29.731616860 [2023-09-15 23:50:29] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:50:29.912101110 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.917519441 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.922900901 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.925167473 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.927337231 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.928872601 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.930322619 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.932485284 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:50:29.939308799 [2023-09-15 23:50:29] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:50:35.114432183 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.119296829 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.119313625 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:50:35.121605531 [2023-09-15 23:50:35] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:50:39.972197655 [2023-09-15 23:50:39] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:50:39.975479265 [2023-09-15 23:50:39] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:50:39.975507024 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] sps_id 0 out of range 2023-09-15 21:50:39.987820943 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] non-existing PPS 0 referenced 2023-09-15 21:50:39.988788794 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] sps_id 0 out of range 2023-09-15 21:50:39.989783164 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] non-existing PPS 0 referenced 2023-09-15 21:50:39.990799886 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] decode_slice_header error 2023-09-15 21:50:40.007954173 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580aa33f0] no frame! 2023-09-15 21:50:40.008984135 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x5580accd80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:50:40.010368912 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x5580accd80] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:50:40.013079447 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [h264 @ 0x5580b33700] Increasing reorder buffer to 1 2023-09-15 21:50:40.014324095 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x5580aa0290] CSeq 6 expected, 0 received. 2023-09-15 21:50:40.015580261 [2023-09-15 23:50:39] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 1 times 2023-09-15 21:50:45.125720077 [2023-09-15 23:50:45] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:50:45.161502464 [2023-09-15 23:50:45] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:50:45.163816592 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x5578c72d80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:50:45.163838277 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5578c46290] CSeq 7 expected, 0 received. 2023-09-15 21:50:45.163940740 [2023-09-15 23:50:45] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 2 times 2023-09-15 21:51:20.029625263 [2023-09-15 23:51:20] watchdog.IN-9408-Eingang INFO : No frames received from IN-9408-Eingang in 20 seconds. Exiting ffmpeg... 2023-09-15 21:51:20.029640134 [2023-09-15 23:51:20] watchdog.IN-9408-Eingang INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:51:25.246975328 [2023-09-15 23:51:25] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:51:25.250213881 [2023-09-15 23:51:25] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:51:39.364011969 [2023-09-15 23:51:39] frigate.video ERROR : IN-9408-Eingang: Unable to read frames from ffmpeg process. 2023-09-15 21:51:39.367036985 [2023-09-15 23:51:39] frigate.video ERROR : IN-9408-Eingang: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:51:49.372905634 [2023-09-15 23:51:49] watchdog.IN-9408-Eingang ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Eingang. 2023-09-15 21:51:49.372919301 [2023-09-15 23:51:49] watchdog.IN-9408-Eingang ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:51:49.372925301 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x55919a0940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:51:49.372930875 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [segment @ 0x55919a0940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file. 2023-09-15 21:51:49.372936338 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : [rtsp @ 0x5591974290] CSeq 6 expected, 0 received. 2023-09-15 21:51:49.373072764 [2023-09-15 23:51:49] ffmpeg.IN-9408-Eingang.detect ERROR : Last message repeated 1 times 2023-09-15 21:51:54.850103557 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.856558035 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.862014939 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.866146511 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:51:54.866160714 [2023-09-15 23:51:54] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:51:57.555959518 [2023-09-15 23:51:57] frigate.record WARNING : Discarding a corrupt recording segment: /tmp/cache/IN-9408-Garten-20230915235103.mp4 2023-09-15 21:52:04.879645990 [2023-09-15 23:52:04] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:52:04.879665731 [2023-09-15 23:52:04] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:52:04.879671675 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x55ba16dd30] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:52:04.879675416 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] Increasing reorder buffer to 1 2023-09-15 21:52:04.879679064 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] top block unavailable for requested intra mode -1 2023-09-15 21:52:04.879682527 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : [h264 @ 0x55ba129b80] error while decoding MB 103 0, bytestream -3 2023-09-15 21:52:04.880156805 [2023-09-15 23:52:04] ffmpeg.IN-9408-Garten.detect ERROR : rtsp://:@192.168.2.128/livestream/12: corrupt decoded frame in stream 0 2023-09-15 21:52:44.968848654 [2023-09-15 23:52:44] watchdog.IN-9408-Garten INFO : No frames received from IN-9408-Garten in 20 seconds. Exiting ffmpeg... 2023-09-15 21:52:44.969471579 [2023-09-15 23:52:44] watchdog.IN-9408-Garten INFO : Waiting for ffmpeg to exit gracefully... 2023-09-15 21:52:46.398758508 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.401547007 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.404807264 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: Unable to read frames from ffmpeg process. 2023-09-15 21:52:46.406677930 [2023-09-15 23:52:46] frigate.video ERROR : IN-9408-Garten: ffmpeg process is not running. exiting capture thread... 2023-09-15 21:52:56.436668180 [2023-09-15 23:52:56] watchdog.IN-9408-Garten ERROR : Ffmpeg process crashed unexpectedly for IN-9408-Garten. 2023-09-15 21:52:56.438442809 [2023-09-15 23:52:56] watchdog.IN-9408-Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-09-15 21:52:56.438458716 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : [segment @ 0x558567d940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 2023-09-15 21:52:56.438462772 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : [rtsp @ 0x5585651290] CSeq 6 expected, 0 received. 2023-09-15 21:52:56.438466161 [2023-09-15 23:52:56] ffmpeg.IN-9408-Garten.detect ERROR : Last message repeated 1 times

NickM-27 commented 1 year ago

Please send a screenshot of the system page

sebastian-tischer commented 1 year ago
Bildschirmfoto 2023-09-15 um 23 57 50 Bildschirmfoto 2023-09-15 um 23 57 56
NickM-27 commented 1 year ago

Many things look not great here --

Coral inference time should be close to if not below 10, 100 is quite high and implies some slowdown or usb cable / port issue.

Also the cpu usages are very high. What hardware is this system running? Hwaccel is highly recommended especially when decoding higher resolutions like 1920x1080 for detect.

sebastian-tischer commented 1 year ago

I use a raspberry pi 4 4GB and have the coral attached via the recommended USB port.

What would you recommend and how should I install hwaccel? :)

NickM-27 commented 1 year ago

https://docs.frigate.video/configuration/hardware_acceleration#raspberry-pi-34

sebastian-tischer commented 1 year ago

Stupid question - I use hassio on the raspberry, can I do that there as well?

sebastian-tischer commented 1 year ago

Or do you recommend a different hardware?

NickM-27 commented 1 year ago

it can be done but it is not documented, I am not sure exactly how in HA OS.

The docs have a list of recommended hardware https://docs.frigate.video/frigate/hardware#server

sebastian-tischer commented 1 year ago
Bildschirmfoto 2023-09-16 um 00 25 25 Bildschirmfoto 2023-09-16 um 00 25 32
NickM-27 commented 1 year ago

do these cameras not have substreams?

nmcrae85 commented 1 year ago

Im seeing a similar issue here too.

nmcrae85 commented 1 year ago

frame= 5193 fps= 22 q=-1.0 size=N/A time=00:03:59.11 bitrate=N/A speed=1.01x
14:05:48.712 ERR [exec] timeout url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.713702957 14:05:48.713 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.716122279 14:05:48.715 TRC [exec] close url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.13/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.723196275 14:05:48.723 ERR [exec] timeout url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.723513253 14:05:48.723 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.726727822 14:05:48.726 TRC [exec] close url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.12/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=123456789 -map 0:v:0? -c:v:0 copy -map 0:a:0? -c:a:0 copy -map 0:a:0? -c:a:1 libopus -ar:a:1 48000 -ac:a:1 2 -application:a:1 voip -min_comp 0 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.986672143 frame= 5199 fps= 22 q=-1.0 size=N/A time=00:03:59.41 bitrate=N/A speed=1.01x
frame= 5936 fps= 25 q=-1.0 size=N/A time=00:03:59.40 bitrate=N/A speed=1.01x
14:05:48.986 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.11/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.988113575 14:05:48.987 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.10/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:48.995352785 frame= 4715 fps= 20 q=-1.0 size=N/A time=00:03:59.75 bitrate=N/A speed=1.02x
14:05:48.995 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.15/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}" 2023-09-16 14:05:49.000076363 14:05:48.999 DBG [exec] run url="exec:ffmpeg -hide_banner -fflags nobuffer -flags low_delay -i http://192.168.150.14/flv?port=1935&app=bcs&stream=channel1_ext.bcs&user=admin&password=123456789 -c copy -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"

NickM-27 commented 1 year ago

Im seeing a similar issue here too.

please create your own issue, this user is not running 0.13

sebastian-tischer commented 1 year ago

do these cameras not have substreams?

Sh** what's that? I used rtsp since the docu recommended it and used the url INSTAR is providing 😁

NickM-27 commented 1 year ago

a sub stream is a stream from the camera that is a lower resolution / frame rate than the main stream.

sebastian-tischer commented 1 year ago

a sub stream is a stream from the camera that is a lower resolution / frame rate than the main stream.

Ah thanks man - yeah I can easily reduce the resolution. But I wanted to have high res pictures when viewing the cam.

Let me reduce it quickly :)

NickM-27 commented 1 year ago

Ah thanks man - yeah I can easily reduce the resolution. But I wanted to have high res pictures when viewing the cam.

right, but that is the benefit of the sub stream. It is a separate stream that is lower resolution without affecting the resolution of the main stream.

This is why frigate recommends high quality cameras that have 3+ streams, so you can have high resolution for record while also having a middle resolution stream for detection

sebastian-tischer commented 1 year ago

I changed the rtsp stream url - when editing the last number, the stream uses lower resolution.

Detect resolution in Config I left unchanged and also deleted birdsview.

mqtt:
  host: 192.168.2.109
  port: 1883
  user: hass-mqtt
  password: mqtt
detectors:
  coral:
    type: edgetpu
    device: usb
ffmpeg:
  hwaccel_args: preset-rpi-64-h264
detect:
  width: 1920
  height: 1080
  fps: 5
  enabled: True
  max_disappeared: 25
objects:
  track:
    - person
  filters:
    person:
      min_score: 0.8
      threshold: 0.7
record:
  enabled: True
  expire_interval: 60
  events:
    pre_capture: 5
    post_capture: 5
    objects:
      - person
    retain:
      default: 5
      mode: motion
      objects:
        person: 15

snapshots:
  enabled: True
  clean_copy: True
  bounding_box: True
  crop: False
  retain:
    default: 5
    objects:
      person: 15

cameras:
  IN-9408-Eingang:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/13
          roles:
            - detect
            - record
  IN-9408-Garten:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/13
          roles:
            - detect
            - record
  IN-8401-Flur:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.146/livestream/13
          roles:
            - detect
            - record
  Tapo-Garage:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
          roles:
            - detect
            - record
NickM-27 commented 1 year ago

you need to lower detect resolution if you are running detect on a lower resolution stream. and there is no reason to also record on the same lower resolution

https://docs.frigate.video/guides/getting_started#step-6-enable-recording-andor-snapshots

sebastian-tischer commented 1 year ago

Ah got it. So you recommend the detect stream is low while record stream higher?

NickM-27 commented 1 year ago

this is covered in detail https://docs.frigate.video/frigate/camera_setup

sebastian-tischer commented 1 year ago

That helped a lot - got it working now and as of now with go2rtc looks good:

mqtt:
  host: 192.168.2.109
  port: 1883
  user: hass-mqtt
  password: mqtt
detectors:
  coral:
    type: edgetpu
    device: usb
ffmpeg:
  hwaccel_args: preset-rpi-64-h264
detect:
  width: 640
  height: 360
  fps: 5
  enabled: True
  max_disappeared: 25
objects:
  track:
    - person
  filters:
    person:
      min_score: 0.8
      threshold: 0.7
record:
  enabled: True
  expire_interval: 60
  events:
    pre_capture: 5
    post_capture: 5
    objects:
      - person
    retain:
      default: 5
      mode: motion
      objects:
        person: 15

snapshots:
  enabled: True
  clean_copy: True
  bounding_box: True
  crop: False
  retain:
    default: 5
    objects:
      person: 15

cameras:
  Eingang:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/13
          roles:
          - detect
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/11
          roles:
          - record
  Garten:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/13
          roles:
          - detect
        - path: rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/11
          roles:
          - record
  Garage:
    ffmpeg:
      inputs:
        - path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream2
          roles:
          - detect
        - path: rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1
          roles:
          - record
go2rtc:
  streams:
    Eingang:
      - rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.127/livestream/11
      - "ffmpeg:Eingang#video=h264"
    Garten:
      - rtsp://operator-kamera:qyw8xU8mkr.zh4R7znL3@192.168.2.128/livestream/11
      - "ffmpeg:Garten#video=h264"
    Garage:
      - rtsp://operator-kamera:McN9foGXqtK2xPi@192.168.2.147:554/stream1

What I still noticed, is the high inferenced speed ms for the coral - any option to optimize it besides nuc?

FFPROBE give that: [{"return_code":1,"stderr":"","stdout":""},{"return_code":1,"stderr":"","stdout":""}]

Bildschirmfoto 2023-09-17 um 00 11 58 Bildschirmfoto 2023-09-17 um 00 11 49
NickM-27 commented 1 year ago

What I still noticed, is the high inferenced speed ms for the coral - any option to optimize it besides nuc?

I don't think so, as far as I know all RPi usb ports are the same

sebastian-tischer commented 1 year ago

Shit ok - so upgrade hardware recommended for 3 LAN camera + 1 Wlan cam?

NickM-27 commented 1 year ago

In general yes, users have had better performance

NickM-27 commented 1 year ago

Going to go ahead and close this since the original issue is solved. Feel free to create a new issue if something else comes up.