Show camera in go2rtc but not in frigate

Have run this configuration for a couple of months and it has worked. But for the last 1-2 weeks, I only get a black box on the camera framsida. If I receive the broadcast via the go2rtc integration, it will also work in the tapos app. What can I change in the code?

mqtt:
  enabled: True
  host: 192.168.68.123
  #host: homeasissistant.local
  topic_prefix: frigate
  user: mqttBroker
  password: Bor0738198536
  stats_interval: 300
  
database:
  path: /config/frigate.db

detectors:
  coral:
    type: edgetpu
    device: usb


timestamp_style: 
  position: "tr"
  format: "%d/%m/%Y %H:%M:%S"
  thickness: 2



#ffmpeg:
 # hwaccel_args: -c:v h264_v4l2m2m
   #- preset-rpi-64-h264 
         
#ffmpeg:
#  hwaccel_args:
#    - -c:v
#    - h264_v4l2m2m
   # - preset-rpi-64-h264 
##### från github####
ffmpeg:
  hwaccel_args: preset-rpi-64-h264
    


###########https://www.homeautomationguy.io/blog/home-assistant-tips/tweaking-frigate-to-get-the-best-results



  #### användarnamn: lösenord
go2rtc:
  streams:
    carport:
      - rtsp://daaxcamera:[email protected]:554/stream1
      #- tapo://admin:[email protected]
    carport_sub:
      - rtsp://daaxcamera:[email protected]:554/stream2
      - ffmpeg:carport_sub
      #- "ffmpeg:carport_sub#audio=aac" 
      #- tapo://admin:[email protected]

    hallen:
      - ffmpeg:rtsp://admin:[email protected]:554/live/profile.0/video
    hallen_sub:
      - ffmpeg:rtsp://admin:[email protected]:554/live/profile.1/video


    framsida:
      - ffmpeg:rtsp://daaxcamera1:[email protected]:554/stream1
    framsida_sub:
      - ffmpeg:rtsp://daaxcamera1:[email protected]:554/stream2
      #- ffmpeg:framsida_sub


    test: 
      -  ffmpeg:rtsp://admin:[email protected]:554/live/profile.0/video
    test_sub: 
      -  ffmpeg:rtsp://admin:[email protected]:554/live/profile.1/video

    hallen_ny:
      - rtsp://daaxcamera3:[email protected]:554/stream1
      - "ffmpeg:hallen_ny#audio=aac"
    hallen_ny_sub:
      - rtsp://daaxcamera3:[email protected]:554/stream2
      - ffmpeg:hallen_ny_sub
      #- "ffmpeg:hallen_nu#video=h264#audio=aac"



cameras:


  ##### UTE BAKSIDA #####
  camera_carport: # <------ Namnge kameran
    ffmpeg:
      inputs:
        - path: rtsp://192.168.68.123:8554/carport
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://192.168.68.123:8554/carport_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
    #  input_args: -rtsp_transport tcp

    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 640 # <---- update for your camera's resolution 2304
      height: 360 # <---- update for your camera's resolution 1296
      fps: 5
      stationary:
        interval: 20
        threshold: 50


    rtmp:
      enabled: False
    snapshots: # <----- Enable snapshots
      enabled: True
      timestamp: True
      bounding_box: True
      required_zones:
        - zone_infart_carport
        - zon_trapp
        - zon_infart
      retain:
        default: 10 

    record:
      enabled: True
      retain:
        days: 5
        mode: motion
      events:
        pre_capture: 15
        post_capture: 20
        required_zones:
        - zone_infart_carport
        - zon_trapp
        - zon_infart
        retain:
          default: 8 
          mode: active_objects

    objects:
      track:
        - person
        - car 
        - bicycle
        - motorcycle
        - cat
        - dog
      filters:
          
        bicycle:
          mask:
        car:
          mask:
        cat:
          mask:
        dog:
          mask:
        motorcycle:
          mask:
        person:
          mask:
            - 237,360,228,333,180,336,178,360 
          threshold: 0.7

    
    motion:
      mask:
        - 255,0,0,0,0,37,253,31
        - 640,0,640,65,461,0
        - 640,249,599,226,583,220,573,204,558,184,572,173,586,159,610,145,640,137
        
    zones:
      #zon_carport:
      #  coordinates: 372,81,617,202,640,97,396,0
      #  objects:
       # - person
      zon_trapp:
        coordinates: 86,360,117,360,113,229,85,132,38,144
        objects:
          - person
          - cat
          - dog
      zon_infart:
        coordinates: 361,142,394,223,551,337,399,360,311,360,81,67,152,51,197,51,268,44,395,57
        objects:
        - car 
        - bicycle
        - motorcycle
        
      zone_infart_carport:
        coordinates: 364,360,640,360,640,102,402,0,145,43,139,130,264,169,249,237
        objects:
        - person
        - cat
        - dog
 
      
    
        


  
