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

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:XXX@X.X.X.X:554/cam/realmonitor?channel=1&subtype=1
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:XXX@X.X.X.X: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:XXX@X.X.X.X:554/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:XXX@X.X.X.X: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:XXX@X.X.X.X:554/cam/realmonitor?channel=1&subtype=2
          roles:
            - detect
            - rtmp
        - path: rtsp://XXX:XXX@X.X.X.X: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:XXX@X.X.X.X: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:XXX@X.X.X.X:554/cam/realmonitor?channel=1: Server returned 404 Not Found

from OS

durrw@nvr ~/f/docker (master) [124]> ffprobe "rtsp://XXX:XXX@X.X.X.X: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:XXX@X.X.X.X: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:XXX@X.X.X.X: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:XXX@X.X.X.X: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® Core™ i5-12400

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 23 (2 by maintainers)

Most upvoted comments

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 https://github.com/jellyfin/jellyfin/issues/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.

@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.

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.

@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