Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HW Accel Support]: 0.11.0-rc2 HW accel not working #3858

Closed
billyburly opened this issue Sep 16, 2022 · 23 comments
Closed

[HW Accel Support]: 0.11.0-rc2 HW accel not working #3858

billyburly opened this issue Sep 16, 2022 · 23 comments

Comments

@billyburly
Copy link

Describe the problem you are having

The FFMPEG process is unable to start the QSV hardware acceleration. Works if hwaccel is disabled

Version

0.11.0-c461c9e

Frigate config file

objects:
  track:
    - person
    - cat
  filters:
    cat:
      threshold: 0.4

cameras:
  server_closet:
    ffmpeg:
      inputs:
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    detect:
      width: 640
      height: 480
      fps: 5
    motion:
      mask:
        - 640,21,640,0,640,40,454,42,453,21
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      quality: 100
      height: 500
  front_porch:
    ffmpeg:
      inputs:
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    detect:
      width: 1280
      height: 720
      fps: 5
    motion:
      mask:
        - 1238,27,1238,62,876,62,876,27
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      quality: 100
      height: 500

  side_door:
    ffmpeg:
      inputs:
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
    detect:
      width: 1280
      height: 720
      fps: 5
    motion:
      mask:
        - 1237,25,1237,62,878,62,878,25
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      quality: 100
      height: 500

snapshots:
  enabled: True
  timestamp: True
  bounding_box: True

birdseye:
  enabled: True

record:
  enabled: True
  retain:
    days: 5
    mode: all
  events:
    retain:
      default: 30

mqtt:
  host: XXX
  user: XXX
  password: XXX

detectors:
  coral:
    type: edgetpu
    device: pci

ffmpeg:
  hwaccel_args: -c:v h264_qsv

docker-compose file or Docker CLI command

version: "3.9"
services:
  frigate:
    container_name: frigate
    privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    image: blakeblackshear/frigate:0.11.0-rc2
    devices:
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128
      - /dev/dri/card0
      - /dev/apex_0
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /mnt/hdd1/frigate/config.yml:/config/config.yml:ro
      - /mnt/hdd1/frigate/media:/media/frigate
      - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - "5000:5000"
      - "1935:1935" # RTMP feeds

Relevant log output