#####ute framsida #####

  camera_framsida: # <------ Name the camera
    ffmpeg:
      inputs:
        - path: rtsp://192.168.68.123:8554/framsida
          input_args: preset-rtsp-restream
        #- path: rtsp://daaxcamera:[email protected]:554/stream1    # <----- The stream you want to use for detection
          roles:
            - record
        - path: rtsp://192.168.68.123:8554/framsida_sub
          input_args: preset-rtsp-restream
        #- path: rtsp://daaxcamera1:[email protected]:554/stream2   # <----- The stream you want to use for detection
          roles:
            - detect
            #- rtmp
            #####test 14/01###
    #  input_args: -rtsp_transport tcp

    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 640 # <---- update for your camera's resolution 2304
      height: 360 # <---- update for your camera's resolution 1296
      fps: 5
    objects:
      track:
        - person
        - cat
        - dog
      filters:
        person:
          threshold: 0.65

    

    rtmp:
      enabled: False
    snapshots: # <----- Enable snapshots
      enabled: True
      timestamp: True
      bounding_box: True
      required_zones:
        - zone_framsida
      retain:
        default: 8 
    record:
      enabled: True
      retain:
        days: 5
        mode: motion
      events:
        pre_capture: 15
        post_capture: 20
        required_zones:
        - zone_framsida
        retain:
          default: 8
          mode: active_objects

    motion:
      mask:
        - 0,0,0,50,284,47,285,0
        - 640,0,640,320,640,360,279,360,288,304,456,339,557,77,565,0,640,0
    zones:
     zone_framsida:
      coordinates: 0,360,440,360,466,311,474,260,421,171,407,153,421,106,516,113,535,79,508,54,0,54
      objects:
        - person
  









  camera_hallen_ny: # <------ Name the camera
    ffmpeg:
      #output_args:  #####för ljud
       # record: preset-record-generic-audio-copy  #####för ljud
      inputs:
        - path: rtsp://192.168.68.123:8554/hallen_ny
          input_args: preset-rtsp-restream
        #- path: rtsp://daaxcamera:[email protected]:554/stream1    # <----- The stream you want to use for detection
          roles:
            - record
        - path: rtsp://192.168.68.123:8554/hallen_ny_sub
          input_args: preset-rtsp-restream
        #- path: rtsp://daaxcamera1:[email protected]:554/stream2   # <----- The stream you want to use for detection
          roles:
            - detect
            #- rtmp
                  #####test 14/01###
     # input_args: -rtsp_transport tcp
      
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 640 # <---- update for your camera's resolution 2304
      height: 360 # <---- update for your camera's resolution 1296
      fps: 5

    snapshots: # <----- Enable snapshots
      enabled: True
      timestamp: True
      bounding_box: True
      #required_zones:
        #- zone_0
      retain:
        default: 3 
    record:
      enabled: True
      retain:
        days: 5
        mode: motion
      events:
        retain:
          default: 8
          mode: active_objects
        pre_capture: 20
    # Optional: Number of seconds after the event to include (default: shown below)
        post_capture: 20
          
    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.7
    

 
    motion:
      mask:
        - 0,0,0,50,284,47,285,0





Did you try stopping frigate container and restarting container? Not just restart from UI but complete restart of host.

If it worked and no change was made, then suddenly stop working only for frigate restart may be enough.

Also look at frigate logs. If there is some issue with stream it will be shown there

Did you try stopping frigate container and restarting container? Not just restart from UI but complete restart of host. did the thing thank you

20min late and same poblem :frowning:
som of the logg its to big to atatch al

