frigate: [HW Accel Support]: unable to read frames from ffmpeg process

Describe the problem you are having

I have tried a number of config edits and have gone back to basics and i am unable to establish a feed from my cameras into frigate. Camera is visible in onvif viewer, on the NVR itself and can be accessed via its own web portal.

Frigate is running as an add-on within home assistant on an unraid NAS. Cameras are Saance and have been configured to h.264

I only want to get it to work and see the feed. No detection - yet - will cross that bridge later with a TPU if i can get this to work

Version

0.12.0-DA3E197

Frigate config file

mqtt:
  host: the.ip.address
  port: 1883
  user: cvcvcvcv
  password: xcxcxcxc
  topic_prefix: frigate

ffmpeg:
  hwaccel_args: preset-intel-qsv-h264


cameras:
  house: # <------ Name the camera
    ffmpeg:
      hwaccel_args: preset-intel-qsv-h264
      inputs:
        - path: rtsp://USERNAME:PASSWORD@192.168.0.114:554/ch0_0.264 # <----- The stream you want to use for detection

    detect:
      enabled: False # <---- disable detection until you have a working camera feed
      width: 1920 # <---- update for your camera's resolution
      height: 1080 # <---- update for your camera's resolution
    rtmp: 
      enabled: false
  house2: # <------ Name the camera
    ffmpeg:
      hwaccel_args: -c:v h264_cuvid
      inputs:
        - path: rtsp://192.168.0.114:88/ch0_0.264 # <----- The stream you want to use for detection

    detect:
      enabled: False # <---- disable detection until you have a working camera feed
      width: 1920 # <---- update for your camera's resolution
      height: 1080 # <---- update for your camera's resolution
    rtmp: 
      enabled: false

detectors:
 cpu1:
  type: cpu
 cpu2:
  type: cpu

docker-compose file or Docker CLI command

Dont know what this is

Relevant log output

2023-04-24 15:59:11.327363451  [INFO] Starting Frigate...
2023-04-24 15:59:13.038968070  [2023-04-24 16:59:13] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
2023-04-24 15:59:13.065514100  [2023-04-24 16:59:13] frigate.app                    INFO    : Creating directory: /tmp/cache
2023-04-24 15:59:13.065685854  [2023-04-24 16:59:13] peewee_migrate                 INFO    : Starting migrations
2023-04-24 15:59:13.073096742  [2023-04-24 16:59:13] peewee_migrate                 INFO    : There is nothing to migrate
2023-04-24 15:59:13.124760130  [2023-04-24 16:59:13] frigate.app                    INFO    : Output process started: 229
2023-04-24 15:59:13.134470077  [2023-04-24 16:59:13] detector.cpu2                  INFO    : Starting detection process: 228
2023-04-24 15:59:13.157069252  [2023-04-24 16:59:13] frigate.app                    INFO    : Camera processor started for house: 234
2023-04-24 15:59:13.160346244  [2023-04-24 16:59:13] detector.cpu1                  INFO    : Starting detection process: 227
2023-04-24 15:59:13.160353544  [2023-04-24 16:59:13] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-04-24 15:59:13.163208694  [2023-04-24 16:59:13] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-04-24 15:59:13.177315955  [2023-04-24 16:59:13] frigate.app                    INFO    : Camera processor started for house2: 235
2023-04-24 15:59:13.194985821  [2023-04-24 16:59:13] frigate.app                    INFO    : Capture process started for house: 237
2023-04-24 15:59:13.216652361  [2023-04-24 16:59:13] frigate.app                    INFO    : Capture process started for house2: 239
2023-04-24 15:59:13.328276481  [2023-04-24 16:59:13] frigate.video                  ERROR   : house: Unable to read frames from ffmpeg process.
2023-04-24 15:59:13.329506522  [2023-04-24 16:59:13] frigate.video                  ERROR   : house: ffmpeg process is not running. exiting capture thread...
2023-04-24 15:59:13.345611282  [2023-04-24 16:59:13] frigate.video                  ERROR   : house2: Unable to read frames from ffmpeg process.
2023-04-24 15:59:13.346465526  [2023-04-24 16:59:13] frigate.video                  ERROR   : house2: ffmpeg process is not running. exiting capture thread...

FFprobe output from your camera

Dont know how to do this.

Operating system

HassOS

Install method

HassOS Addon

Network connection

Wired

Camera make and model

Saance

Any other information that may be helpful

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16

Most upvoted comments

in all the editing i think i may have made a typo!! well done for spotting that! they all work.

Now to get on a wait list and see if a coral will run on the machine.

I owe you a beer! 😃 Thank you so much