Frigate ffmpeg: command not found

I’m somewhat new to HA. I’m running Home Assistant core 2023.05.2. on an AMD NUC.

I installed frigate NVR from the Add-On store, and MQTT. The frigate install comes up, but with no video using the RTMP stream from my camera. I can view the stream in VLC. The log says ffmpeg: command not found. When I use ssh terminal/bash command line test string I get command not found:

-bash: ffmpeg: command not found

I have ffmpeg: in my configuration.yaml

My frigate.yml

  enabled: true
  host: 192.168.1.84
  port: 1883
  user: ***
  password: ****
go2rtc:
  streams:
    Deck:
      - rtsp://*:*@192.168.1.78/h264Preview_01_sub
cameras:
  Deck: 
    ffmpeg:
      inputs:
        - path: rtsp://*:*@192.168.1.78/h264Preview_01_sub 
          input_args:
            -rtsp_transport tcp -i INPUT
          roles:
            - detect
    detect:
      enabled: False 
      width: 640 
      height: 480 

I’ve tried uninstalling/reinstalling frigate-NVR hoping it would bring in the ffmpeg binary, but no luck so far. I’ve also seen this question asked, but not solved for the person asking, so I’m hoping someone can help here.

Thanks

These input args are entirely wrong, you should remove this from your config

1 Like

That’s what I would say :wink:

It was just a stab at trying to “fix” the problem. I got that suggestion from the FFMPEG setup page. It didn’t work before I added it either… I’ll remove it.

My frigate log says:

2023-05-10 18:09:00.022127718  [INFO] Starting Frigate...
2023-05-10 18:09:02.675554567  [2023-05-10 14:09:02] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
2023-05-10 18:09:02.695437738  [2023-05-10 14:09:02] frigate.app                    INFO    : Creating directory: /tmp/cache
2023-05-10 18:09:02.699654215  [2023-05-10 14:09:02] peewee_migrate                 INFO    : Starting migrations
2023-05-10 18:09:02.707395038  [2023-05-10 14:09:02] peewee_migrate                 INFO    : There is nothing to migrate
2023-05-10 18:09:02.763809965  [2023-05-10 14:09:02] frigate.app                    INFO    : Output process started: 228
2023-05-10 18:09:02.774096468  [2023-05-10 14:09:02] detector.cpu                   INFO    : Starting detection process: 226
2023-05-10 18:09:02.775323764  [2023-05-10 14:09:02] frigate.detectors              WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2023-05-10 18:09:02.803282044  [2023-05-10 14:09:02] frigate.app                    INFO    : Camera processor started for Deck: 231
2023-05-10 18:09:02.806619485  [2023-05-10 14:09:02] frigate.app                    INFO    : Capture process started for Deck: 233
2023-05-10 18:09:06.038718763  [2023-05-10 14:09:06] frigate.video                  ERROR   : Deck: Unable to read frames from ffmpeg process.
2023-05-10 18:09:06.040169589  [2023-05-10 14:09:06] frigate.video                  ERROR   : Deck: ffmpeg process is not running. exiting capture thread...
2023-05-10 18:09:22.958025615  [2023-05-10 14:09:22] watchdog.Deck                  ERROR   : Ffmpeg process crashed unexpectedly for Deck.
2023-05-10 18:09:22.966282298  [2023-05-10 14:09:22] watchdog.Deck                  ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-05-10 18:09:22.966292741  [2023-05-10 14:09:22] ffmpeg.Deck.detect             ERROR   : [tcp @ 0x55965df19140] Connection to tcp://192.168.1.78:554?timeout=5000000 failed: No route to host
2023-05-10 18:09:22.966302805  [2023-05-10 14:09:22] ffmpeg.Deck.detect             ERROR   : rtsp://*:*@192.168.1.78/h264Preview_01_sub: No route to host
2023-05-10 18:09:26.069603003  [2023-05-10 14:09:26] frigate.video                  ERROR   : Deck: Unable to read frames from ffmpeg process.
2023-05-10 18:09:26.070818966  [2023-05-10 14:09:26] frigate.video                  ERROR   : Deck: ffmpeg process is not running. exiting capture thread...

your camera does not exist at that IP address, or it is unreachable from HA OS


It’s odd the log says that when I can clearly see the camera from within HA using the dashboard card. I just can’t get the main frigate integration to show any video. I wish there were better docs, but I understand that the paint on this thing won’t dry before it’s outmoded by another version.