frigate                 | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate                 | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate                 | [fix-attrs.d] applying ownership & permissions fixes...
frigate                 | [fix-attrs.d] done.
frigate                 | [cont-init.d] executing container initialization scripts...
frigate                 | [cont-init.d] done.
frigate                 | [services.d] starting services
frigate                 | [services.d] done.
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Starting Frigate (0.11.0-c461c9e)
frigate                 | Starting migrations
frigate                 | [2022-09-16 14:48:49] peewee_migrate                 INFO    : Starting migrations
frigate                 | There is nothing to migrate
frigate                 | [2022-09-16 14:48:49] peewee_migrate                 INFO    : There is nothing to migrate
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Output process started: 233
frigate                 | [2022-09-16 14:48:49] ws4py                          INFO    : Using epoll
frigate                 | [2022-09-16 14:48:49] detector.coral                 INFO    : Starting detection process: 232
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Camera processor started for server_closet: 239
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Camera processor started for front_porch: 240
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Camera processor started for side_door: 243
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Capture process started for server_closet: 245
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Capture process started for front_porch: 249
frigate                 | [2022-09-16 14:48:49] frigate.app                    INFO    : Capture process started for side_door: 253
frigate                 | [2022-09-16 14:48:49] frigate.edgetpu                INFO    : Attempting to load TPU as pci
frigate                 | [2022-09-16 14:48:49] frigate.edgetpu                INFO    : TPU found
frigate                 | [2022-09-16 14:48:49] ws4py                          INFO    : Using epoll
frigate                 | [2022-09-16 14:49:03] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:37278]
frigate                 | [2022-09-16 14:49:09] watchdog.server_closet         INFO    : No frames received from server_closet in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 14:49:09] watchdog.side_door             INFO    : No frames received from side_door in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 14:49:09] watchdog.server_closet         INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 14:49:09] watchdog.side_door             INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 14:49:09] watchdog.front_porch           INFO    : No frames received from front_porch in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 14:49:09] watchdog.front_porch           INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : server_closet: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : server_closet: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : front_porch: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : front_porch: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : side_door: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 14:49:09] frigate.video                  ERROR   : side_door: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 14:49:19] watchdog.server_closet         ERROR   : Ffmpeg process crashed unexpectedly for server_closet.
frigate                 | [2022-09-16 14:49:19] watchdog.server_closet         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [h264_qsv @ 0x561775503e00] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x5617763cfc80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x5617763dfd80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776401300] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776422cc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776444480] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776465e40] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776487600] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x5617764a8fc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x5617764ca780] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x5617764ec140] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x56177650d900] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x56177652f2c0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x5617763c2cc0] [swscaler @ 0x561776550a80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [flv @ 0x561775507580] Failed to update header with correct duration.
frigate                 | [2022-09-16 14:49:19] ffmpeg.server_closet.detect    ERROR   : [flv @ 0x561775507580] Failed to update header with correct filesize.
frigate                 | [2022-09-16 14:49:19] watchdog.front_porch           ERROR   : Ffmpeg process crashed unexpectedly for front_porch.
frigate                 | [2022-09-16 14:49:19] watchdog.front_porch           ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [h264_qsv @ 0x556dff3878c0] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556dff479c80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556dffc57b80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00223d80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00255100] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e002b0c00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e002e1f80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00313300] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00344680] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00375a00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e003a6d80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e003d6c00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e004083c0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556dffc47b80] [swscaler @ 0x556e00439740] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [flv @ 0x556dff382a00] Failed to update header with correct duration.
frigate                 | [2022-09-16 14:49:19] ffmpeg.front_porch.detect      ERROR   : [flv @ 0x556dff382a00] Failed to update header with correct filesize.
frigate                 | [2022-09-16 14:49:19] watchdog.side_door             ERROR   : Ffmpeg process crashed unexpectedly for side_door.
frigate                 | [2022-09-16 14:49:19] watchdog.side_door             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [h264_qsv @ 0x56178c5d5640] Error during QSV decoding.: device failed (-17)
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178ce93980] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178cee7a80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d485b80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d4b6f00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d515580] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d543fc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d575340] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d5a66c0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d5d6540] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d607d00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d639080] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d66a400] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x56178ce869c0] [swscaler @ 0x56178d69b780] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [flv @ 0x56178c5d5f80] Failed to update header with correct duration.
frigate                 | [2022-09-16 14:49:19] ffmpeg.side_door.detect        ERROR   : [flv @ 0x56178c5d5f80] Failed to update header with correct filesize.

FFprobe output from your camera

probe from container doenst work
root@6d7efc75e93c:/opt/frigate# ffprobe rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=2
[1] 638
root@6d7efc75e93c:/opt/frigate# ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[rtsp @ 0x55efebed1140] method DESCRIBE failed: 404 Not Found
rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1: Server returned 404 Not Found

from OS

durrw@nvr ~/f/docker (master) [124]> ffprobe "rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=2"
ffprobe version n5.1.1 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=2':
  Metadata:
    title           : Media Server
  Duration: N/A, start: 0.067000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 1280x720, 15 fps, 15 tbr, 90k tbn
durrw@nvr ~/f/docker (master)> ffprobe "rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0"
ffprobe version n5.1.1 Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 12.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0':
  Metadata:
    title           : Media Server
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, 30 fps, 30 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s

Operating system

Other Linux

Install method

Docker Compose

Network connection

Wired

Camera make and model

Dahua IPC-Color4KX

Any other information that may be helpful

12th Gen Intel(R) Core(TM) i5-12400

@NickM-27
Copy link
Collaborator

Try running vainfo in the container and paste the output here

@billyburly
Copy link
Author

root@cfd62c4125ad:/opt/frigate# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain               : VAEntrypointEncSliceLP
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointEncSlice
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointEncSlice
      VAProfileHEVCMain422_12         : VAEntrypointVLD
      VAProfileHEVCMain422_12         : VAEntrypointEncSlice
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         : VAEntrypointVLD
      VAProfileHEVCSccMain444         : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP

