blakeblackshear / frigate

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

Cameras unavailable using HA Proxy #8585

Closed Automan69 closed 1 year ago

Automan69 commented 1 year ago

Describe the problem you are having

My cameras are not showing up in HA since updating to 13.0 beta2. Frigate is running fine, but live cameras (only) are unavailable.

Version

0.13.0-AA93D4F

Frigate config file

detectors:
  coral:
    type: edgetpu
    device: pci

mqtt:
  host: 192.168.1.100
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: Redacted
  password: Redacted
  stats_interval: 60

database:
  # The path to store the SQLite DB (default: shown below)
  path: /config/frigate.db

ffmpeg:          # Hardware acceleration is not causing the crashing pblm.  
  hwaccel_args: preset-vaapi     # occuring w this on and off  

ui:
  live_mode: webrtc

go2rtc:
  streams:
    doorbell:
      - "ffmpeg:http://192.168.1.43/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=Redacted#video=copy#audio=copy#audio=opus"
      # - rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_main
    doorbell_sub:
      - "ffmpeg:http://192.168.1.43/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=Redacted#video=copy#audio=copy#audio=opus"
      - rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_sub  # works w this on.... and above
      # - "ffmpeg:rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_sub?channel=1&subtype=2#video=copy#audio=copy#audio=aac"
      # - "ffmpeg:rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_sub#audio=pcm#audio=volume"
    front_garden:
      - "ffmpeg:http://192.168.1.44/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=Redacted#video=copy"
    front_garden_sub:
      - "ffmpeg:http://192.168.1.44/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=Redacted"
    carport:
      - "ffmpeg:http://192.168.1.45/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=Redacted#video=copy"
    carport_sub:
      - "ffmpeg:http://192.168.1.45/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=Redacted"
  webrtc:
    candidates:
      - 192.168.1.106:8555
      - stun:8555
  ffmpeg:
    bin: ffmpeg
    volume: "-af \"volume=30dB\""

cameras:
###----------------------------//     DOORBELL     //-------------------------------------###
  doorbell:
    ffmpeg:
      output_args:
        record: preset-record-generic-audio-copy
      inputs:
        # - path: rtsp://192.168.1.106:8554/doorbell?video=copy&audio=aac
        - path: rtsp://192.168.1.106:8554/doorbell
          input_args: preset-rtsp-restream
          roles:
            - record
        # - path: rtsp://192.168.1.106:8554/doorbell_sub_frigate?video=copy
        - path: rtsp://192.168.1.106:8554/doorbell_sub
          input_args: preset-rtsp-restream
        # - path: rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_sub
          roles:
            - detect

    detect:
      width: 896
      height: 672
      fps: 7
#       stationary:
# #        interval: 0
#         threshold: 50
#         max_frames:
#           objects:
#             person: 100

    motion:
      mask:
        - 234,305,259,244,471,204,676,158,896,197,896,0,0,0,0,672,105,672,46,564,213,509,246,485
        # - 234,305,259,244,471,204,619,193,612,0,0,0,0,672,105,672,46,564,213,509,246,485   # inc gate
        # - 229,237,315,215,502,191,612,186,622,267,622,450,578,672,896,672,896,0,0,0,0,672,105,672,46,564,213,509,238,464      # exclude gate
        # - 256,143,525,72,502,191,612,186,622,267,622,450,578,672,896,672,896,0,0,0,0,672,105,672,46,564,225,506,264,492

    objects:
      track:
        - person
      mask:
        - 256,143,525,72,513,203,676,158,896,117,896,0,0,0,0,672,105,672,46,564,202,514,278,549
        # - 256,143,525,72,502,191,612,186,622,267,622,450,578,672,896,672,896,0,0,0,0,672,105,672,46,564,225,506,264,492
      #   # - 250,129,603,73,622,267,622,450,578,672,896,672,896,0,0,0,0,672,302,672    didn't pick up postman
      #   - 235,145,603,73,622,267,622,450,578,672,896,672,896,0,0,0,0,672,293,672,236,452

    snapshots:
      enabled: true
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 30

    record:
      enabled: true
      retain:      # This makes Frigate record 24/7.  24/7 is req'd tho for pre and post capture.
        days: 3
      events:
        retain:
          default: 30
          mode: active_objects
        pre_capture: 5
        post_capture: 15

