[HW Accel Support]: Accurate config for VAAPI? #18973
-
Describe the problem you are havingI'm trying to use VAAPI, because I think my hardware supports it, but I'm unsure of the correct configuration. VersionFrigate (0.15.0-6cb5cfb) Frigate config filemqtt:
enabled: false
detectors:
# cpu1:
# type: cpu
# num_threads: 4
coral:
type: edgetpu
device: usb
# Global level - applies to all cameras.
# out jpb hwaccel_args: "auto"
ffmpeg:
global_args: -hide_banner -loglevel warning -threads 2
hwaccel_args: preset-vaapi
input_args: preset-rtsp-generic
output_args:
detect: -threads 2 -f rawvideo -pix_fmt yuv420p
record: preset-record-generic
# resolutions detection 640x360 for domes, 640x480 for bullet
# recording 1920x1080 for domes, 3840x2160 for bullet
detect:
width: 640
height: 360
fps: 5
enabled: true
record:
enabled: true
retain:
days: 10
mode: motion
preview:
quality: medium
alerts:
pre_capture: 3
post_capture: 3
retain:
days: 30
mode: motion
detections:
pre_capture: 3
post_capture: 3
retain:
days: 30
mode: motion
snapshots:
enabled: True
clean_copy: true
timestamp: true
bounding_box: true
retain:
default: 30
objects:
person: 15
quality: 70
semantic_search:
enabled: true
reindex: false
model_size: small
######################## CAMERA SECTION #######################
cameras:
Cam100:
enabled: true
ffmpeg:
inputs:
- path: rtsp://aaa:[email protected]:554/streaming/channels/102
roles:
- detect
- path: rtsp://aaa:[email protected]:554/streaming/channels/101
roles:
- record
Cam101:
enabled: True
ffmpeg:
inputs:
- path: rtsp://aaa:[email protected]:554/streaming/channels/102
roles:
- detect
- path: rtsp://aaa:[email protected]:554/streaming/channels/101
roles:
- record
Cam102:
enabled: True
ffmpeg:
inputs:
- path: rtsp://aaa:[email protected]:554/streaming/channels/102
roles:
- detect
- path: rtsp://aaa:[email protected]:554/streaming/channels/101
roles:
- record
Cam200:
enabled: True
detect:
width: 640
height: 480
fps: 5
ffmpeg:
inputs:
- path: rtsp://aaa:[email protected]:554/streaming/channels/102
roles:
- detect
- path: rtsp://aaa:[email protected]:554/streaming/channels/101
roles:
- record
version: 0.15-1 docker-compose file or Docker CLI commandservices:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
stop_grace_period: 30s # allow enough time to shut down services
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "512mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri:/dev/dri # recommended by ChatGPT. was: - /dev/dri/renderD128:/dev/dri/renderD128 # for intel hwaccell
volumes:
- /etc/localtime:/etc/localtime:ro
- /nvr/config/frigate.yml:/config/config.yml
- /nvr/media:/media/frigate
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554" # RTSP feeds
environment:
FRIGATE_RTSP_PASSWORD: "password" Relevant Frigate log outputnvradmin@frigate:/nvr/config$ docker logs 87ae7feb91f4
s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service certsync-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
s6-rc: info: service certsync-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2025-07-03 14:41:58.174599721 [INFO] Preparing new go2rtc config...
2025-07-03 14:41:58.181898439 [INFO] Preparing Frigate...
2025-07-03 14:41:58.185290082 [INFO] Starting NGINX...
2025-07-03 14:41:58.206372032 [INFO] No TLS certificate found. Generating a self signed certificate...
2025-07-03 14:41:58.362939279 [INFO] Starting Frigate...
2025-07-03 14:41:58.989878805 [INFO] Starting go2rtc...
2025-07-03 14:41:59.144348009 14:41:59.144 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-07-03 14:41:59.144455938 14:41:59.144 INF config path=/dev/shm/go2rtc.yaml
2025-07-03 14:41:59.145399371 14:41:59.145 INF [rtsp] listen addr=:8554
2025-07-03 14:41:59.145931686 14:41:59.145 INF [webrtc] listen addr=:8555/tcp
2025-07-03 14:41:59.147619881 14:41:59.147 INF [api] listen addr=:1984
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
s6-rc: info: service certsync successfully started
s6-rc: info: service legacy-services: starting
2025-07-03 14:42:00.410676085 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2025-07-03 14:42:00.582217754 127.0.0.1 - - [03/Jul/2025:14:42:00 -0400] "" 400 0 "-" "-" "-"
2025-07-03 14:42:02.903988667 2025/07/03 14:42:02 [error] 180#180: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "127.0.0.1:5000"
2025-07-03 14:42:02.903998806 2025/07/03 14:42:02 [error] 180#180: *2 auth request unexpected status: 502 while sending to client, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", host: "127.0.0.1:5000"
2025-07-03 14:42:03.144707849 [2025-07-03 14:42:03] frigate.util.config INFO : Checking if frigate config needs migration...
2025-07-03 14:42:03.188213932 [2025-07-03 14:42:03] frigate.util.config INFO : frigate config does not need migration...
2025-07-03 14:42:03.255803636 [2025-07-03 14:42:03] frigate.app INFO : Starting Frigate (0.15.0-6cb5cfb)
2025-07-03 14:42:03.255878946 [2025-07-03 14:42:03] frigate.app INFO : Creating directory: /config/model_cache
2025-07-03 14:42:03.281690070 [2025-07-03 14:42:03] frigate.app INFO : Making backup of DB before migrations...
2025-07-03 14:42:03.283259670 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Starting migrations
2025-07-03 14:42:03.286009638 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "001_create_events_table"
2025-07-03 14:42:03.287769383 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "event" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "label" VARCHAR(20) NOT NULL, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "top_score" REAL NOT NULL, "false_positive" INTEGER NOT NULL, "zones" JSON NOT NULL, "thumbnail" TEXT NOT NULL)',)
2025-07-03 14:42:03.291608069 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "event_label" ON "event" ("label")',)
2025-07-03 14:42:03.292476520 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "event_camera" ON "event" ("camera")',)
2025-07-03 14:42:03.292487565 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 001_create_events_table
2025-07-03 14:42:03.298570850 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "002_add_clip_snapshot"
2025-07-03 14:42:03.298634155 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'has_clip', <BooleanField: Event.has_clip>)
2025-07-03 14:42:03.303078355 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'has_snapshot', <BooleanField: Event.has_snapshot>)
2025-07-03 14:42:03.306824521 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 002_add_clip_snapshot
2025-07-03 14:42:03.312626925 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "003_create_recordings_table"
2025-07-03 14:42:03.312697157 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "recordings" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
2025-07-03 14:42:03.316959701 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "recordings_camera" ON "recordings" ("camera")',)
2025-07-03 14:42:03.316967664 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE UNIQUE INDEX IF NOT EXISTS "recordings_path" ON "recordings" ("path")',)
2025-07-03 14:42:03.318874274 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "recordings_start_time_end_time" ON "recordings" (start_time, end_time)',)
2025-07-03 14:42:03.319673123 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 003_create_recordings_table
2025-07-03 14:42:03.327461862 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "004_add_bbox_region_area"
2025-07-03 14:42:03.327561744 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'region', <JSONField: Event.region>)
2025-07-03 14:42:03.332630349 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'box', <JSONField: Event.box>)
2025-07-03 14:42:03.336448995 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'area', <IntegerField: Event.area>)
2025-07-03 14:42:03.340527202 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 004_add_bbox_region_area
2025-07-03 14:42:03.367919764 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "005_make_end_time_nullable"
2025-07-03 14:42:03.368055388 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'end_time')
2025-07-03 14:42:03.372917412 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 005_make_end_time_nullable
2025-07-03 14:42:03.381047569 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "006_add_motion_active_objects"
2025-07-03 14:42:03.381093239 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
2025-07-03 14:42:03.382092095 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('recordings', 'motion', <IntegerField: Recordings.motion>)
2025-07-03 14:42:03.383546289 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_activity" ON "recordings" ("camera", "start_time" DESC, "regions")',)
2025-07-03 14:42:03.386622090 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 006_add_motion_active_objects
2025-07-03 14:42:03.394165064 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "007_add_retain_indefinitely"
2025-07-03 14:42:03.394197935 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'retain_indefinitely', <BooleanField: Event.retain_indefinitely>)
2025-07-03 14:42:03.399200296 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 007_add_retain_indefinitely
2025-07-03 14:42:03.407350325 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "008_add_sub_label"
2025-07-03 14:42:03.407824650 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'sub_label', <CharField: Event.sub_label>)
2025-07-03 14:42:03.410028007 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 008_add_sub_label
2025-07-03 14:42:03.416995630 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "009_add_object_filter_ratio"
2025-07-03 14:42:03.417097696 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'ratio', <FloatField: Event.ratio>)
2025-07-03 14:42:03.423391191 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 009_add_object_filter_ratio
2025-07-03 14:42:03.431366253 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "010_add_plus_image_id"
2025-07-03 14:42:03.431410004 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'plus_id', <CharField: Event.plus_id>)
2025-07-03 14:42:03.433692925 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 010_add_plus_image_id
2025-07-03 14:42:03.441212320 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "011_update_indexes"
2025-07-03 14:42:03.441263010 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "event_start_time_end_time" ON "event" ("start_time" DESC, "end_time" DESC)',)
2025-07-03 14:42:03.442594691 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('DROP INDEX recordings_start_time_end_time',)
2025-07-03 14:42:03.443793720 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_end_time_start_time" ON "recordings" ("end_time" DESC, "start_time" DESC)',)
2025-07-03 14:42:03.445577748 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 011_update_indexes
2025-07-03 14:42:03.453972955 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "012_add_segment_size"
2025-07-03 14:42:03.454157978 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('recordings', 'segment_size', <FloatField: Recordings.segment_size>)
2025-07-03 14:42:03.462083825 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 012_add_segment_size
2025-07-03 14:42:03.469325935 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "013_create_timeline_table"
2025-07-03 14:42:03.469627195 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "timeline" ("timestamp" DATETIME NOT NULL, "camera" VARCHAR(20) NOT NULL, "source" VARCHAR(20) NOT NULL, "source_id" VARCHAR(30), "class_type" VARCHAR(50) NOT NULL, "data" JSON)',)
2025-07-03 14:42:03.470797570 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "timeline_camera" ON "timeline" ("camera")',)
2025-07-03 14:42:03.472150815 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "timeline_source" ON "timeline" ("source")',)
2025-07-03 14:42:03.473086091 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "timeline_source_id" ON "timeline" ("source_id")',)
2025-07-03 14:42:03.475312917 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 013_create_timeline_table
2025-07-03 14:42:03.482888389 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "014_event_updates_for_fp"
2025-07-03 14:42:03.482931111 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'score', <FloatField: Event.score>)
2025-07-03 14:42:03.484583985 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'model_hash', <CharField: Event.model_hash>)
2025-07-03 14:42:03.486131784 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'detector_type', <CharField: Event.detector_type>)
2025-07-03 14:42:03.487736863 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'model_type', <CharField: Event.model_type>)
2025-07-03 14:42:03.489135426 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'area')
2025-07-03 14:42:03.494948995 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'false_positive')
2025-07-03 14:42:03.501028200 [2025-07-03 14:42:03] peewee_migrate.logs INFO : apply_default ('event', 'false_positive', <BooleanField: Event.false_positive>)
2025-07-03 14:42:03.501109551 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 014_event_updates_for_fp
2025-07-03 14:42:03.510180430 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "015_event_refactor"
2025-07-03 14:42:03.510386119 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'top_score')
2025-07-03 14:42:03.515555376 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'score')
2025-07-03 14:42:03.519542265 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'region')
2025-07-03 14:42:03.523616077 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'box')
2025-07-03 14:42:03.527944623 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'area')
2025-07-03 14:42:03.533043642 [2025-07-03 14:42:03] peewee_migrate.logs INFO : drop_not_null ('event', 'ratio')
2025-07-03 14:42:03.537484497 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('event', 'data', <JSONField: Event.data>)
2025-07-03 14:42:03.542743241 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 015_event_refactor
2025-07-03 14:42:03.550258871 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "016_sublabel_increase"
2025-07-03 14:42:03.550331416 [2025-07-03 14:42:03] peewee_migrate.logs INFO : change_column ('event', 'sub_label', <CharField: Event.sub_label>)
2025-07-03 14:42:03.555729830 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 016_sublabel_increase
2025-07-03 14:42:03.562903825 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "017_update_indexes"
2025-07-03 14:42:03.562919810 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_camera_segment_size" ON "recordings" ("camera", "segment_size")',)
2025-07-03 14:42:03.565801741 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 017_update_indexes
2025-07-03 14:42:03.573225072 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "018_add_dbfs"
2025-07-03 14:42:03.573469055 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('recordings', 'dBFS', <IntegerField: Recordings.dBFS>)
2025-07-03 14:42:03.575377365 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 018_add_dbfs
2025-07-03 14:42:03.583317973 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "019_create_regions_table"
2025-07-03 14:42:03.583364861 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "regions" ("camera" VARCHAR(20) NOT NULL PRIMARY KEY, "last_update" DATETIME NOT NULL, "grid" JSON)',)
2025-07-03 14:42:03.585444788 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 019_create_regions_table
2025-07-03 14:42:03.592964973 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "020_update_index_recordings"
2025-07-03 14:42:03.593226916 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('DROP INDEX recordings_end_time_start_time',)
2025-07-03 14:42:03.594990687 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_camera_start_time_end_time" ON "recordings" ("camera", "start_time" DESC, "end_time" DESC)',)
2025-07-03 14:42:03.596858696 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_api_recordings_summary" ON "recordings" ("camera", "start_time" DESC, "duration", "motion", "objects")',)
2025-07-03 14:42:03.600520956 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "recordings_start_time" ON "recordings" ("start_time")',)
2025-07-03 14:42:03.600569726 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 020_update_index_recordings
2025-07-03 14:42:03.606916143 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "021_create_previews_table"
2025-07-03 14:42:03.607024528 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "previews" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
2025-07-03 14:42:03.608889677 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 021_create_previews_table
2025-07-03 14:42:03.616622971 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "022_create_review_segment_table"
2025-07-03 14:42:03.616672722 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "reviewsegment" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME, "has_been_reviewed" INTEGER NOT NULL, "severity" VARCHAR(30) NOT NULL, "thumb_path" VARCHAR(255) NOT NULL, "data" JSON NOT NULL)',)
2025-07-03 14:42:03.617533181 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "review_segment_camera" ON "reviewsegment" ("camera")',)
2025-07-03 14:42:03.619217514 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX "review_segment_start_time_end_time" ON "reviewsegment" ("start_time" DESC, "end_time" DESC)',)
2025-07-03 14:42:03.619884361 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 022_create_review_segment_table
2025-07-03 14:42:03.626999927 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "023_add_regions"
2025-07-03 14:42:03.627097593 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('recordings', 'regions', <IntegerField: Recordings.regions>)
2025-07-03 14:42:03.629303138 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 023_add_regions
2025-07-03 14:42:03.636155948 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "024_create_export_table"
2025-07-03 14:42:03.636249942 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "export" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "name" VARCHAR(100) NOT NULL, "date" DATETIME NOT NULL, "video_path" VARCHAR(255) NOT NULL, "thumb_path" VARCHAR(255) NOT NULL, "in_progress" INTEGER NOT NULL)',)
2025-07-03 14:42:03.637315922 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "export_camera" ON "export" ("camera")',)
2025-07-03 14:42:03.639288228 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 024_create_export_table
2025-07-03 14:42:03.646692436 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "025_create_user_table"
2025-07-03 14:42:03.646743250 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE TABLE IF NOT EXISTS "user" ("username" VARCHAR(30) NOT NULL PRIMARY KEY, "password_hash" VARCHAR(120) NOT NULL)',)
2025-07-03 14:42:03.648438081 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 025_create_user_table
2025-07-03 14:42:03.656862024 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "026_add_notification_tokens"
2025-07-03 14:42:03.656964216 [2025-07-03 14:42:03] peewee_migrate.logs INFO : add_column ('user', 'notification_tokens', <JSONField: User.notification_tokens>)
2025-07-03 14:42:03.661365616 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 026_add_notification_tokens
2025-07-03 14:42:03.669450245 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Migrate "027_create_explore_index"
2025-07-03 14:42:03.669536588 [2025-07-03 14:42:03] peewee_migrate.logs INFO : sql ('CREATE INDEX IF NOT EXISTS "event_label_start_time" ON "event" ("label", "start_time" DESC)',)
2025-07-03 14:42:03.671556213 [2025-07-03 14:42:03] peewee_migrate.logs INFO : Done 027_create_explore_index
2025-07-03 14:42:03.677249739 [2025-07-03 14:42:03] frigate.app INFO : Running database vacuum
2025-07-03 14:42:03.714911283 [2025-07-03 14:42:03] frigate.app INFO : Recording process started: 358
2025-07-03 14:42:03.717612647 [2025-07-03 14:42:03] frigate.app INFO : Review process started: 367
2025-07-03 14:42:03.723323201 [2025-07-03 14:42:03] frigate.app INFO : go2rtc process pid: 103
2025-07-03 14:42:03.754496322 [2025-07-03 14:42:03] detector.coral INFO : Starting detection process: 374
2025-07-03 14:42:06.421959517 [2025-07-03 14:42:03] frigate.app INFO : Embedding process started: 377
2025-07-03 14:42:06.422182416 [2025-07-03 14:42:03] frigate.app INFO : Output process started: 398
2025-07-03 14:42:06.423351103 [2025-07-03 14:42:03] frigate.util.downloader INFO : Downloading model file from: https://huggingface.co/jinaai/jina-clip-v1/resolve/main/onnx/text_model_fp16.onnx
2025-07-03 14:42:06.423360101 [2025-07-03 14:42:03] frigate.util.downloader INFO : Downloading model file from: https://huggingface.co/jinaai/jina-clip-v1/resolve/main/onnx/vision_model_quantized.onnx
2025-07-03 14:42:06.428831592 [2025-07-03 14:42:03] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-07-03 14:42:06.430239203 [2025-07-03 14:42:03] frigate.app INFO : Camera processor started for Cam100: 412
2025-07-03 14:42:06.430246573 [2025-07-03 14:42:03] frigate.app INFO : Camera processor started for Cam101: 418
2025-07-03 14:42:06.430249046 [2025-07-03 14:42:03] frigate.app INFO : Camera processor started for Cam102: 429
2025-07-03 14:42:06.430251172 [2025-07-03 14:42:05] frigate.video ERROR : Cam100: Unable to read frames from ffmpeg process.
2025-07-03 14:42:06.431395838 [2025-07-03 14:42:05] frigate.video ERROR : Cam100: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:06.432374606 [2025-07-03 14:42:06] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-07-03 14:42:06.432381462 [2025-07-03 14:42:03] frigate.app INFO : Camera processor started for Cam200: 435
2025-07-03 14:42:06.432383679 [2025-07-03 14:42:03] frigate.app INFO : Capture process started for Cam100: 447
2025-07-03 14:42:06.432385618 [2025-07-03 14:42:03] frigate.app INFO : Capture process started for Cam101: 455
2025-07-03 14:42:06.432387397 [2025-07-03 14:42:03] frigate.app INFO : Capture process started for Cam102: 473
2025-07-03 14:42:06.432426854 [2025-07-03 14:42:04] frigate.app INFO : Capture process started for Cam200: 480
2025-07-03 14:42:06.432429424 [2025-07-03 14:42:04] frigate.app INFO : ********************************************************
2025-07-03 14:42:06.432470916 [2025-07-03 14:42:04] frigate.app INFO : ********************************************************
2025-07-03 14:42:06.432473349 [2025-07-03 14:42:04] frigate.app INFO : *** Auth is enabled, but no users exist. ***
2025-07-03 14:42:06.432490771 [2025-07-03 14:42:04] frigate.app INFO : *** Created a default user: ***
2025-07-03 14:42:06.432493074 [2025-07-03 14:42:04] frigate.app INFO : *** User: admin ***
2025-07-03 14:42:06.432495221 [2025-07-03 14:42:04] frigate.app INFO : *** Password: 52977c7c7d2a898eda96ac626aa39103 ***
2025-07-03 14:42:06.432497158 [2025-07-03 14:42:04] frigate.app INFO : ********************************************************
2025-07-03 14:42:06.432518713 [2025-07-03 14:42:04] frigate.app INFO : ********************************************************
2025-07-03 14:42:06.432520848 [2025-07-03 14:42:04] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-07-03 14:42:06.432522625 [2025-07-03 14:42:05] frigate.api.fastapi_app INFO : FastAPI started
2025-07-03 14:42:06.742851846 [2025-07-03 14:42:06] frigate.video ERROR : Cam200: Unable to read frames from ffmpeg process.
2025-07-03 14:42:06.743725409 [2025-07-03 14:42:06] frigate.video ERROR : Cam200: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:07.085080597 [2025-07-03 14:42:07] frigate.video ERROR : Cam101: Unable to read frames from ffmpeg process.
2025-07-03 14:42:07.086860409 [2025-07-03 14:42:07] frigate.video ERROR : Cam101: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:07.705486567 [2025-07-03 14:42:07] frigate.video ERROR : Cam102: Unable to read frames from ffmpeg process.
2025-07-03 14:42:07.710031368 [2025-07-03 14:42:07] frigate.video ERROR : Cam102: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:08.181958533 [INFO] Starting go2rtc healthcheck service...
2025-07-03 14:42:24.071827989 [2025-07-03 14:42:24] watchdog.Cam100 ERROR : Ffmpeg process crashed unexpectedly for Cam100.
2025-07-03 14:42:24.072047244 [2025-07-03 14:42:24] watchdog.Cam100 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:24.072422059 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : [AVHWDeviceContext @ 0x562187aa1240] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:24.072433034 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:24.073569111 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x562187aa0d80] [dec:h264 @ 0x562187ab1240] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:24.073582482 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x562187aa0d80] [dec:h264 @ 0x562187ab1240] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:24.073591306 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : [vost#0:0/rawvideo @ 0x562187aaabc0] Error initializing a simple filtergraph
2025-07-03 14:42:24.073598714 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:24.073606482 [2025-07-03 14:42:24] ffmpeg.Cam100.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:24.123455670 [2025-07-03 14:42:24] watchdog.Cam101 ERROR : Ffmpeg process crashed unexpectedly for Cam101.
2025-07-03 14:42:24.123913561 [2025-07-03 14:42:24] watchdog.Cam101 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:24.123919440 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : [AVHWDeviceContext @ 0x562db7cac0c0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:24.124372734 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:24.125324213 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x562db7c9cb80] [dec:h264 @ 0x562db7ca8200] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:24.126085783 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x562db7c9cb80] [dec:h264 @ 0x562db7ca8200] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:24.126103578 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : [vost#0:0/rawvideo @ 0x562db7cad480] Error initializing a simple filtergraph
2025-07-03 14:42:24.126247510 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:24.126977749 [2025-07-03 14:42:24] ffmpeg.Cam101.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:24.131812112 [2025-07-03 14:42:24] watchdog.Cam102 ERROR : Ffmpeg process crashed unexpectedly for Cam102.
2025-07-03 14:42:24.131819619 [2025-07-03 14:42:24] watchdog.Cam102 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:24.131822149 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : [AVHWDeviceContext @ 0x55798c786bc0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:24.131824295 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:24.131827064 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x55798c7fa5c0] [dec:h264 @ 0x55798c7873c0] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:24.131829485 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x55798c7fa5c0] [dec:h264 @ 0x55798c7873c0] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:24.131831471 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : [vost#0:0/rawvideo @ 0x55798c802700] Error initializing a simple filtergraph
2025-07-03 14:42:24.131833220 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:24.131835048 [2025-07-03 14:42:24] ffmpeg.Cam102.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:24.180862286 [2025-07-03 14:42:24] watchdog.Cam200 ERROR : Ffmpeg process crashed unexpectedly for Cam200.
2025-07-03 14:42:24.180869117 [2025-07-03 14:42:24] watchdog.Cam200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:24.180871547 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : [AVHWDeviceContext @ 0x5649f36b0cc0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:24.180873399 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:24.180875630 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x5649f36a6d80] [dec:h264 @ 0x5649f376cfc0] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:24.180877891 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x5649f36a6d80] [dec:h264 @ 0x5649f376cfc0] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:24.180879789 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : [vost#0:0/rawvideo @ 0x5649f36b95c0] Error initializing a simple filtergraph
2025-07-03 14:42:24.180881392 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:24.180883050 [2025-07-03 14:42:24] ffmpeg.Cam200.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:25.913936272 [2025-07-03 14:42:25] frigate.video ERROR : Cam100: Unable to read frames from ffmpeg process.
2025-07-03 14:42:25.914306736 [2025-07-03 14:42:25] frigate.video ERROR : Cam100: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:26.818694249 [2025-07-03 14:42:26] frigate.video ERROR : Cam200: Unable to read frames from ffmpeg process.
2025-07-03 14:42:26.821814186 [2025-07-03 14:42:26] frigate.video ERROR : Cam200: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:26.882120525 [2025-07-03 14:42:26] frigate.video ERROR : Cam101: Unable to read frames from ffmpeg process.
2025-07-03 14:42:26.883846691 [2025-07-03 14:42:26] frigate.video ERROR : Cam101: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:27.439756400 [2025-07-03 14:42:27] frigate.video ERROR : Cam102: Unable to read frames from ffmpeg process.
2025-07-03 14:42:27.442301266 [2025-07-03 14:42:27] frigate.video ERROR : Cam102: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:29.245135281 [2025-07-03 14:42:29] frigate.util.services ERROR : Unable to poll vainfo: b"error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nerror: can't connect to X server!\nlibva info: VA-API version 1.22.0\nlibva error: vaGetDriverNames() failed with operation failed\nvaInitialize failed with error code 1 (operation failed),exit\n"
2025-07-03 14:42:29.332591241 [2025-07-03 14:42:29] frigate.util.services ERROR : Unable to poll intel GPU stats: No device filter specified and no discrete/integrated i915 devices found
2025-07-03 14:42:29.332598795
2025-07-03 14:42:34.140848355 [2025-07-03 14:42:34] watchdog.Cam100 ERROR : Ffmpeg process crashed unexpectedly for Cam100.
2025-07-03 14:42:34.141813262 [2025-07-03 14:42:34] watchdog.Cam100 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:34.141832463 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : [AVHWDeviceContext @ 0x5641755b6340] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:34.141840683 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:34.141850482 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x5641755a4d80] [dec:h264 @ 0x5641755b5b00] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:34.142053040 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x5641755a4d80] [dec:h264 @ 0x5641755b5b00] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:34.142174465 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : [vost#0:0/rawvideo @ 0x5641755b6d00] Error initializing a simple filtergraph
2025-07-03 14:42:34.142433952 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:34.143655922 [2025-07-03 14:42:34] ffmpeg.Cam100.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:34.192238972 [2025-07-03 14:42:34] watchdog.Cam102 ERROR : Ffmpeg process crashed unexpectedly for Cam102.
2025-07-03 14:42:34.192248216 [2025-07-03 14:42:34] watchdog.Cam102 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:34.192250953 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : [AVHWDeviceContext @ 0x55d597f08500] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:34.192252840 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:34.192255509 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x55d597f0e340] [dec:h264 @ 0x55d597e56740] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:34.192257753 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x55d597f0e340] [dec:h264 @ 0x55d597e56740] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:34.192259810 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : [vost#0:0/rawvideo @ 0x55d597f26c40] Error initializing a simple filtergraph
2025-07-03 14:42:34.192261593 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:34.192263448 [2025-07-03 14:42:34] ffmpeg.Cam102.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:34.199709969 [2025-07-03 14:42:34] watchdog.Cam101 ERROR : Ffmpeg process crashed unexpectedly for Cam101.
2025-07-03 14:42:34.199719392 [2025-07-03 14:42:34] watchdog.Cam101 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:34.199722236 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : [AVHWDeviceContext @ 0x559a1363be40] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:34.199724337 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:34.199727001 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x559a136a9740] [dec:h264 @ 0x559a13636c40] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:34.199729935 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x559a136a9740] [dec:h264 @ 0x559a13636c40] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:34.199732262 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : [vost#0:0/rawvideo @ 0x559a13634d80] Error initializing a simple filtergraph
2025-07-03 14:42:34.199734230 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:34.199736014 [2025-07-03 14:42:34] ffmpeg.Cam101.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:34.210935654 [2025-07-03 14:42:34] watchdog.Cam200 ERROR : Ffmpeg process crashed unexpectedly for Cam200.
2025-07-03 14:42:34.211543159 [2025-07-03 14:42:34] watchdog.Cam200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:34.211548511 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : [AVHWDeviceContext @ 0x56272958d240] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:34.211550501 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:34.211552864 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x56272958cd80] [dec:h264 @ 0x56272959cc80] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:34.211555137 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x56272958cd80] [dec:h264 @ 0x56272959cc80] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:34.211557128 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : [vost#0:0/rawvideo @ 0x5627296c1800] Error initializing a simple filtergraph
2025-07-03 14:42:34.211559002 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:34.211561020 [2025-07-03 14:42:34] ffmpeg.Cam200.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:35.974148606 [2025-07-03 14:42:35] frigate.video ERROR : Cam100: Unable to read frames from ffmpeg process.
2025-07-03 14:42:35.975755815 [2025-07-03 14:42:35] frigate.video ERROR : Cam100: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:36.590128684 [2025-07-03 14:42:36] frigate.video ERROR : Cam101: Unable to read frames from ffmpeg process.
2025-07-03 14:42:36.591980295 [2025-07-03 14:42:36] frigate.video ERROR : Cam101: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:36.845178447 [2025-07-03 14:42:36] frigate.video ERROR : Cam200: Unable to read frames from ffmpeg process.
2025-07-03 14:42:36.847430541 [2025-07-03 14:42:36] frigate.video ERROR : Cam200: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:36.981361190 [2025-07-03 14:42:36] frigate.video ERROR : Cam102: Unable to read frames from ffmpeg process.
2025-07-03 14:42:36.982075114 [2025-07-03 14:42:36] frigate.video ERROR : Cam102: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:44.207522491 [2025-07-03 14:42:44] watchdog.Cam100 ERROR : Ffmpeg process crashed unexpectedly for Cam100.
2025-07-03 14:42:44.209448232 [2025-07-03 14:42:44] watchdog.Cam100 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:44.242176111 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : [AVHWDeviceContext @ 0x55881cdc14c0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:44.242194451 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:44.242205382 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x55881cdafd80] [dec:h264 @ 0x55881cdc1200] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:44.242215550 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x55881cdafd80] [dec:h264 @ 0x55881cdc1200] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:44.242224004 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : [vost#0:0/rawvideo @ 0x55881cdbad40] Error initializing a simple filtergraph
2025-07-03 14:42:44.242232302 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:44.242240427 [2025-07-03 14:42:44] ffmpeg.Cam100.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:44.262019868 [2025-07-03 14:42:44] watchdog.Cam101 ERROR : Ffmpeg process crashed unexpectedly for Cam101.
2025-07-03 14:42:44.283882663 [2025-07-03 14:42:44] watchdog.Cam102 ERROR : Ffmpeg process crashed unexpectedly for Cam102.
2025-07-03 14:42:44.283894524 [2025-07-03 14:42:44] watchdog.Cam102 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:44.283897628 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : [AVHWDeviceContext @ 0x565200319700] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:44.283900295 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:44.283903503 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x565200450f40] [dec:h264 @ 0x565200346800] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:44.283906775 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x565200450f40] [dec:h264 @ 0x565200346800] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:44.283909386 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : [vost#0:0/rawvideo @ 0x565200386800] Error initializing a simple filtergraph
2025-07-03 14:42:44.283911822 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:44.283914116 [2025-07-03 14:42:44] ffmpeg.Cam102.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:44.285330183 [2025-07-03 14:42:44] watchdog.Cam101 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:44.285339422 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : [AVHWDeviceContext @ 0x556689fe54c0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:44.285341652 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:44.285344243 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x556689fd8b80] [dec:h264 @ 0x556689fe3940] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:44.302643980 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x556689fd8b80] [dec:h264 @ 0x556689fe3940] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:44.302651954 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : [vost#0:0/rawvideo @ 0x55668a058640] Error initializing a simple filtergraph
2025-07-03 14:42:44.302654062 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:44.302656196 [2025-07-03 14:42:44] ffmpeg.Cam101.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:44.302658300 [2025-07-03 14:42:44] watchdog.Cam200 ERROR : Ffmpeg process crashed unexpectedly for Cam200.
2025-07-03 14:42:44.302660485 [2025-07-03 14:42:44] watchdog.Cam200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:44.302662810 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : [AVHWDeviceContext @ 0x55db75007e00] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:44.302664604 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:44.302667053 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x55db75020d80] [dec:h264 @ 0x55db75034500] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:44.302669750 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x55db75020d80] [dec:h264 @ 0x55db75034500] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:44.302671990 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : [vost#0:0/rawvideo @ 0x55db7502e700] Error initializing a simple filtergraph
2025-07-03 14:42:44.302673925 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:44.302675872 [2025-07-03 14:42:44] ffmpeg.Cam200.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:46.066709603 [2025-07-03 14:42:46] frigate.video ERROR : Cam100: Unable to read frames from ffmpeg process.
2025-07-03 14:42:46.068693580 [2025-07-03 14:42:46] frigate.video ERROR : Cam100: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:46.703336490 [2025-07-03 14:42:46] frigate.video ERROR : Cam101: Unable to read frames from ffmpeg process.
2025-07-03 14:42:46.707138916 [2025-07-03 14:42:46] frigate.video ERROR : Cam101: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:46.848242010 [2025-07-03 14:42:46] frigate.video ERROR : Cam102: Unable to read frames from ffmpeg process.
2025-07-03 14:42:46.851288649 [2025-07-03 14:42:46] frigate.video ERROR : Cam102: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:46.969360149 [2025-07-03 14:42:46] frigate.video ERROR : Cam200: Unable to read frames from ffmpeg process.
2025-07-03 14:42:46.971849019 [2025-07-03 14:42:46] frigate.video ERROR : Cam200: ffmpeg process is not running. exiting capture thread...
2025-07-03 14:42:54.271980966 [2025-07-03 14:42:54] watchdog.Cam100 ERROR : Ffmpeg process crashed unexpectedly for Cam100.
2025-07-03 14:42:54.272351031 [2025-07-03 14:42:54] watchdog.Cam100 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:54.274521954 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : [AVHWDeviceContext @ 0x563959da8fc0] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:54.274540926 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:54.274551808 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x563959d9bd80] [dec:h264 @ 0x563959da9f40] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:54.274562166 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : [vist#0:0/h264 @ 0x563959d9bd80] [dec:h264 @ 0x563959da9f40] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:54.274570780 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : [vost#0:0/rawvideo @ 0x563959da5bc0] Error initializing a simple filtergraph
2025-07-03 14:42:54.305432561 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:54.311141332 [2025-07-03 14:42:54] ffmpeg.Cam100.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:54.333267509 [2025-07-03 14:42:54] watchdog.Cam101 ERROR : Ffmpeg process crashed unexpectedly for Cam101.
2025-07-03 14:42:54.337248395 [2025-07-03 14:42:54] watchdog.Cam101 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:54.338042660 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : [AVHWDeviceContext @ 0x564c2b54c000] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:54.338054472 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:54.338058971 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x564c2b5424c0] [dec:h264 @ 0x564c2b4d5600] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:54.338063256 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : [vist#0:0/h264 @ 0x564c2b5424c0] [dec:h264 @ 0x564c2b4d5600] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:54.338067033 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : [vost#0:0/rawvideo @ 0x564c2b4cdec0] Error initializing a simple filtergraph
2025-07-03 14:42:54.338332789 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:54.338338132 [2025-07-03 14:42:54] ffmpeg.Cam101.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:54.346243900 [2025-07-03 14:42:54] watchdog.Cam102 ERROR : Ffmpeg process crashed unexpectedly for Cam102.
2025-07-03 14:42:54.370949021 [2025-07-03 14:42:54] watchdog.Cam102 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:54.370963549 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : [AVHWDeviceContext @ 0x5653d39b9300] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:54.370965769 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:54.370968291 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x5653d3a60ec0] [dec:h264 @ 0x5653d39b7680] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:54.370970676 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : [vist#0:0/h264 @ 0x5653d3a60ec0] [dec:h264 @ 0x5653d39b7680] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:54.370973034 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : [vost#0:0/rawvideo @ 0x5653d39b2c00] Error initializing a simple filtergraph
2025-07-03 14:42:54.370974886 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:54.371595121 [2025-07-03 14:42:54] ffmpeg.Cam102.detect ERROR : Error opening output files: Invalid argument
2025-07-03 14:42:54.382729266 [2025-07-03 14:42:54] watchdog.Cam200 ERROR : Ffmpeg process crashed unexpectedly for Cam200.
2025-07-03 14:42:54.382740504 [2025-07-03 14:42:54] watchdog.Cam200 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-03 14:42:54.382743056 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : [AVHWDeviceContext @ 0x55f99e7a3f00] No VA display found for device /dev/dri/renderD128.
2025-07-03 14:42:54.382745469 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : Device creation failed: -22.
2025-07-03 14:42:54.382748016 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x55f99e66ed80] [dec:h264 @ 0x55f99e67e100] No device available for decoder: device type vaapi needed for codec h264.
2025-07-03 14:42:54.382750664 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : [vist#0:0/h264 @ 0x55f99e66ed80] [dec:h264 @ 0x55f99e67e100] Hardware device setup failed for decoder: Invalid argument
2025-07-03 14:42:54.382752881 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : [vost#0:0/rawvideo @ 0x55f99e679d40] Error initializing a simple filtergraph
2025-07-03 14:42:54.382754825 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : Error opening output file pipe:.
2025-07-03 14:42:54.382756989 [2025-07-03 14:42:54] ffmpeg.Cam200.detect ERROR : Error opening output files: Invalid argument
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service go2rtc-healthcheck: stopping
s6-rc: info: service certsync: stopping
2025-07-03 14:42:54.946053215 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2025-07-03 14:42:54.952149889 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service certsync successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service certsync-log: stopping
s6-rc: info: service certsync-log successfully stopped
[snip] Relevant go2rtc log outputN/A FFprobe output from your camera$ ffprobe rtsp://aaa:[email protected]:554/streaming/channels/101
ffprobe version 5.1.6-0+deb12u1 Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr --extra-version=0+deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
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://aaa:[email protected]:554/streaming/channels/101':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.034000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelHikvision DS-2CD2142FWD-I (dome camera) Screenshots of the Frigate UI's System metrics pagesN/A Any other information that may be helpfulNote: If I use hwaccel_args: "auto", everything works fine, but there is no assist from the gpu (see below). $ uname -a Here is output from sensors(1): amdgpu-pci-0008 Ffmpeg does seem to recognize VAAPI through this command and output: ffmpeg -init_hw_device vaapi=foo:/dev/dri/renderD128 -hwaccel vaapi -hwaccel_device foo -i rtsp://admin:[email protected]:554/streaming/channels/101 -f null - I'm just trying to see if there is a way to get frigate to use it. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to map /dev/dri as a device not a volume |
Beta Was this translation helpful? Give feedback.
-
Ok, I added " - /dev/dri:/dev/dri " to the devices section in the docker compose file and restarted everything. Frigate now recognizes preset-vaapi in my frigate.yml file and it starts up. There was one error: but the system continues to function. I'll keep an eye out for any anomalies with this setup. |
Beta Was this translation helpful? Give feedback.
You need to map /dev/dri as a device not a volume