@NickM-27
Copy link
Collaborator

Please try VAAPI instead and see if that works (if not, post the logs):

ffmpeg:
  hwaccel_args:
    - -hwaccel
    - vaapi
    - -hwaccel_device
    - /dev/dri/renderD128
    - -hwaccel_output_format
    - yuv420p

@billyburly
Copy link
Author

frigate                 | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
frigate                 | [s6-init] ensuring user provided files have correct perms...exited 0.
frigate                 | [fix-attrs.d] applying ownership & permissions fixes...
frigate                 | [fix-attrs.d] done.
frigate                 | [cont-init.d] executing container initialization scripts...
frigate                 | [cont-init.d] done.
frigate                 | [services.d] starting services
frigate                 | [services.d] done.
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Starting Frigate (0.11.0-c461c9e)
frigate                 | Starting migrations
frigate                 | [2022-09-16 15:42:07] peewee_migrate                 INFO    : Starting migrations
frigate                 | There is nothing to migrate
frigate                 | [2022-09-16 15:42:07] peewee_migrate                 INFO    : There is nothing to migrate
frigate                 | [2022-09-16 15:42:07] detector.coral                 INFO    : Starting detection process: 231
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Output process started: 233
frigate                 | [2022-09-16 15:42:07] ws4py                          INFO    : Using epoll
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Camera processor started for server_closet: 240
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Camera processor started for front_porch: 242
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Camera processor started for side_door: 243
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Capture process started for server_closet: 245
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Capture process started for front_porch: 248
frigate                 | [2022-09-16 15:42:07] frigate.app                    INFO    : Capture process started for side_door: 252
frigate                 | [2022-09-16 15:42:07] frigate.edgetpu                INFO    : Attempting to load TPU as pci
frigate                 | [2022-09-16 15:42:07] frigate.edgetpu                INFO    : TPU found
frigate                 | [2022-09-16 15:42:07] ws4py                          INFO    : Using epoll
frigate                 | [2022-09-16 15:42:27] watchdog.side_door             INFO    : No frames received from side_door in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 15:42:27] watchdog.side_door             INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 15:42:27] watchdog.server_closet         INFO    : No frames received from server_closet in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 15:42:27] watchdog.server_closet         INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 15:42:27] watchdog.front_porch           INFO    : No frames received from front_porch in 20 seconds. Exiting ffmpeg...
frigate                 | [2022-09-16 15:42:27] watchdog.front_porch           INFO    : Waiting for ffmpeg to exit gracefully...
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : server_closet: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : side_door: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : server_closet: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : side_door: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : front_porch: Unable to read frames from ffmpeg process.
frigate                 | [2022-09-16 15:42:27] frigate.video                  ERROR   : front_porch: ffmpeg process is not running. exiting capture thread...
frigate                 | [2022-09-16 15:42:37] watchdog.side_door             ERROR   : Ffmpeg process crashed unexpectedly for side_door.
frigate                 | [2022-09-16 15:42:37] watchdog.server_closet         ERROR   : Ffmpeg process crashed unexpectedly for server_closet.
frigate                 | [2022-09-16 15:42:37] watchdog.side_door             ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 15:42:37] watchdog.server_closet         ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823faeaac0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7027b6480] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823faeaac0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7027b6480] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823ef5b240] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702885700] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823ef5b240] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702885700] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f203fc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702954980] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f203fc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702954980] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f2d3200] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f2d3200] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702a23c00] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f3a2440] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f3a2440] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f4716c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f4716c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702a23c00] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f540940] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f540940] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702af2e80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702af2e80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f60fbc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f60fbc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702003980] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702003980] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f6dee40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f6dee40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f70206c140] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f7ae0c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f70206c140] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f7ae0c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702080480] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f87d340] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702080480] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f87d340] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702094900] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702094900] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7020a8d80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7020a8d80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702548d00] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702548d00] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823faeaac0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823faeaac0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823ef5b240] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823ef5b240] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f203fc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f203fc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7027b6480] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7027b6480] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f2d3200] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f2d3200] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702885700] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702885700] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f3a2440] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f3a2440] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702954980] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702954980] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f4716c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f4716c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702a23c00] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702a23c00] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f540940] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] watchdog.front_porch           ERROR   : Ffmpeg process crashed unexpectedly for front_porch.
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f540940] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702af2e80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702af2e80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f60fbc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f60fbc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702003980] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702003980] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f6dee40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f6dee40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f70206c140] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f70206c140] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f7ae0c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f7ae0c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702080480] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702080480] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f87d340] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f87d340] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702094900] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702094900] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823f94c5c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7020a8d80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] watchdog.front_porch           ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7020a8d80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   :     Last message repeated 1 times
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702548d00] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702548d00] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [h264 @ 0x55823fa1b840] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x55823ffe3580] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f702617f80] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x55823f010a80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x55824000f780] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x558240040b00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [h264 @ 0x55f7026e7200] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138986540] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x55824009c000] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138986540] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x5582400cd380] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x5582400fe700] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f7020d0780] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556137fa05c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x55824012fa80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702d45e80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556137fa05c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702d67400] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x558240160e00] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702d88bc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613809f9c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702daa380] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x558240192180] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613809f9c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702dcbb40] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x5582401c3500] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702ded500] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x5582401f4880] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613816ec40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702e0ecc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [swscaler @ 0x55823effb040] [swscaler @ 0x558240224700] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613816ec40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702e30680] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [flv @ 0x55823eece540] Failed to update header with correct duration.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702e51e40] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613823dec0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.side_door.detect        ERROR   : [flv @ 0x55823eece540] Failed to update header with correct filesize.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613823dec0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702e73800] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702e94fc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613830d140] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [swscaler @ 0x55f7020c37c0] [swscaler @ 0x55f702eb6980] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613830d140] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [flv @ 0x55f701fc3d80] Failed to update header with correct duration.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.server_closet.detect    ERROR   : [flv @ 0x55f701fc3d80] Failed to update header with correct filesize.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561383dc3c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561383dc3c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561384ab640] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561384ab640] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613857a8c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613857a8c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138649b40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138649b40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138718dc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138718dc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138986540] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138986540] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556137fa05c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556137fa05c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613809f9c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613809f9c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613816ec40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613816ec40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613823dec0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613823dec0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613830d140] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613830d140] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561383dc3c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561383dc3c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561384ab640] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561384ab640] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613857a8c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x55613857a8c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138649b40] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138649b40] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138718dc0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x556138718dc0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561387e8040] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Error while decoding stream #0:0: Input/output error
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   :     Last message repeated 1 times
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : Finishing stream 1:0 without any data written to it.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] Failed to end picture decode issue: 23 (internal decoding error).
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [h264 @ 0x5561388b72c0] hardware accelerator failed to decode picture
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138e97040] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556137e7c540] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138ee0a40] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138f11dc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138f43140] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138f744c0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138fa5840] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556138fd6bc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556139007f40] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556139037dc0] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x556139069580] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x55613909a900] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [swscaler @ 0x556138e7f080] [swscaler @ 0x5561390cbc80] deprecated pixel format used, make sure you did set range correctly
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [flv @ 0x556137d87b00] Failed to update header with correct duration.
frigate                 | [2022-09-16 15:42:37] ffmpeg.front_porch.detect      ERROR   : [flv @ 0x556137d87b00] Failed to update header with correct filesize.