# "Live" only does jsmpeg streams (I'm using webrtc) on the Frigate WebUI - it is a useless config!
    # live:
    #   stream_name: doorbell_sub_frigate

    ui:     # Just puts this camera 1st in Frigate UI.  O/w it is alphabetical.
      order: 1

###----------------------------//     DOORBELL SUBSTREAM     //-------------------------------------###
# https://deploy-preview-6262--frigate-docs.netlify.app/guides/configuring_go2rtc
# WEBRTC says above is limited to 'detect' stream
  # doorbell_sub_frigate:
  #   ffmpeg:
  #    output_args:
  #      record: preset-record-generic-audio-copy
  #     inputs:
  #     # The below is not a Restream - it appears to be making another connection to the camera.  
  #       - path: rtsp://admin:Redacted@192.168.1.43:554/h264Preview_01_sub
  #       # - path: rtsp://192.168.1.106:8554/doorbell_sub_frigate?video=copy&audio=aac
  #         # input_args: preset-rtsp-restream
  #   ui:
  #     dashboard: false     # Don't include in Frigate WebUI 

###----------------------------//     FRONT GARDEN     //-------------------------------------###
  front_garden:
    ffmpeg:
      inputs:
        # - path: rtsp://192.168.1.106:8554/front_garden?video=copy
        - path: rtsp://192.168.1.106:8554/front_garden
          input_args: preset-rtsp-restream
          roles:
            - record
        # - path: rtsp://192.168.1.106:8554/front_garden_sub?video=copy
        - path: rtsp://192.168.1.106:8554/front_garden_sub
          input_args: preset-rtsp-restream
          roles:
            - detect

    # detect:
    #   width: 896
    #   height: 672
    #   fps: 7
# New 15 Sept 23 - turned below off.   I think this was pre change to "active objects"
      # stationary:
      #   interval: 1    # 1 seemed to work here
      #   threshold: 50
      #   max_frames:
      #     objects:
      #       person: 100

    objects:
      track:
        - person
        # - dog
        - bicycle
      mask:
        - 200,121,202,63,284,57,464,96,537,86,896,205,896,0,0,0,0,179
        - 154,672,0,672,0,403
        - 896,672,896,672,766,672,896,526
      # filters:
      #   dog:
      #     min_ratio: 0.7
      #     mask:
      #       - 363,368,472,305,547,283,610,372,485,479,368,466

    snapshots:
      enabled: true
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 30

    record:
      enabled: true
      retain:
        days: 3
      events:
        retain:
          default: 30
          mode: active_objects
          # objects:
          #   person: 21
          #   dog: 14  # days to keep
          #   car: 7
          # mode: motion
        pre_capture: 5
        post_capture: 15

    motion:
      mask:
        - 200,121,202,63,284,57,464,96,537,86,896,205,896,0,0,0,0,179
        - 154,672,0,672,0,403
        - 896,672,896,672,766,672,896,526
    zones:
      side_gate:
        coordinates: 196,672,746,672,875,528,553,296,111,539
        objects:
          - person

    ui:
      order: 2

###----------------------------//     FRONT GARDEN SUBSTREAM     //-------------------------------------###
  # front_garden_sub:
  #   ffmpeg:
  #     inputs:
  #       - path: rtsp://192.168.1.106:8554/front_garden_sub
  #         input_args: preset-rtsp-restream
  #   ui:
  #     dashboard: false     # Don't include in Frigate WebUI 

