Error on startup #358
Replies: 6 comments 17 replies
-
This looks like an error from |
Beta Was this translation helpful? Give feedback.
-
Ahh ok. Yeah, I had started with the official Frigate and then moved to the Beta. Ok, I'll give it another go. The older version said it auto detected the height/width so I assume the beta did as well. Thanks for cleaning up that markdown by the way. |
Beta Was this translation helpful? Give feedback.
-
So I'm beyond frustrated with Frigate. I've worked with computers since the mid-90s and I'm not sure another program has frustrated more than this one just to get it up and running. So if I want to use the newer Beta version of Frigate is the docker-compose file here the correct one to use??? I can tell you that file does not work with up to date version of Docker and Docker-Compose. The error message is: I'm running a fresh Debian install with the latest Docker, Docker Engine, and Docker-Compose:
The only way to make that file work is to add
So if I add
Here is my
So I don't get it. What am I doing wrong? I'm using the exact |
Beta Was this translation helpful? Give feedback.
-
Sorry for all the confusion. You are getting stuck in the middle of a bunch of changes to the documentation, and the beta version's documentation is also in beta. Let's reset and I can use this to update the docs for others. Just so I have context, you are running the Frigate container with docker compose on Debian. What about the rest of your setup? Are you running homeassistant somewhere else? Are you already running an mqtt server as well? |
Beta Was this translation helpful? Give feedback.
-
This should work for docker compose: version: "3.6"
services:
frigate:
container_name: frigate
restart: unless-stopped
privileged: true
image: blakeblackshear/frigate:0.8.0-beta1-amd64
volumes:
- /dev/bus/usb:/dev/bus/usb
- /etc/localtime:/etc/localtime:ro
- <path_to_config>:/config
- <path_to_directory_for_clips>:/media/frigate/clips
- <path_to_directory_for_recordings>:/media/frigate/recordings
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 100000000
ports:
- "5000:5000"
- "1935:1935" # RTMP feeds
environment:
FRIGATE_RTSP_PASSWORD: "password" Your config for frigate should be: mqtt:
host: xxx.xxx.xxx.xxx
user: user
password: password
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
cameras:
driveway:
ffmpeg:
inputs:
- path: rtsp://admin:{FRIGATE_RTSP_PASSWORD}@10.200.200.13:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- rtmp
height: 480
width: 704
fps: 5 |
Beta Was this translation helpful? Give feedback.
-
I think you have the height and width the wrong way round as well. My resolution is 352x240 but that is 352 wide and 240 high. If you are still getting issues try setting: |
Beta Was this translation helpful? Give feedback.
-
Getting this error when starting with
docker-compose
using thedocker-compose file
on the instruction page:ffmpeg_input = get_ffmpeg_input(ffmpeg['input']) KeyError: 'input'
Here is my config file. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions