Frigate with Go2rtc (bundled) packet corrupt on HLS

Hello,

I test Frigate to a possible replacement of my Synology Surveillance Station.
I get my cameras by go2rtc bundled in Frigate.

I’ve firstly include one of my Dahua camera in RTSP and i was surprise.
But after that, i’ve add one of my Netatmo Presence (outdoor_portail) with HLS method (the only one available or at least the only one i know) but i’ve some issue during live, with multiple cut every 3 or 4 seconds for many seconds.

I don’t have this behavior with Surveillance Station, it’s more stable but i’ve few live cut during 1s every 30s i think.

During my debug, i’ve seen this type of errors :

2024-06-13 19:42:50.539755750  frame=  943 fps= 19 q=-1.0 size=N/A time=00:00:50.75 bitrate=N/A speed=1.02x    
frame=  950 fps= 19 q=-1.0 size=N/A time=00:00:51.64 bitrate=N/A speed=1.02x    
frame=  967 fps= 19 q=-1.0 size=N/A time=00:00:52.19 bitrate=N/A speed=1.02x    
frame=  988 fps= 19 q=-1.0 size=N/A time=00:00:52.79 bitrate=N/A speed=1.02x    
[http @ 0x5588efe33100] Opening 'http://monip/montoken/live/files/high/index.m3u8' for reading
2024-06-13 19:42:50.633305632  [hls @ 0x5588efd790c0] Skip ('#EXT-X-VERSION:7')
2024-06-13 19:42:50.633719515  [http @ 0x5588efd88dc0] Opening 'http://monip/montoken/live/files/high/live0000045904.ts' for reading
2024-06-13 19:42:50.735405907  [mpegts @ 0x5588efd7fa00] Packet corrupt (stream = 0, dts = 8262536250), dropping it.

My configuration is :

mqtt:
  enabled: False

ffmpeg:
  hwaccel_args: preset-vaapi

birdseye:
  enabled: false
rtmp:
  enabled: false

objects:
  track:
    - person
    - cat
    - car

snapshots:
  enabled: True
  clean_copy: True
  timestamp: True
  bounding_box: True
  crop: False
  retain:
    default: 3
    objects:
      person: 3

audio:
  enabled: False

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

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

cameras:
  outdoor_portail:
    enabled: True
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/outdoor_portail
          roles:
            - detect
            - audio
      input_args: preset-rtsp-restream
    detect:
      fps: 5
    objects:
      track:
        - person
        - car
      filters:
        person:
          min_score: 0.7
          threshold: 0.8

  indoor_salon:
    enabled: True 
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/indoor_salon_sub
          input_args: preset-rtsp-restream
          roles:
            - detect
            - audio
    detect:
      fps: 5
      # enabled: True
    objects:
      track:
        - person
        - cat
      filters:
        person:
          min_score: 0.7
          threshold: 0.8

go2rtc:
  ffmpeg:
    in_preset-http-mjpeg-generic: "-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -i {input}"
    raw_preset-http-mjpeg-generic: "-rtpflags latm"
  streams:
    outdoor_portail:
      - ffmpeg:http://myip/mytoken/live/files/high/index.m3u8#input=in_preset-http-mjpeg-generic#video=copy#audio=opus#raw=raw_preset-http-mjpeg-generic
    indoor_salon_sub:
      - rtsp://login:password@myip:554/cam/realmonitor?channel=1&subtype=1
      - "ffmpeg:indoor_salon_sub#video=h264/rk"

If someone have an idea ? I don’t have find some information with this type of error here or in go2rtc/frigate github.

Thanks for your help