###----------------------------//     CARPORT     //-------------------------------------###
  carport:
    ffmpeg:
      inputs:
        # - path: rtsp://192.168.1.106:8554/carport?video=copy
        - path: rtsp://192.168.1.106:8554/carport
          input_args: preset-rtsp-restream
          roles:
            - record
        # - path: rtsp://192.168.1.106:8554/carport_sub?video=copy
        - path: rtsp://192.168.1.106:8554/carport_sub
          input_args: preset-rtsp-restream
          roles:
            - detect

# Sept 23 - testing off.  
#     detect:
#       width: 896
#       height: 672
#       fps: 7
# # New 22 Mar 23 - people walking in front door kept motion active.
#       stationary:
# #        interval: 0    # 1 seemed to work here
#         threshold: 50
#         max_frames:
#           objects:
#             person: 100

    objects:
      track:
        - person
        - dog
        - bicycle
        # - car
      mask:
        - 896,0,896,92,467,25,470,70,413,66,413,35,200,63,0,114,0,0
# motor        - 344,236,377,331,439,413,538,493,448,557,365,443,250,389,171,310,202,193,283,164
      filters:
        person:
          min_score: 0.6
#          max_area: 200000

    snapshots:
      enabled: true
      bounding_box: false
      crop: true
      height: 500
      retain:
        default: 30

    record:
      enabled: true
      retain:
        days: 3
      events:
        retain:
          default: 30
          mode: active_objects
        pre_capture: 5
        post_capture: 15

    motion:
      mask:
        - 896,0,896,92,467,25,470,70,413,66,413,35,200,63,0,114,0,0

    zones:
      car_park:
        coordinates: 124,672,0,459,0,333,413,182,702,285,327,672   # These coordinates need to be set to where cars come and go, not park
        # objects:
        #   - car
      carport_gate:
        # coordinates: 0,672,896,672,896,295,706,651,463,497   # lot of false +ve's
        coordinates: 87,672,664,672,400,545
        objects:
          - person

    ui:
      order: 3

###----------------------------//     CARPORT SUBSTREAM     //-------------------------------------###
  # carport_sub:
  #   ffmpeg:
  #     inputs:
  #       - path: rtsp://192.168.1.106:8554/carport_sub
  #         input_args: preset-rtsp-restream
  #   ui:
  #     dashboard: false     # Don't include in Frigate WebUI 

#

Relevant log output