2024-03-09 16:14:01.138722281  [INFO] Preparing Frigate...
2024-03-09 16:14:01.553394454  [INFO] Starting Frigate...
2024-03-09 16:14:08.929134671  [2024-03-09 17:14:08] frigate.app                    INFO    : Starting Frigate (0.13.2-6476f8a)
2024-03-09 16:14:08.932878694  [2024-03-09 17:14:08] frigate.app                    INFO    : Creating directory: /tmp/cache
2024-03-09 16:14:09.189545187  [2024-03-09 17:14:09] peewee_migrate.logs            INFO    : Starting migrations
2024-03-09 16:14:09.205545730  [2024-03-09 17:14:09] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-03-09 16:14:09.219788537  [2024-03-09 17:14:09] frigate.app                    INFO    : Recording process started: 307
2024-03-09 16:14:09.232603846  [2024-03-09 17:14:09] frigate.app                    INFO    : go2rtc process pid: 87
2024-03-09 16:14:09.372421992  [2024-03-09 17:14:09] frigate.app                    INFO    : Output process started: 318
2024-03-09 16:14:09.406163203  [2024-03-09 17:14:09] detector.coral                 INFO    : Starting detection process: 317
2024-03-09 16:14:09.483865578  [2024-03-09 17:14:09] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-03-09 16:14:10.071872332  [2024-03-09 17:14:10] frigate.app                    INFO    : Camera processor started for camera_carport: 339
2024-03-09 16:14:10.091971894  [2024-03-09 17:14:10] frigate.app                    INFO    : Camera processor started for camera_framsida: 340
2024-03-09 16:14:10.112834723  [2024-03-09 17:14:10] frigate.app                    INFO    : Camera processor started for camera_hallen_ny: 341
2024-03-09 16:14:10.149215305  [2024-03-09 17:14:10] frigate.app                    INFO    : Capture process started for camera_carport: 342
2024-03-09 16:14:10.184961470  [2024-03-09 17:14:10] frigate.app                    INFO    : Capture process started for camera_framsida: 348
2024-03-09 16:14:10.230083749  [2024-03-09 17:14:10] frigate.app                    INFO    : Capture process started for camera_hallen_ny: 353
2024-03-09 16:14:12.464171432  [2024-03-09 17:14:12] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-03-09 16:14:54.374755045  [h264 @ 0x7f7c171fc0] error while decoding MB 100 13, bytestream -9
2024-03-09 16:16:44.416691864  [h264 @ 0x7f7c171fc0] error while decoding MB 29 67, bytestream -6
2024-03-09 16:17:29.377086344  [h264 @ 0x7f7c019710] error while decoding MB 89 68, bytestream -11
2024-03-09 16:18:11.171589010  [2024-03-09 17:18:11] frigate.video                  ERROR   : camera_framsida: Unable to read frames from ffmpeg process.
2024-03-09 16:18:11.173505132  [2024-03-09 17:18:11] frigate.video                  ERROR   : camera_framsida: ffmpeg process is not running. exiting capture thread...
2024-03-09 16:18:14.374171282  [h264 @ 0x7f7c019710] error while decoding MB 65 69, bytestream 172
2024-03-09 16:18:20.436784434  [2024-03-09 17:18:20] watchdog.camera_framsida       ERROR   : Ffmpeg process crashed unexpectedly for camera_framsida.
2024-03-09 16:18:20.437710311  [2024-03-09 17:18:20] watchdog.camera_framsida       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-09 16:19:19.417591159  [h264 @ 0x7f7c019710] left block unavailable for requested intra4x4 mode -1
2024-03-09 16:19:19.417604288  [h264 @ 0x7f7c019710] error while decoding MB 0 44, bytestream 52026
2024-03-09 16:20:00.435192125  [2024-03-09 17:20:00] watchdog.camera_carport        ERROR   : No new recording segments were created for camera_carport in the last 120s. restarting the ffmpeg record process...
2024-03-09 16:20:00.437709331  [2024-03-09 17:20:00] watchdog.camera_carport        INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:20:00.441002009  [2024-03-09 17:20:00] watchdog.camera_carport        INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:22:29.374024039  [h264 @ 0x7f7c171fc0] left block unavailable for requested intra mode
2024-03-09 16:22:29.374042243  [h264 @ 0x7f7c171fc0] error while decoding MB 0 46, bytestream -4
2024-03-09 16:23:20.495715713  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] Non-monotonous DTS in output stream 0:0; previous: 0, current: -5228; changing to 1. This may result in incorrect timestamps in the output file.
2024-03-09 16:23:20.510917636  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] Non-monotonous DTS in output stream 0:0; previous: 1, current: -3584; changing to 2. This may result in incorrect timestamps in the output file.
2024-03-09 16:23:20.510931691  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] Non-monotonous DTS in output stream 0:0; previous: 2, current: -2816; changing to 3. This may result in incorrect timestamps in the output file.
2024-03-09 16:23:20.510945969  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] Non-monotonous DTS in output stream 0:0; previous: 3, current: -2140; changing to 4. This may result in incorrect timestamps in the output file.
2024-03-09 16:23:20.511093874  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] Non-monotonous DTS in output stream 0:0; previous: 4, current: -497; changing to 5. This may result in incorrect timestamps in the output file.
2024-03-09 16:23:20.511202632  [2024-03-09 17:23:20] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x5596885130] 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
2024-03-09 16:23:20.511257928  [2024-03-09 17:23:20] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:23:20.511262946  [2024-03-09 17:23:20] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:23:30.530437148  [2024-03-09 17:23:30] watchdog.camera_framsida       INFO    : No frames received from camera_framsida in 20 seconds. Exiting ffmpeg...
2024-03-09 16:23:30.530459425  [2024-03-09 17:23:30] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:23:34.435728575  [2024-03-09 17:23:34] frigate.video                  ERROR   : camera_framsida: Unable to read frames from ffmpeg process.
2024-03-09 16:23:34.437619493  [2024-03-09 17:23:34] frigate.video                  ERROR   : camera_framsida: Unable to read frames from ffmpeg process.
2024-03-09 16:23:34.439388673  [2024-03-09 17:23:34] frigate.video                  ERROR   : camera_framsida: ffmpeg process is not running. exiting capture thread...
2024-03-09 16:23:34.452721121  [2024-03-09 17:23:34] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:23:34.454358414  [2024-03-09 17:23:34] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:23:34.454375821  [2024-03-09 17:23:34] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:23:44.484360603  [2024-03-09 17:23:44] watchdog.camera_framsida       ERROR   : Ffmpeg process crashed unexpectedly for camera_framsida.
2024-03-09 16:23:44.486382168  [2024-03-09 17:23:44] watchdog.camera_framsida       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-09 16:23:44.489048206  [2024-03-09 17:23:44] ffmpeg.camera_framsida.detect  ERROR   : [h264 @ 0x555f6b6150] error while decoding MB 11 8, bytestream -14
2024-03-09 16:23:44.489063521  [2024-03-09 17:23:44] ffmpeg.camera_framsida.detect  ERROR   : rtsp://192.168.68.123:8554/framsida_sub: corrupt decoded frame in stream 0
2024-03-09 16:23:44.489068076  [2024-03-09 17:23:44] ffmpeg.camera_framsida.detect  ERROR   : [rtsp @ 0x555f69c090] RTP: PT=60: bad cseq 00dd expected=2008
2024-03-09 16:23:44.504100982  [2024-03-09 17:23:44] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:23:44.504873546  [2024-03-09 17:23:44] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:23:44.505640073  [2024-03-09 17:23:44] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:24:04.406609793  [h264 @ 0x7f7c171fc0] error while decoding MB 113 27, bytestream -6
2024-03-09 16:25:14.559195988  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] Non-monotonous DTS in output stream 0:0; previous: 0, current: -5135; changing to 1. This may result in incorrect timestamps in the output file.
2024-03-09 16:25:14.559212395  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] Non-monotonous DTS in output stream 0:0; previous: 1, current: -4337; changing to 2. This may result in incorrect timestamps in the output file.
2024-03-09 16:25:14.560432934  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] Non-monotonous DTS in output stream 0:0; previous: 2, current: -2816; changing to 3. This may result in incorrect timestamps in the output file.
2024-03-09 16:25:14.561673065  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] Non-monotonous DTS in output stream 0:0; previous: 3, current: -2033; changing to 4. This may result in incorrect timestamps in the output file.
2024-03-09 16:25:14.562658830  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] Non-monotonous DTS in output stream 0:0; previous: 4, current: -1326; changing to 5. This may result in incorrect timestamps in the output file.
2024-03-09 16:25:14.564273789  [2024-03-09 17:25:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a0c2a130] 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
2024-03-09 16:25:14.565584327  [2024-03-09 17:25:14] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:25:14.567404043  [2024-03-09 17:25:14] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:25:24.597815107  [2024-03-09 17:25:24] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:25:24.599429770  [2024-03-09 17:25:24] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:25:24.600070484  [2024-03-09 17:25:24] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:29:34.368462740  [h264 @ 0x7f7c019710] left block unavailable for requested intra mode
2024-03-09 16:29:34.368476369  [h264 @ 0x7f7c019710] error while decoding MB 0 28, bytestream 184060
2024-03-09 16:35:29.416307866  [h264 @ 0x7f7c019710] left block unavailable for requested intra mode
2024-03-09 16:35:29.416324366  [h264 @ 0x7f7c019710] error while decoding MB 0 46, bytestream 613
2024-03-09 16:35:34.394849943  [h264 @ 0x7f7c019710] error while decoding MB 111 25, bytestream -5
2024-03-09 16:37:14.723955715  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 0, current: -5135; changing to 1. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.736978422  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 1, current: -4367; changing to 2. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.738597325  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 2, current: -3507; changing to 3. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.739270334  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 3, current: -1987; changing to 4. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.740061656  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 4, current: -1295; changing to 5. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.741287491  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] Non-monotonous DTS in output stream 0:0; previous: 5, current: -527; changing to 6. This may result in incorrect timestamps in the output file.
2024-03-09 16:37:14.742341032  [2024-03-09 17:37:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55b1a88130] 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
2024-03-09 16:37:14.743491534  [2024-03-09 17:37:14] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:37:14.744485280  [2024-03-09 17:37:14] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:37:24.769905457  [2024-03-09 17:37:24] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:37:24.769917493  [2024-03-09 17:37:24] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:37:24.769921327  [2024-03-09 17:37:24] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:37:28.547961806  [2024-03-09 17:37:28] frigate.video                  ERROR   : camera_framsida: Unable to read frames from ffmpeg process.
2024-03-09 16:37:28.549051495  [2024-03-09 17:37:28] frigate.video                  ERROR   : camera_framsida: ffmpeg process is not running. exiting capture thread...
2024-03-09 16:37:29.452099079  [h264 @ 0x7f7c171fc0] left block unavailable for requested intra4x4 mode -1
2024-03-09 16:37:29.452111320  [h264 @ 0x7f7c171fc0] error while decoding MB 0 64, bytestream 642
2024-03-09 16:37:34.789798942  [2024-03-09 17:37:34] watchdog.camera_framsida       ERROR   : Ffmpeg process crashed unexpectedly for camera_framsida.
2024-03-09 16:37:34.789814923  [2024-03-09 17:37:34] watchdog.camera_framsida       ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-09 16:37:34.789820942  [2024-03-09 17:37:34] ffmpeg.camera_framsida.detect  ERROR   : [h264 @ 0x55c46b0070] left block unavailable for requested intra4x4 mode -1
2024-03-09 16:37:34.789826608  [2024-03-09 17:37:34] ffmpeg.camera_framsida.detect  ERROR   : [h264 @ 0x55c46b0070] error while decoding MB 0 4, bytestream 780
2024-03-09 16:37:34.789831886  [2024-03-09 17:37:34] ffmpeg.camera_framsida.detect  ERROR   : rtsp://192.168.68.123:8554/framsida_sub: corrupt decoded frame in stream 0
2024-03-09 16:37:34.835736689  [2024-03-09 17:37:34] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:37:34.835749541  [2024-03-09 17:37:34] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:37:34.848682193  [2024-03-09 17:37:34] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:38:04.871277139  [2024-03-09 17:38:04] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a4642130] Non-monotonous DTS in output stream 0:0; previous: 0, current: -5166; changing to 1. This may result in incorrect timestamps in the output file.
2024-03-09 16:38:04.871921426  [2024-03-09 17:38:04] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a4642130] Non-monotonous DTS in output stream 0:0; previous: 1, current: -4352; changing to 2. This may result in incorrect timestamps in the output file.
2024-03-09 16:38:04.873619310  [2024-03-09 17:38:04] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a4642130] Non-monotonous DTS in output stream 0:0; previous: 2, current: -2816; changing to 3. This may result in incorrect timestamps in the output file.
2024-03-09 16:38:04.873707994  [2024-03-09 17:38:04] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a4642130] Non-monotonous DTS in output stream 0:0; previous: 3, current: -2063; changing to 4. This may result in incorrect timestamps in the output file.
2024-03-09 16:38:04.873725438  [2024-03-09 17:38:04] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x55a4642130] Non-monotonous DTS in output stream 0:0; previous: 4, current: -1357; changing to 5. This may result in incorrect timestamps in the output file.
2024-03-09 16:38:04.873988638  [2024-03-09 17:38:04] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:38:04.875294620  [2024-03-09 17:38:04] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:39:44.554669243  [h264 @ 0x7f7c171fc0] left block unavailable for requested intra4x4 mode -1
2024-03-09 16:39:44.554681465  [h264 @ 0x7f7c171fc0] error while decoding MB 0 25, bytestream 39066
2024-03-09 16:40:14.500237723  [h264 @ 0x7f7c171fc0] error while decoding MB 5 29, bytestream -5
2024-03-09 16:40:24.805514359  [2024-03-09 17:40:24] frigate.record.maintainer      WARNING : Discarding a corrupt recording segment: /tmp/cache/camera_framsida@20240309173950+0100.mp4
2024-03-09 16:41:14.934823984  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] Non-monotonous DTS in output stream 0:0; previous: 0, current: -5120; changing to 1. This may result in incorrect timestamps in the output file.
2024-03-09 16:41:14.934850039  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] Non-monotonous DTS in output stream 0:0; previous: 1, current: -3569; changing to 2. This may result in incorrect timestamps in the output file.
2024-03-09 16:41:14.935183664  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] Non-monotonous DTS in output stream 0:0; previous: 2, current: -2831; changing to 3. This may result in incorrect timestamps in the output file.
2024-03-09 16:41:14.935974634  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] Non-monotonous DTS in output stream 0:0; previous: 3, current: -2063; changing to 4. This may result in incorrect timestamps in the output file.
2024-03-09 16:41:14.936393110  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] Non-monotonous DTS in output stream 0:0; previous: 4, current: -527; changing to 5. This may result in incorrect timestamps in the output file.
2024-03-09 16:41:14.936942880  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [segment @ 0x559c498130] 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
2024-03-09 16:41:14.937406966  [2024-03-09 17:41:14] ffmpeg.camera_framsida.record  ERROR   : [rtsp @ 0x559c4780c0] RTP: PT=60: bad cseq 02ca expected=29ea
2024-03-09 16:41:14.938016680  [2024-03-09 17:41:14] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:41:14.940231075  [2024-03-09 17:41:14] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:41:24.433415385  [h264 @ 0x7f7c019710] cabac decode of qscale diff failed at 29 30
2024-03-09 16:41:24.433434570  [h264 @ 0x7f7c019710] error while decoding MB 29 30, bytestream 216
2024-03-09 16:41:24.979944332  [2024-03-09 17:41:24] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:41:24.982007247  [2024-03-09 17:41:24] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:41:24.982026395  [2024-03-09 17:41:24] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:41:35.021731773  [2024-03-09 17:41:35] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:41:35.021839550  [2024-03-09 17:41:35] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:41:35.023459879  [2024-03-09 17:41:35] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:41:44.490791898  [h264 @ 0x7f7c019710] error while decoding MB 95 74, bytestream -6
2024-03-09 16:41:45.107655593  [2024-03-09 17:41:45] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:41:45.125038093  [2024-03-09 17:41:45] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:41:45.126838216  [2024-03-09 17:41:45] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:41:55.143170975  [2024-03-09 17:41:55] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:41:55.146265765  [2024-03-09 17:41:55] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:41:55.146286191  [2024-03-09 17:41:55] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...
2024-03-09 16:42:05.190873510  [2024-03-09 17:42:05] ffmpeg.camera_framsida.record  ERROR   : rtsp://192.168.68.123:8554/framsida: Invalid data found when processing input
2024-03-09 16:42:05.192190159  [2024-03-09 17:42:05] watchdog.camera_framsida       INFO    : Terminating the existing ffmpeg process...
2024-03-09 16:42:05.192199510  [2024-03-09 17:42:05] watchdog.camera_framsida       INFO    : Waiting for ffmpeg to exit gracefully...

Frigate doesn’t like the stream

Why did you add above line? Is it needed? Remove it and see if it helps.

FFMPEG is crashing so your ffmpeg settings, like the one I quoted, my be causing issues

I will test this. I have 2 cameras tapo c310 camea framsida and camera carport the last one I have no problems withe