@NickM-27
Copy link
Collaborator

I think something may be wrong on the host side, do you have intel drivers included? Seems that it is able to load the driver included in frigate but the device is immediately failing when trying to decode anything.

It's also possible that your iGPU is disabled because no display is plugged in, I've seen some cases where the iGPU is disabled and can't be used for accleration, so maybe try plugging into a monitor, restart, and see if that makes any difference

@billyburly
Copy link
Author

Tried both a HDMI emulator and monitor didnt work. The graphics card seems to be working on the host

durrw@nvr ~> sudo vainfo
[sudo] password for durrw:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
vainfo: VA-API version: 1.15 (libva 2.15.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain               : VAEntrypointEncSliceLP
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointEncSliceLP
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointEncSliceLP
      VAProfileVP9Profile1            : VAEntrypointVLD
      VAProfileVP9Profile1            : VAEntrypointEncSliceLP
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointEncSliceLP
      VAProfileVP9Profile3            : VAEntrypointVLD
      VAProfileVP9Profile3            : VAEntrypointEncSliceLP
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointEncSlice
      VAProfileHEVCMain422_10         : VAEntrypointVLD
      VAProfileHEVCMain422_10         : VAEntrypointEncSlice
      VAProfileHEVCMain422_12         : VAEntrypointVLD
      VAProfileHEVCMain422_12         : VAEntrypointEncSlice
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointVLD
      VAProfileHEVCSccMain            : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          : VAEntrypointVLD
      VAProfileHEVCSccMain10          : VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         : VAEntrypointVLD
      VAProfileHEVCSccMain444         : VAEntrypointEncSliceLP
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointVLD
      VAProfileHEVCSccMain444_10      : VAEntrypointEncSliceLP

@NickM-27
Copy link
Collaborator

Not sure then honestly, we've had plenty of other 12th gen users running without problems. I will have to look at past issues and see if I can find anything

@billyburly
Copy link
Author

On my host either

ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi  -i "rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0" -f null -

or

ffmpeg -c:v h264_qsv  -i "rtsp://XXX:[email protected]:554/cam/realmonitor?channel=1&subtype=0" -f null -

will make use of hardware acceleration. Passing -hwaccel vaapi -hwaccel_output_format vaapi or -c:v h264_qsv via the ffmpeg hwaccel_args option in the config does not work.

On the host, if I leave off those options to the command it uses about ~30%cpu, but with either of them processing the stream is <5%cpu. Checking with intel_gpu_top, shows either acceleration option using the GPU. Is there some way I can run frigate direct on my host without the containers? The container seems to be interfering with the acceleration

@blakeblackshear
Copy link
Owner

What version of ffmpeg is running on the host?

@blakeblackshear
Copy link
Owner

Also, what linux distro are you running?

@billyburly
Copy link
Author

Running Archlinux, ffmpeg is version 5.1.1

@NickM-27
Copy link
Collaborator

You could try using https://deploy-preview-2829--frigate-docs.netlify.app/configuration/advanced#custom-ffmpeg-build to use your host ffmpeg and see if it works better.

Not sure we've had anyone else using ArchLinux with RPi in 0.11

@billyburly
Copy link
Author

There's something broken with btbn-ffmpeg. I installed jellyfin-ffmpeg from https://repo.jellyfin.org/releases/server/debian/versions/jellyfin-ffmpeg/5.1.1-1/ in the container and it works with hardware acceleration. No clue how to hack that into the container and get frigate to recognize it

root@5c8307cd29fd:/opt/frigate# ffmpeg -c:v h264_qsv  -i "rtsp://XXXXXX:554/cam/realmonitor?channel=1&subtype=0" -f null -
ffmpeg version n5.1.1-5-g2d04a18264-20220920 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --disable-avisynth --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --disable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --disable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --disable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220920
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
Input #0, rtsp, from 'rtsp://XXXXXX.8:554/cam/realmonitor?channel=1&subtype=0':
  Metadata:
    title           : Media Server
  Duration: N/A, start: 0.040000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, 15 fps, 15 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_qsv) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_alaw (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[h264_qsv @ 0x558d29c2f980] Error during set display handle
: device failed (-17)
[h264_qsv @ 0x558d29c2f980] Error initializing an MFX session
[h264_qsv @ 0x558d29c2f980] Error decoding header
Error while decoding stream #0:0: Input/output error
[h264_qsv @ 0x558d29c2f980] More data is required to decode header
    Last message repeated 13 times
[h264_qsv @ 0x558d29c2f980] Error during QSV decoding.: device failed (-17)
Error while decoding stream #0:0: Input/output error
[h264_qsv @ 0x558d29c2f980] Error during QSV decoding.: device failed (-17)
Error while decoding stream #0:0: Input/output error
[h264_qsv @ 0x558d29c2f980] Error during QSV decoding.: device failed (-17)
Error while decoding stream #0:0: Input/output error
Error while decoding stream #0:0: Input/output error
Finishing stream 0:0 without any data written to it.
Output #0, null, to 'pipe:':
  Metadata:
    title           : Media Server
    encoder         : Lavf59.27.100
  Stream #0:0: Video: wrapped_avframe, yuvj420p, 3840x2160, q=2-31, 200 kb/s, 15 fps, 15 tbn
    Metadata:
      encoder         : Lavc59.37.100 wrapped_avframe
  Stream #0:1: Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s16le
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:02.64 bitrate=N/A speed=3.84x
video:0kB audio:41kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.
root@5c8307cd29fd:/opt/frigate# /usr/lib/jellyfin-ffmpeg/ffmpeg -c:v h264_qsv  -i "rtsp://XXXXXX:554/cam/realmonitor?channel=1&subtype=0" -f null -
ffmpeg version 5.1.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://XXXXXX:554/cam/realmonitor?channel=1&subtype=0':
  Metadata:
    title           : Media Server
  Duration: N/A, start: 0.040000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, 15 fps, 15 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_qsv) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_alaw (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    title           : Media Server
    encoder         : Lavf59.27.100
  Stream #0:0: Video: wrapped_avframe, nv12(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, q=2-31, 200 kb/s, 15 fps, 15 tbn
    Metadata:
      encoder         : Lavc59.37.100 wrapped_avframe
  Stream #0:1: Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s16le
frame=   40 fps= 29 q=-0.0 Lsize=N/A time=00:00:03.36 bitrate=N/A speed=2.44x
video:18kB audio:52kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.
root@5c8307cd29fd:/opt/frigate# /usr/lib/jellyfin-ffmpeg/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i "rtsp://XXXXXX:554/cam/realmonitor?channel=1&subtype=0" -f null -
ffmpeg version 5.1.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10 (Debian 10.2.1-6)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
Input #0, rtsp, from 'rtsp://XXXXXX:554/cam/realmonitor?channel=1&subtype=0':
  Metadata:
    title           : Media Server
  Duration: N/A, start: 0.040000, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuvj420p(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, 15 fps, 15 tbr, 90k tbn
  Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_alaw (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    title           : Media Server
    encoder         : Lavf59.27.100
  Stream #0:0: Video: wrapped_avframe, vaapi(pc, bt470bg/bt470bg/bt709, progressive), 3840x2160, q=2-31, 200 kb/s, 15 fps, 15 tbn
    Metadata:
      encoder         : Lavc59.37.100 wrapped_avframe
  Stream #0:1: Audio: pcm_s16le, 8000 Hz, mono, s16, 128 kb/s
    Metadata:
      encoder         : Lavc59.37.100 pcm_s16le
frame=   51 fps= 22 q=-0.0 Lsize=N/A time=00:00:04.30 bitrate=N/A speed=1.82x
video:24kB audio:68kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.

btbn-ffmpeg trace output when setting up hwaccel

[AVFilterGraph @ 0x55780ae32380] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 4 times
[h264_qsv @ 0x55780ad5e940] Format nv12 chosen by get_format().
[h264_qsv @ 0x55780ad5e940] Decoder: output is system memory surface
[AVHWDeviceContext @ 0x55780b0645c0] Trying to use DRM render node for device 0, with matching kernel driver (i915).
[AVHWDeviceContext @ 0x55780b0645c0] libva: VA-API version 1.10.0
[AVHWDeviceContext @ 0x55780b0645c0] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x55780b0645c0] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55780b0645c0] libva: Found init function __vaDriverInit_1_10
[AVHWDeviceContext @ 0x55780b0645c0] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55780b0645c0] Initialised VAAPI connection: version 1.10
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x42475241 -> argb.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x52474241 -> abgr.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x42475258 -> 0rgb.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x52474258 -> 0bgr.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30335241 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30334241 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30335258 -> x2rgb10le.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30334258 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x36314752 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x56555941 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x3132564e -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x32595559 -> yuyv422.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x59565955 -> uyvy422.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x32315659 -> yuv420p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30323449 -> yuv420p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x50313134 -> yuv411p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x48323234 -> yuv422p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x56323234 -> yuv440p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x50343434 -> yuv444p.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x33434d49 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30313050 -> p010le.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x32313050 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x36313050 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30313259 -> y210le.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x32313259 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x36313259 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x30313459 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x32313459 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] Format 0x36313459 -> unknown.
[AVHWDeviceContext @ 0x55780b0645c0] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 21.1.1 ().
[AVHWDeviceContext @ 0x55780b0645c0] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x55780ad5e940] Error during set display handle
: device failed (-17)
[h264_qsv @ 0x55780ad5e940] Error initializing an MFX session
[h264_qsv @ 0x55780ad5e940] Error decoding header
Error while decoding stream #0:0: Input/output error

jellyfin-ffmpeg trace:

[AVFilterGraph @ 0x55de93daa8c0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 4 times
[h264_qsv @ 0x55de93dabe00] Format nv12 chosen by get_format().
[h264_qsv @ 0x55de93dabe00] Decoder: output is system memory surface
[AVHWDeviceContext @ 0x55de93daeb80] Trying to use DRM render node for device 0, with matching kernel driver (i915).
[AVHWDeviceContext @ 0x55de93daeb80] libva: VA-API version 1.16.0
[AVHWDeviceContext @ 0x55de93daeb80] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x55de93daeb80] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x55de93daeb80] libva: Found init function __vaDriverInit_1_16
[AVHWDeviceContext @ 0x55de93daeb80] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x55de93daeb80] Initialised VAAPI connection: version 1.16
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x42475241 -> argb.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x52474241 -> abgr.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x42475258 -> 0rgb.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x52474258 -> 0bgr.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30335241 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30334241 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30335258 -> x2rgb10le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30334258 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x36314752 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x56555941 -> 0yuv.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x56555958 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x3132564e -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x32595559 -> yuyv422.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x59565955 -> uyvy422.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x32315659 -> yuv420p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30323449 -> yuv420p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x50313134 -> yuv411p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x48323234 -> yuv422p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x56323234 -> yuv440p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x50343434 -> yuv444p.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x33434d49 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30313050 -> p010le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x32313050 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x36313050 -> p012le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30313259 -> y210le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x32313259 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x36313259 -> y212le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x30313459 -> y410le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x32313459 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x36313459 -> y412le.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x50424752 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] Format 0x50524742 -> unknown.
[AVHWDeviceContext @ 0x55de93daeb80] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 22.5.3 (a825bea).
[AVHWDeviceContext @ 0x55de93daeb80] Driver not found in known nonstandard list, using standard behaviour.
[h264_qsv @ 0x55de93dabe00] Initialized an internal MFX session using hardware accelerated implementation
[h264_qsv @ 0x55de93dabe00] Format nv12 chosen by get_format().
[h264_qsv @ 0x55de93dabe00] Decoder: output is system memory surface
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
    Last message repeated 19 times