2023-11-11 13:40:01.023729816  [INFO] Preparing Frigate...
2023-11-11 13:40:01.107896645  [INFO] Starting Frigate...
2023-11-11 13:40:03.123924424  [2023-11-12 00:40:03] frigate.app                    INFO    : Starting Frigate (0.13.0-aa93d4f)
2023-11-11 13:40:18.704708504  [2023-11-12 00:40:18] peewee_migrate.logs            INFO    : Starting migrations
2023-11-11 13:40:18.717292888  [2023-11-12 00:40:18] peewee_migrate.logs            INFO    : There is nothing to migrate
2023-11-11 13:40:18.768372386  [2023-11-12 00:40:18] frigate.app                    INFO    : Recording process started: 308
2023-11-11 13:40:18.771850961  [2023-11-12 00:40:18] frigate.app                    INFO    : go2rtc process pid: 92
2023-11-11 13:40:18.803448785  [2023-11-12 00:40:18] frigate.app                    INFO    : Output process started: 319
2023-11-11 13:40:18.830039837  [2023-11-12 00:40:18] detector.coral                 INFO    : Starting detection process: 318
2023-11-11 13:40:18.835622725  [2023-11-12 00:40:18] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci
2023-11-11 13:40:18.868802164  [2023-11-12 00:40:18] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2023-11-11 13:40:18.888594030  [2023-11-12 00:40:18] frigate.app                    INFO    : Camera processor started for doorbell: 338
2023-11-11 13:40:18.897488770  [2023-11-12 00:40:18] frigate.app                    INFO    : Camera processor started for front_garden: 339
2023-11-11 13:40:18.915304524  [2023-11-12 00:40:18] frigate.app                    INFO    : Camera processor started for carport: 341
2023-11-11 13:40:18.932625548  [2023-11-12 00:40:18] frigate.app                    INFO    : Capture process started for doorbell: 344
2023-11-11 13:40:18.940100458  [2023-11-12 00:40:18] frigate.app                    INFO    : Capture process started for front_garden: 357
2023-11-11 13:40:18.954924923  [2023-11-12 00:40:18] frigate.app                    INFO    : Capture process started for carport: 361
2023-11-11 13:40:24.111880948  [2023-11-12 00:40:24] frigate.video                  ERROR   : front_garden: Unable to read frames from ffmpeg process.
2023-11-11 13:40:24.112209424  [2023-11-12 00:40:24] frigate.video                  ERROR   : front_garden: ffmpeg process is not running. exiting capture thread...
2023-11-11 13:40:39.039495908  [2023-11-12 00:40:39] ffmpeg.carport.record          ERROR   : rtsp://192.168.1.106:8554/carport: Invalid data found when processing input
2023-11-11 13:40:39.039671968  [2023-11-12 00:40:39] watchdog.carport               INFO    : Terminating the existing ffmpeg process...
2023-11-11 13:40:39.039767300  [2023-11-12 00:40:39] watchdog.carport               INFO    : Waiting for ffmpeg to exit gracefully...
2023-11-11 13:40:39.050087246  [2023-11-12 00:40:39] watchdog.front_garden          ERROR   : Ffmpeg process crashed unexpectedly for front_garden.
2023-11-11 13:40:39.050091977  [2023-11-12 00:40:39] watchdog.front_garden          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-11-11 13:40:39.050098455  [2023-11-12 00:40:39] ffmpeg.front_garden.detect     ERROR   : rtsp://192.168.1.106:8554/front_garden_sub: Invalid data found when processing input
2023-11-11 13:40:44.183386567  [2023-11-12 00:40:44] frigate.video                  ERROR   : front_garden: Unable to read frames from ffmpeg process.
2023-11-11 13:40:44.183626451  [2023-11-12 00:40:44] frigate.video                  ERROR   : front_garden: ffmpeg process is not running. exiting capture thread...
2023-11-11 13:40:49.057778479  [2023-11-12 00:40:49] ffmpeg.carport.record          ERROR   : rtsp://192.168.1.106:8554/carport: Invalid data found when processing input
2023-11-11 13:40:49.057783047  [2023-11-12 00:40:49] watchdog.carport               INFO    : Terminating the existing ffmpeg process...
2023-11-11 13:40:49.057785435  [2023-11-12 00:40:49] watchdog.carport               INFO    : Waiting for ffmpeg to exit gracefully...
2023-11-11 13:40:49.074359041  [2023-11-12 00:40:49] watchdog.front_garden          ERROR   : Ffmpeg process crashed unexpectedly for front_garden.
2023-11-11 13:40:49.074363632  [2023-11-12 00:40:49] watchdog.front_garden          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-11-11 13:40:49.074366507  [2023-11-12 00:40:49] ffmpeg.front_garden.detect     ERROR   : rtsp://192.168.1.106:8554/front_garden_sub: Invalid data found when processing input
2023-11-11 13:40:54.195974205  [2023-11-12 00:40:54] frigate.video                  ERROR   : front_garden: Unable to read frames from ffmpeg process.
2023-11-11 13:40:54.196252060  [2023-11-12 00:40:54] frigate.video                  ERROR   : front_garden: ffmpeg process is not running. exiting capture thread...
2023-11-11 13:40:59.064645771  [2023-11-12 00:40:59] ffmpeg.carport.record          ERROR   : rtsp://192.168.1.106:8554/carport: Invalid data found when processing input
2023-11-11 13:40:59.069329560  [2023-11-12 00:40:59] watchdog.carport               INFO    : Terminating the existing ffmpeg process...
2023-11-11 13:40:59.069334298  [2023-11-12 00:40:59] watchdog.carport               INFO    : Waiting for ffmpeg to exit gracefully...
2023-11-11 13:40:59.088182228  [2023-11-12 00:40:59] watchdog.front_garden          ERROR   : Ffmpeg process crashed unexpectedly for front_garden.
2023-11-11 13:40:59.088186432  [2023-11-12 00:40:59] watchdog.front_garden          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-11-11 13:40:59.088188927  [2023-11-12 00:40:59] ffmpeg.front_garden.detect     ERROR   : rtsp://192.168.1.106:8554/front_garden_sub: Invalid data found when processing input
2023-11-11 13:41:04.207300545  [2023-11-12 00:41:04] frigate.video                  ERROR   : front_garden: Unable to read frames from ffmpeg process.
2023-11-11 13:41:04.207525194  [2023-11-12 00:41:04] frigate.video                  ERROR   : front_garden: ffmpeg process is not running. exiting capture thread...
2023-11-11 13:41:09.095946890  [2023-11-12 00:41:09] watchdog.front_garden          ERROR   : Ffmpeg process crashed unexpectedly for front_garden.
2023-11-11 13:41:09.095951831  [2023-11-12 00:41:09] watchdog.front_garden          ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-11-11 13:41:09.095954512  [2023-11-12 00:41:09] ffmpeg.front_garden.detect     ERROR   : rtsp://192.168.1.106:8554/front_garden_sub: Invalid data found when processing input

