mqtt:
enabled: true
host: 192.168.1.XXX
topic_prefix: frigate
client_id: frigate
user: [USERNAME]
password: [PASSWORD]
cameras:
baby_camera: # <------ Name the camera
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://[USERNAME]:[PASSWORD]@192.168.1.XXX:554/cam/realmonitor?channel=1&subtype=1 # <----- The stream you want to use for detection
roles:
- detect
- audio
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 1280
height: 720
audio:
enabled: True
listen:
- crying
keting_camera: # <------ Name the camera
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://[USERNAME]:[PASSWORD]@192.168.1.XXX:554/stream2 # <----- The stream you want to use for detection
roles:
- detect
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 1280
height: 720
record:
enabled: True
retain:
days: 0
mode: all
events:
retain:
default: 30
mode: motion
version: 0.14
2025-07-04 14:19:34.425541880 [INFO] Preparing Frigate...
2025-07-04 14:19:34.548116979 [INFO] Starting Frigate...
2025-07-04 14:19:36.059145229 [2025-07-04 14:19:36] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2025-07-04 14:19:36.059198055 [2025-07-04 14:19:36] frigate.util.config INFO : Checking if frigate config needs migration...
2025-07-04 14:19:36.071325955 [2025-07-04 14:19:36] frigate.util.config INFO : frigate config does not need migration...
2025-07-04 14:19:36.143900430 [2025-07-04 14:19:36] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2025-07-04 14:19:36.171011396 [2025-07-04 14:19:36] peewee_migrate.logs INFO : Starting migrations
2025-07-04 14:19:36.171819678 [2025-07-04 14:19:36] peewee_migrate.logs INFO : There is nothing to migrate
2025-07-04 14:19:36.297970494 [2025-07-04 14:19:36] frigate.app INFO : Recording process started: 345
2025-07-04 14:19:36.307215044 [2025-07-04 14:19:36] frigate.app INFO : Recording process started: 348
2025-07-04 14:19:36.316414713 [2025-07-04 14:19:36] frigate.app INFO : go2rtc process pid: 106
2025-07-04 14:19:36.345889410 [2025-07-04 14:19:36] detector.cpu INFO : Starting detection process: 374
2025-07-04 14:19:36.354641944 [2025-07-04 14:19:36] frigate.app INFO : Output process started: 376
2025-07-04 14:19:36.355356212 [2025-07-04 14:19:36] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2025-07-04 14:19:36.377988795 [2025-07-04 14:19:36] frigate.app INFO : Camera processor started for baby_camera: 391
2025-07-04 14:19:36.395685556 [2025-07-04 14:19:36] frigate.app INFO : Camera processor started for keting_camera: 396
2025-07-04 14:19:36.395689597 [2025-07-04 14:19:36] frigate.app INFO : Capture process started for baby_camera: 406
2025-07-04 14:19:36.405162790 [2025-07-04 14:19:36] frigate.app INFO : Capture process started for keting_camera: 413
2025-07-04 14:19:36.414710685 [2025-07-04 14:19:36] frigate.app INFO : Audio process started: 421
2025-07-04 14:19:37.713023067 [2025-07-04 14:19:37] frigate.video ERROR : baby_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:19:37.713029788 [2025-07-04 14:19:37] frigate.video ERROR : baby_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:19:38.330364969 [2025-07-04 14:19:38] frigate.video ERROR : keting_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:19:38.330484279 [2025-07-04 14:19:38] frigate.video ERROR : keting_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:19:49.693086496 [2025-07-04 14:19:49] 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.17.0\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so\nlibva info: Found init function __vaDriverInit_1_17\nlibva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed\nlibva info: va_openDriver() returns 1\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so\nlibva info: Found init function __vaDriverInit_1_8\nlibva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed\nlibva info: va_openDriver() returns -1\nvaInitialize failed with error code -1 (unknown libva error),exit\n"
2025-07-04 14:19:56.433568366 [2025-07-04 14:19:56] watchdog.baby_camera ERROR : Ffmpeg process crashed unexpectedly for baby_camera.
2025-07-04 14:19:56.433771927 [2025-07-04 14:19:56] watchdog.baby_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:19:56.433983789 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x56171aa766c0] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:19:56.434135902 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x56171aa766c0] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:19:56.434343084 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x56171aa766c0] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:19:56.434459047 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:19:56.434543248 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : [h264 @ 0x56171aa75040] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:19:56.434684369 [2025-07-04 14:19:56] ffmpeg.baby_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:19:56.445066266 [2025-07-04 14:19:56] watchdog.keting_camera ERROR : Ffmpeg process crashed unexpectedly for keting_camera.
2025-07-04 14:19:56.445354835 [2025-07-04 14:19:56] watchdog.keting_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:19:56.445359973 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x562c4c634d00] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:19:56.445546744 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x562c4c634d00] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:19:56.445550510 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x562c4c634d00] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:19:56.445707466 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:19:56.445711289 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : [h264 @ 0x562c4c635340] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:19:56.445795025 [2025-07-04 14:19:56] ffmpeg.keting_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:19:57.671752069 [2025-07-04 14:19:57] frigate.video ERROR : baby_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:19:57.672008844 [2025-07-04 14:19:57] frigate.video ERROR : baby_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:19:58.382327894 [2025-07-04 14:19:58] frigate.video ERROR : keting_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:19:58.382477175 [2025-07-04 14:19:58] frigate.video ERROR : keting_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:20:01.867101788 [2025-07-04 14:20:01] 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.17.0\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so\nlibva info: Found init function __vaDriverInit_1_17\nlibva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed\nlibva info: va_openDriver() returns 1\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so\nlibva info: Found init function __vaDriverInit_1_8\nlibva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed\nlibva info: va_openDriver() returns -1\nvaInitialize failed with error code -1 (unknown libva error),exit\n"
2025-07-04 14:20:06.449911295 [2025-07-04 14:20:06] watchdog.baby_camera ERROR : Ffmpeg process crashed unexpectedly for baby_camera.
2025-07-04 14:20:06.450184883 [2025-07-04 14:20:06] watchdog.baby_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:20:06.450383860 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5632bd916480] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:20:06.450550158 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5632bd916480] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:20:06.450722645 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5632bd916480] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:20:06.450823403 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:20:06.450968661 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : [h264 @ 0x5632bd81d540] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:20:06.451098816 [2025-07-04 14:20:06] ffmpeg.baby_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:20:06.468881779 [2025-07-04 14:20:06] watchdog.keting_camera ERROR : Ffmpeg process crashed unexpectedly for keting_camera.
2025-07-04 14:20:06.469008093 [2025-07-04 14:20:06] watchdog.keting_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:20:06.475011951 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x560aef126840] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:20:06.475285146 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x560aef126840] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:20:06.475444522 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x560aef126840] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:20:06.475448428 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:20:06.475615325 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : [h264 @ 0x560aef136a00] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:20:06.475632614 [2025-07-04 14:20:06] ffmpeg.keting_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:20:07.870371187 [2025-07-04 14:20:07] frigate.video ERROR : baby_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:20:07.870495704 [2025-07-04 14:20:07] frigate.video ERROR : baby_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:20:08.177229499 [2025-07-04 14:20:08] frigate.video ERROR : keting_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:20:08.177384176 [2025-07-04 14:20:08] frigate.video ERROR : keting_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:20:16.465668904 [2025-07-04 14:20:16] watchdog.baby_camera ERROR : Ffmpeg process crashed unexpectedly for baby_camera.
2025-07-04 14:20:16.465674711 [2025-07-04 14:20:16] watchdog.baby_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:20:16.465678019 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5640b5a6f140] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:20:16.465680762 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5640b5a6f140] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:20:16.465683579 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : [AVHWDeviceContext @ 0x5640b5a6f140] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:20:16.465685636 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:20:16.466360610 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : [h264 @ 0x5640b591c100] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:20:16.466537270 [2025-07-04 14:20:16] ffmpeg.baby_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:20:16.483099026 [2025-07-04 14:20:16] watchdog.keting_camera ERROR : Ffmpeg process crashed unexpectedly for keting_camera.
2025-07-04 14:20:16.483414735 [2025-07-04 14:20:16] watchdog.keting_camera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-07-04 14:20:16.483420102 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x558ba337bcc0] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2025-07-04 14:20:16.483667038 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x558ba337bcc0] libva: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-07-04 14:20:16.483672275 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : [AVHWDeviceContext @ 0x558ba337bcc0] Failed to initialise VAAPI connection: -1 (unknown libva error).
2025-07-04 14:20:16.483794376 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : Device creation failed: -5.
2025-07-04 14:20:16.483855590 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : [h264 @ 0x558ba337ec00] No device available for decoder: device type vaapi needed for codec h264.
2025-07-04 14:20:16.483996208 [2025-07-04 14:20:16] ffmpeg.keting_camera.detect ERROR : Device setup failed for decoder on input stream #0:0 : Input/output error
2025-07-04 14:20:17.423449705 [2025-07-04 14:20:17] 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.17.0\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so\nlibva info: Found init function __vaDriverInit_1_17\nlibva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed\nlibva info: va_openDriver() returns 1\nlibva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so\nlibva info: Found init function __vaDriverInit_1_8\nlibva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed\nlibva info: va_openDriver() returns -1\nvaInitialize failed with error code -1 (unknown libva error),exit\n"
2025-07-04 14:20:17.784376409 [2025-07-04 14:20:17] frigate.video ERROR : baby_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:20:17.784574030 [2025-07-04 14:20:17] frigate.video ERROR : baby_camera: ffmpeg process is not running. exiting capture thread...
2025-07-04 14:20:18.750803535 [2025-07-04 14:20:18] frigate.video ERROR : keting_camera: Unable to read frames from ffmpeg process.
2025-07-04 14:20:18.751066079 [2025-07-04 14:20:18] frigate.video ERROR : keting_camera: ffmpeg process is not running. exiting capture thread...
frigate的ssl证书问题怎么解决呢25-07-05 05:59:06 error: An error occurred when recogniting file: frigate status error: self-signed certificate
25-07-05 05:59:10 error: An error occurred at Error: frigate status error: self-signed certificate