Only thing that stands out is jellyfin-ffmpeg is using a good deal newer libva and intel-media-va-driver. I suspect there may be some kind of ABI compatibility issue

@NickM-27
Copy link
Collaborator

We were using Jellyfin in previous pre-releases but we found a hard-incompatibility with rtsp-simple-server and some other cameras when audio was enabled, so we had to move to btbn.

Should be able to patch the jellyfin build in using the instructions described in https://deploy-preview-2829--frigate-docs.netlify.app/configuration/advanced#custom-ffmpeg-build

@NickM-27
Copy link
Collaborator

Also like I said we have other users who have used 12th gen hardware acceleration with this build no problem, so it must be something pretty specific

@billyburly
Copy link
Author

The software in the container is too old to work with my host (Archlinux). The drivers/libraries are not recent enough to work with a host that has an up to date (most recently released) kernel/driver/library. If I pull in intel-media-va-driver-non-free from testing in the container, vaapi will work with the packaged ffmpeg. Took the following to update the driver from jellyfin/jellyfin#5993

echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list
apt -y update
apt -y -t testing install intel-media-va-driver-non-free

Currently I have to override the PATH and entrypoint in my docker-compose.yml to inject jellyfin-ffmpeg.

environment:
  PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jellyfin-ffmpeg"