FFprobe output from your camera

root@frigate:~/docker-compose/frigate# ffprobe http://192.168.1.43
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
http://192.168.1.43: Invalid data found when processing input
root@frigate:~/docker-compose/frigate# ffprobe http://192.168.1.44
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
http://192.168.1.44: Invalid data found when processing input
root@frigate:~/docker-compose/frigate# ffprobe http://192.168.1.45
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
http://192.168.1.45: Invalid data found when processing input

Frigate stats

Not sure what this is.

Operating system

Proxmox

Install method

Docker Compose

Coral version

PCIe

Network connection

Wired

Camera make and model

43 & 44 - Reolink RLC-422, 45 - Reolink Video Doorbell PoE

Any other information that may be helpful

This is my docker file:

version: "3.9" services: frigate: container_name: frigate privileged: true # this may not be necessary for all setups restart: unless-stopped

image: blakeblackshear/frigate:stable-amd64

image: ghcr.io/blakeblackshear/frigate:0.12.1

image: ghcr.io/blakeblackshear/frigate:0.13.0-beta5

image: ghcr.io/blakeblackshear/frigate:stable

cap_add:
  - CAP_PERFMON
shm_size: "128mb"
devices:
  - /dev/apex_0:/dev/apex_0 # passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a->
  - /dev/dri/renderD128     # This is the hardware accelration line.  Testing with this off May 2023

- /gpus all # not sure how to add this

volumes:
  - /etc/localtime:/etc/localtime:ro

- ./config_folder/:/config/ #rw here lets you edit within Frigate o/w :ro

  - /config/:/config/  #rw here lets you edit within Frigate o/w :ro
  - ./config/config.yml:/config/config.yml:rw  #rw here lets you edit within Frigate o/w :ro

- ./config/frigate.yml:/config/config.yml:rw #rw here lets you edit within Frigate o/w :ro

  - ./media/:/media/frigate    # turned back on oct 23

- /mnt/cctv:/media/frigate

  - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
    target: /tmp/cache
    tmpfs:
      size: 1000000000
ports:
  - "5000:5000"
  - "8554:8554"  # RTSP feeds
  - "8555:8555/tcp" # WebRTC over tcp
  - "8555:8555/udp" # WebRTC over udp

- "1935:1935" # RTMP feeds

environment:
  LIBVA_DRIVER_NAME: i965   # New 12/11/23

LIBVA_DRIVER_NAME: "i965" # New 8/3/23 - still errors

LIBVA_DRIVER_NAME: "radeonsi"

  TZ: Australia/Melbourne
  PUID: 1000
  PGID: 100
NickM-27 commented 1 year ago

Have you updated the integration to 5.0 beta3 like the release notes say to?

Automan69 commented 1 year ago

You are a wizard Nick. Sorry for wasting your time!