Hi, I am updating my Frigate from 0.11 to the latest 0.12 release on my Ubuntu Server (22.04). My previous setup used RTMP streams, but since that has been deprecated in 0.12, I have now updated my config file to use go2rtc with http streams according to the docs for Reolink cameras. I have Reolink RLC-822a cameras and they worked fine with RTMP in 0.11.
The limited information I could find online suggests my FFMPEG and drivers might be too old for CPU my (intel i5-12400) in this post.
So I then installed the latest intel drivers by following this guide. I tried installing this on the host machine first, which did not work, so I installed the same inside the docker container afterwards, but it's still giving me the same error. I remember getting a similar problem when I first installed Frigate 0.11 last year, and the fix I came across was to apt-add the testing debian repository to the sources.list within the Docker container (which is running Bullseye it seems). This was the command I used in 0.11, but it didn't work in 0.12. I'm a novice in Linux and have never really dealt with drivers much, so not exactly sure why it worked the last time but not now:
I have attached more information about my frigate config, docker-compose.yml file and my CPU info below. I appreciate any help I could get. And thanks for making awesome software like this open source.
Version
0.12.1-367d724
Frigate config file
# Simplified version of my config containing only 1 camera
mqtt:
...
database:
...
go2rtc:
streams:
front_door:
- http://192.168.1.2/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=[REDACTED]&password=[REDACTED]
front_door_sub:
- http://192.168.1.2/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=[REDACTED]&password=[REDACTED]
cameras:
Front_Door: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_door
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/front_door_sub
input_args: preset-rtsp-restream
roles:
- detect
record:
enabled: True
retain:
days: 16
mode: all
events:
retain:
default: 16
mode: active_objects
detect:
width: 640
height: 360
fps: 10
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
# hwaccel_args: preset-vaapi
Relevant log output
...frigate.video ERROR : Front_Door: Unable to read frames from ffmpeg process.
...frigate.video ERROR : Front_Door: ffmpeg process is not running. exiting capture thread...
...watchdog.Front_Door ERROR : Ffmpeg process crashed unexpectedly for Front_Door.
...watchdog.Front_Door ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
...ffmpeg.Front_Door.detect ERROR : [AVHWDeviceContext @ 0x56357199a040] Error setting child device handle: -17
...watchdog.Front_Door ERROR : No new recording segments were created for Front_Door in the last 120s. restarting the ffmpeg record process...
...watchdog.Front_Door INFO : Terminating the existing ffmpeg process...
...watchdog.Front_Door INFO : Waiting for ffmpeg to exit gracefully...
Describe the problem you are having
Hi, I am updating my Frigate from 0.11 to the latest 0.12 release on my Ubuntu Server (22.04). My previous setup used RTMP streams, but since that has been deprecated in 0.12, I have now updated my config file to use go2rtc with http streams according to the docs for Reolink cameras. I have Reolink RLC-822a cameras and they worked fine with RTMP in 0.11.
But I am getting this error:
The limited information I could find online suggests my FFMPEG and drivers might be too old for CPU my (intel i5-12400) in this post.
So I then installed the latest intel drivers by following this guide. I tried installing this on the host machine first, which did not work, so I installed the same inside the docker container afterwards, but it's still giving me the same error. I remember getting a similar problem when I first installed Frigate 0.11 last year, and the fix I came across was to
apt-add
the testing debian repository to thesources.list
within the Docker container (which is running Bullseye it seems). This was the command I used in 0.11, but it didn't work in 0.12. I'm a novice in Linux and have never really dealt with drivers much, so not exactly sure why it worked the last time but not now:I have attached more information about my frigate config, docker-compose.yml file and my CPU info below. I appreciate any help I could get. And thanks for making awesome software like this open source.
Version
0.12.1-367d724
Frigate config file
Relevant log output
Frigate stats
Operating system
Other Linux
Install method
Docker Compose
Coral version
M.2
Any other information that may be helpful
FFPROBE output
docker-compose.yml
$ lspci -k | grep -EA3 'VGA|3D|Display
outputlsb_release -a
ouputvainfo
output