entrypoint: bash -c "apt -y update; wget https://repo.jellyfin.org/releases/server/debian/stable/ffmpeg/jellyfin-ffmpeg5_5.1.1-1-bullseye_amd64.deb; dpkg -i jellyfin-ffmpeg5_5.1.1-1-bullseye_amd64.deb; apt -y install -f; rm jellyfin-ffmpeg5_5.1.1-1-bullseye_amd64.deb; /init python3 -u -m frigate"

The mentioned method of overriding ffmpeg in the documents is not usable. It only works if you have a copy of ffmpeg that is statically linked. So you cannot use it to inject something like jellyfin-ffmpeg or the host's ffmpeg.

@RaveGun
Copy link

RaveGun commented Sep 25, 2022

Hi,

I have a similar issue with the NUC6CAYH + Coral USB, where I run my Home Assistant.
It runs Ubuntu server and Supervised mode for HA.

The first install was the AddOn 3.1 (fFrigate version 10.1) and now I switched to the latest 11.0.
With the older version the total CPU load was around 20% and now it is around 50%.
This NUC has an Intel Celeron J3455 Apollo Lake so it is old and was supported.

How do I change the Addon to use another ffmpeg, if this is the issue?
What will be a good alternative ffmpeg?
The referenced advanced option in the users manual is not clear to me.

Thank you.

@NickM-27
Copy link
Collaborator

NickM-27 commented Sep 25, 2022

@RaveGun That is not your issue, your issue is your driver. You need to use the LIBVA_DRIVER_NAME: i965 environment variable to specify driver like was specified in the release notes

https://docs.frigate.video/configuration/hardware_acceleration#intel-based-cpus-10th-generation-via-quicksync

@RaveGun
Copy link

RaveGun commented Sep 25, 2022

@NickM-27 you are absolutely right.
Is the frigate.yml part of the docker-compose file?
Because in the documentation is specified that this env var shall be in the docker-compose file.

Anyway, I added the environment variable to the frigate.yml, like in the full configuration example, and it went back to the 20%.

Thank you and sorry for hijacking this issue.

@J-Prince
Copy link

The software in the container is too old to work with my host (Archlinux). The drivers/libraries are not recent enough to work with a host that has an up to date (most recently released) kernel/driver/library. If I pull in intel-media-va-driver-non-free from testing in the container, vaapi will work with the packaged ffmpeg. Took the following to update the driver from jellyfin/jellyfin#5993

echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list
apt -y update
apt -y -t testing install intel-media-va-driver-non-free

This fixed my issue with Unraid 6.11 and Intel 12th Gen CPU not using the GPU. It now works fine! THANK YOU

@oyvindhauge
Copy link

Anyway, I added the environment variable to the frigate.yml, like in the full configuration example, and it went back to the 20%.

Big thanks to you kind sir.

Maybe the documentation here (https://docs.frigate.video/configuration/hardware_acceleration) could mention how to set the environment variable. I was unaware of the option in the frigate.yml file and I have been pulling my hair for two days. Now back to 20% cpu and 15% ram from about 50% each.

@nicksardo
Copy link

echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list
apt -y update
apt -y -t testing install intel-media-va-driver-non-free

I, like many others, have been getting the -17 error when trying to use qsv hw acceleration on my 12th gen cpu running on Ubuntu.

Performing the above apt install inside the frigate container got it working (confirmed with intel_gpu_top). Prior to doing this, I also updated my kernel from 5.18.0 to 5.19.11 and installed the va driver on the host, so I can't say this was the only required action (I have zero experience with ffmpeg, and I'm just cargo-culting what folks have been posting in these github issues.) Of course, docker-compose recreates the container with any change, so this is very much a bandaid.

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 4, 2022
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants