Bonjour,
Dans le but d’installer Frigate, J’ai fait l’acquisition d’un Mini PC Minisforum GK41, installation de Proxmox VE, conteneur Docker LCX, puis installation de Frigate via compose.
Je prevois par la suite d’integrer le tout quand cela sera fonctionnel sur mon HA.
Je bloque vis a vis de ma config de mes caméra reolink : J’ai 4 caméra RLW410
J’ai essayer de configurer avec les paramètre recomandé pour des camera reolink. Je n’ai rien sur les flux en page d’acceuil.
2024-02-24 18:48:14.671812849 [INFO] Preparing Frigate...
2024-02-24 18:48:14.728104691 [INFO] Starting Frigate...
2024-02-24 18:48:16.797989704 [2024-02-24 18:48:16] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-02-24 18:48:45.207808050 [rtsp @ 0x2f94a80] method DESCRIBE failed: 404 Not Found
2024-02-24 18:48:45.208814278 [ERROR:0@29.332] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-24 18:48:45.208817077
2024-02-24 18:48:45.208824105 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://127.0.0.1:8554/Local in function 'icvExtractPattern'
2024-02-24 18:48:45.208826187
2024-02-24 18:48:45.208827364
2024-02-24 18:48:45.256014363 [2024-02-24 18:48:45] peewee_migrate.logs INFO : Starting migrations
2024-02-24 18:48:45.263098585 [2024-02-24 18:48:45] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-24 18:48:45.274266934 [2024-02-24 18:48:45] frigate.app INFO : Recording process started: 343
2024-02-24 18:48:45.279692701 [2024-02-24 18:48:45] frigate.app INFO : go2rtc process pid: 90
2024-02-24 18:48:45.343417382 [2024-02-24 18:48:45] frigate.app INFO : Output process started: 355
2024-02-24 18:48:45.345103644 [2024-02-24 18:48:45] detector.cpu INFO : Starting detection process: 353
2024-02-24 18:48:45.350540118 [2024-02-24 18:48:45] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-24 18:48:45.390590217 [2024-02-24 18:48:45] frigate.app INFO : Camera processor started for Cour: 360
2024-02-24 18:48:45.411120017 [2024-02-24 18:48:45] frigate.app INFO : Camera processor started for Chemin: 362
2024-02-24 18:48:45.444975141 [2024-02-24 18:48:45] frigate.app INFO : Camera processor started for Terrain: 365
2024-02-24 18:48:45.472649204 [2024-02-24 18:48:45] frigate.app INFO : Camera processor started for Local: 366
2024-02-24 18:48:45.500145899 [2024-02-24 18:48:45] frigate.app INFO : Capture process started for Cour: 370
2024-02-24 18:48:45.534322383 [2024-02-24 18:48:45] frigate.app INFO : Capture process started for Chemin: 377
2024-02-24 18:48:45.558895124 [2024-02-24 18:48:45] frigate.app INFO : Capture process started for Terrain: 380
2024-02-24 18:48:45.577065107 [2024-02-24 18:48:45] frigate.app INFO : Capture process started for Local: 387
2024-02-24 18:48:45.648167289 [2024-02-24 18:48:45] frigate.video ERROR : Local: Unable to read frames from ffmpeg process.
2024-02-24 18:48:45.649411936 [2024-02-24 18:48:45] frigate.video ERROR : Local: ffmpeg process is not running. exiting capture thread...
2024-02-24 18:48:52.916400594 [2024-02-24 18:48:52] frigate.video ERROR : Chemin: Unable to read frames from ffmpeg process.
2024-02-24 18:48:52.917298197 [2024-02-24 18:48:52] frigate.video ERROR : Chemin: ffmpeg process is not running. exiting capture thread...
2024-02-24 18:48:53.232233650 [2024-02-24 18:48:53] frigate.video ERROR : Terrain: Unable to read frames from ffmpeg process.
2024-02-24 18:48:53.232457763 [2024-02-24 18:48:53] frigate.video ERROR : Terrain: ffmpeg process is not running. exiting capture thread...
2024-02-24 18:48:54.025085443 [2024-02-24 18:48:54] frigate.video ERROR : Cour: Unable to read frames from ffmpeg process.
2024-02-24 18:48:54.025303301 [2024-02-24 18:48:54] frigate.video ERROR : Cour: ffmpeg process is not running. exiting capture thread...
2024-02-24 18:49:05.539880186 [2024-02-24 18:49:05] watchdog.Cour ERROR : Ffmpeg process crashed unexpectedly for Cour.
2024-02-24 18:49:05.540820590 [2024-02-24 18:49:05] watchdog.Cour ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-24 18:49:05.540825782 [2024-02-24 18:49:05] ffmpeg.Cour.detect ERROR : [rtsp @ 0x564228a6bc80] method SETUP failed: 461 Unsupported transport
2024-02-24 18:49:05.540832712 [2024-02-24 18:49:05] ffmpeg.Cour.detect ERROR : Option hwaccel (use HW accelerated decoding) cannot be applied to output url vaapi -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
2024-02-24 18:49:05.540837728 [2024-02-24 18:49:05] ffmpeg.Cour.detect ERROR : Error parsing options for output file vaapi.
2024-02-24 18:49:05.540840168 [2024-02-24 18:49:05] ffmpeg.Cour.detect ERROR : Error opening output files: Invalid argument
2024-02-24 18:49:05.623138399 [2024-02-24 18:49:05] watchdog.Terrain ERROR : Ffmpeg process crashed unexpectedly for Terrain.
2024-02-24 18:49:05.623726389 [2024-02-24 18:49:05] watchdog.Chemin ERROR : Ffmpeg process crashed unexpectedly for Chemin.
2024-02-24 18:49:05.623730338 [2024-02-24 18:49:05] watchdog.Chemin ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-24 18:49:05.623732855 [2024-02-24 18:49:05] ffmpeg.Chemin.detect ERROR : [rtsp @ 0x55929b3f5c80] method SETUP failed: 461 Unsupported transport
2024-02-24 18:49:05.623736285 [2024-02-24 18:49:05] ffmpeg.Chemin.detect ERROR : Option hwaccel (use HW accelerated decoding) cannot be applied to output url vaapi -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to
Ok.je vais déjà appliquer ces modifications pour commencer
edit :
Pas forcement mieux,
toujours des erreurs dans le log.
Storage
System
Config
Logs
Documentation
GitHub
LOGS
Frigate
Go2rtc
Nginx
COPY TO CLIPBOARD
2024-02-24 20:32:34.249317134 [INFO] Preparing Frigate...
2024-02-24 20:32:34.300093723 [INFO] Starting Frigate...
2024-02-24 20:32:36.365071246 [2024-02-24 20:32:36] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-02-24 20:33:05.050903829 [rtsp @ 0x3f6e000] method DESCRIBE failed: 404 Not Found
2024-02-24 20:33:05.051653094 [ERROR:0@29.605] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-02-24 20:33:05.051656230
2024-02-24 20:33:05.051662992 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://127.0.0.1:8554/local in function 'icvExtractPattern'
2024-02-24 20:33:05.051665272
2024-02-24 20:33:05.051666378
2024-02-24 20:33:05.098977272 [2024-02-24 20:33:05] peewee_migrate.logs INFO : Starting migrations
2024-02-24 20:33:05.106319001 [2024-02-24 20:33:05] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-24 20:33:05.117741771 [2024-02-24 20:33:05] frigate.app INFO : Recording process started: 351
2024-02-24 20:33:05.122203621 [2024-02-24 20:33:05] frigate.app INFO : go2rtc process pid: 93
2024-02-24 20:33:05.189778254 [2024-02-24 20:33:05] frigate.app INFO : Output process started: 363
2024-02-24 20:33:05.202989444 [2024-02-24 20:33:05] detector.cpu INFO : Starting detection process: 361
2024-02-24 20:33:05.202997329 [2024-02-24 20:33:05] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-24 20:33:05.239834443 [2024-02-24 20:33:05] frigate.app INFO : Camera processor started for cour: 368
2024-02-24 20:33:05.253331429 [2024-02-24 20:33:05] frigate.app INFO : Camera processor started for Chemin: 370
2024-02-24 20:33:05.287887356 [2024-02-24 20:33:05] frigate.app INFO : Camera processor started for terrain: 372
2024-02-24 20:33:05.314675761 [2024-02-24 20:33:05] frigate.app INFO : Camera processor started for local: 374
2024-02-24 20:33:05.339898985 [2024-02-24 20:33:05] frigate.app INFO : Capture process started for cour: 377
2024-02-24 20:33:05.359704143 [2024-02-24 20:33:05] frigate.app INFO : Capture process started for Chemin: 378
2024-02-24 20:33:05.391755459 [2024-02-24 20:33:05] frigate.app INFO : Capture process started for terrain: 388
2024-02-24 20:33:05.409407355 [2024-02-24 20:33:05] frigate.app INFO : Capture process started for local: 390
2024-02-24 20:33:11.197506560 [2024-02-24 20:33:11] frigate.video ERROR : local: Unable to read frames from ffmpeg process.
2024-02-24 20:33:11.198300898 [2024-02-24 20:33:11] frigate.video ERROR : local: ffmpeg process is not running. exiting capture thread...
2024-02-24 20:33:12.602879021 [2024-02-24 20:33:12] frigate.video ERROR : Chemin: Unable to read frames from ffmpeg process.
2024-02-24 20:33:12.604216666 [2024-02-24 20:33:12] frigate.video ERROR : Chemin: ffmpeg process is not running. exiting capture thread...
2024-02-24 20:33:12.910408957 [2024-02-24 20:33:12] frigate.video ERROR : terrain: Unable to read frames from ffmpeg process.
2024-02-24 20:33:12.910632028 [2024-02-24 20:33:12] frigate.video ERROR : terrain: ffmpeg process is not running. exiting capture thread...
2024-02-24 20:33:13.636966666 [2024-02-24 20:33:13] frigate.video ERROR : cour: Unable to read frames from ffmpeg process.
2024-02-24 20:33:13.636974036 [2024-02-24 20:33:13] frigate.video ERROR : cour: ffmpeg process is not running. exiting capture thread...
@aurelb87-smilorel ,
Merci je vais regarder avec ta config.
Je n’ai pas encore de clef coral. C’est prévu dans les achats quand tout sera deja fonctionnel sans
@Mangles
J’ai 4 Reolink chez moi.
Mais je n’ai rien fait pour les intégrer à HA et pas de frigate non plus.
Je veux bien essayer . Pourrais tu me donner ton docker compose de frigate ?
version: "3.9"
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "256mb" # 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/apex_0:/dev/apex_0 # passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
- /dev/dri/renderD128:/dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /opt/data/frigate:/config
- /mnt/nfs-backup:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000"
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
- 'FRIGATE_RTSP_PASSWORD: ${xxxx}'
- 'LIBVA_DRIVER_NAME=i965'
2024-02-25 19:10:27.708380758 [INFO] Preparing Frigate...
2024-02-25 19:10:27.756098708 [INFO] Starting Frigate...
2024-02-25 19:10:29.821788218 [2024-02-25 19:10:29] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-02-25 19:10:29.902244890 [2024-02-25 19:10:29] peewee_migrate.logs INFO : Starting migrations
2024-02-25 19:10:29.909988679 [2024-02-25 19:10:29] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-25 19:10:29.921305574 [2024-02-25 19:10:29] frigate.app INFO : Recording process started: 291
2024-02-25 19:10:29.926846929 [2024-02-25 19:10:29] frigate.app INFO : go2rtc process pid: 89
2024-02-25 19:10:29.993526298 [2024-02-25 19:10:29] frigate.app INFO : Output process started: 302
2024-02-25 19:10:30.011802499 [2024-02-25 19:10:29] detector.cpu INFO : Starting detection process: 301
2024-02-25 19:10:30.011814126 [2024-02-25 19:10:30] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-25 19:10:30.043606639 [2024-02-25 19:10:30] frigate.app INFO : Camera processor started for cour: 308
2024-02-25 19:10:30.055825250 [2024-02-25 19:10:30] frigate.app INFO : Camera processor started for chemin: 310
2024-02-25 19:10:30.073004058 [2024-02-25 19:10:30] frigate.app INFO : Camera processor started for terrain: 311
2024-02-25 19:10:30.102978143 [2024-02-25 19:10:30] frigate.app INFO : Camera processor started for local: 314
2024-02-25 19:10:30.135175988 [2024-02-25 19:10:30] frigate.app INFO : Capture process started for cour: 317
2024-02-25 19:10:30.157757282 [2024-02-25 19:10:30] frigate.app INFO : Capture process started for chemin: 320
2024-02-25 19:10:30.174171919 [2024-02-25 19:10:30] frigate.app INFO : Capture process started for terrain: 323
2024-02-25 19:10:30.205236166 [2024-02-25 19:10:30] frigate.app INFO : Capture process started for local: 335
2024-02-25 19:10:35.371285424 [2024-02-25 19:10:35] frigate.video ERROR : local: Unable to read frames from ffmpeg process.
2024-02-25 19:10:35.371292555 [2024-02-25 19:10:35] frigate.video ERROR : local: ffmpeg process is not running. exiting capture thread...
2024-02-25 19:10:35.728530143 [2024-02-25 19:10:35] frigate.video ERROR : terrain: Unable to read frames from ffmpeg process.
2024-02-25 19:10:35.728537402 [2024-02-25 19:10:35] frigate.video ERROR : terrain: ffmpeg process is not running. exiting capture thread...
2024-02-25 19:10:35.858987084 [2024-02-25 19:10:35] frigate.video ERROR : chemin: Unable to read frames from ffmpeg process.
2024-02-25 19:10:35.859335985 [2024-02-25 19:10:35] frigate.video ERROR : chemin: ffmpeg process is not running. exiting capture thread...
2024-02-25 19:10:36.623311355 [2024-02-25 19:10:36] frigate.video ERROR : cour: Unable to read frames from ffmpeg process.
2024-02-25 19:10:36.623318417 [2024-02-25 19:10:36] frigate.video ERROR : cour: ffmpeg process is not running. exiting capture thread...
2024-02-25 19:10:50.280025099 [2024-02-25 19:10:50] watchdog.terrain ERROR : Ffmpeg process crashed unexpectedly for terrain.
2024-02-25 19:10:50.280031994 [2024-02-25 19:10:50] watchdog.terrain ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-25 19:10:50.280034480 [2024-02-25 19:10:50] ffmpeg.terrain.detect ERROR : [NULL @ 0x55d72c069380] Unable to find a suitable output format for 'vaapi'
2024-02-25 19:10:50.280041113 [2024-02-25 19:10:50] ffmpeg.terrain.detect ERROR : vaapi: Invalid argument
2024-02-25 19:10:50.311605950 [2024-02-25 19:10:50] ffmpeg.terrain.record ERROR : [NULL @ 0x556ae931b740] Unable to find a suitable output format for 'vaapi'
2024-02-25 19:10:50.311612545 [2024-02-25 19:10:50] ffmpeg.terrain.record ERROR : vaapi: Invalid argument
2024-02-25 19:10:50.311614921 [2024-02-25 19:10:50] watchdog.terrain INFO : Terminating the existing ffmpeg process...
2024-02-25 19:10:50.311616980 [2024-02-25 19:10:50] watchdog.terrain INFO : Waiting for ffmpeg to exit gracefully...
2024-02-25 19:10:50.336951600 [2024-02-25 19:10:50] watchdog.chemin ERROR : Ffmpeg process crashed unexpectedly for chemin.
2024-02-25 19:10:50.336958891 [2024-02-25 19:10:50] watchdog.chemin ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-25 19:10:50.336961357 [2024-02-25 19:10:50] ffmpeg.chemin.detect ERROR : [NULL @ 0x558739b81cc0] Unable to find a suitable output format for 'vaapi'
2024-02-25 19:10:50.336963325 [2024-02-25 19:10:50] ffmpeg.chemin.detect ERROR : vaapi: Invalid argument
2024-02-25 19:18:59.983859708 [INFO] Preparing Frigate...
2024-02-25 19:19:00.048114756 [INFO] Starting Frigate...
2024-02-25 19:19:02.114116518 [2024-02-25 19:19:02] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-02-25 19:19:02.191155010 [2024-02-25 19:19:02] peewee_migrate.logs INFO : Starting migrations
2024-02-25 19:19:02.198979032 [2024-02-25 19:19:02] peewee_migrate.logs INFO : There is nothing to migrate
2024-02-25 19:19:02.210384714 [2024-02-25 19:19:02] frigate.app INFO : Recording process started: 291
2024-02-25 19:19:02.215859767 [2024-02-25 19:19:02] frigate.app INFO : go2rtc process pid: 96
2024-02-25 19:19:02.276430320 [2024-02-25 19:19:02] frigate.app INFO : Output process started: 302
2024-02-25 19:19:02.293464078 [2024-02-25 19:19:02] detector.cpu INFO : Starting detection process: 301
2024-02-25 19:19:02.299649839 [2024-02-25 19:19:02] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-02-25 19:19:02.311828457 [2024-02-25 19:19:02] frigate.app INFO : Camera processor started for cour: 307
2024-02-25 19:19:02.336261547 [2024-02-25 19:19:02] frigate.app INFO : Camera processor started for chemin: 309
2024-02-25 19:19:02.367030713 [2024-02-25 19:19:02] frigate.app INFO : Camera processor started for terrain: 312
2024-02-25 19:19:02.396613558 [2024-02-25 19:19:02] frigate.app INFO : Camera processor started for local: 314
2024-02-25 19:19:02.426157681 [2024-02-25 19:19:02] frigate.app INFO : Capture process started for cour: 317
2024-02-25 19:19:02.451140635 [2024-02-25 19:19:02] frigate.app INFO : Capture process started for chemin: 322
2024-02-25 19:19:02.473590497 [2024-02-25 19:19:02] frigate.app INFO : Capture process started for terrain: 323
2024-02-25 19:19:02.484901848 [2024-02-25 19:19:02] frigate.app INFO : Capture process started for local: 328
Par contre la charge CPU explose( 120%) et je n’ia plus rien qui s’affiche sur la page principale
oula, 4 cams sans coral tpu ? je pense que c’est normal que ton cpu souffre ;). commence par désactiver 2 caméras dans ta config et vis si tu as encore des déco aléatoires
après si tu as toujours des soucis, j’ai pas mal galéré avec une RLC-810A.
je mets ce qui fonctionne pour moi ci-dessous… attention ca pique