Frigate sur VM avec Cam Reolink

Mon problème

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.

mqtt:
  host: 192.168.50.12
  port: 1883
  user: xxxx
  password: xxxxxx

ffmpeg:
 hwaccel_args: preset-vaapi

go2rtc:
  streams:
    Cour: 
      - 'ffmpeg:http://192.168.50.64/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxxx'
    Chemin: 
      - 'ffmpeg:http://192.168.50.65/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx'
    Terrain: 
      - 'ffmpeg:http://192.168.50.66/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx'
    Local:
      - 'ffmeg:http://192.168.50.67/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx'

cameras:
  Cour:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Cour
    
          input_args: preset-http-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/Cour
          input_args: preset-http-restream
          roles:
           - record
  Chemin:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Chemin
          input_args: preset-http-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/Chemin
          input_args: preset-http-restream
          roles:
            - record
  Terrain:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Terrain
          input_args: preset-http-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/Terrain
          input_args: preset-http-restream
          roles:
            - record
            
  Local:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Local
          input_args: preset-http-restream
          roles:
            - detect
        - path: rtsp://127.0.0.1:8554/Local
          input_args: preset-http-restream
          roles:
            - record
            


Ici les logs

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

Salut @Mangles

Tu peux simplifier certain bloc, exemple :

Ici, tu n’as qu’un flux :

    Cour: 
      - 'ffmpeg:http://192.168.50.64/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxxx'

Donc la partie caméra, tu peux juste mettre :

  Cour:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Cour    
          input_args: preset-http-restream
          roles:
            - detect
            - record

En plus tu as qqs problèmes d’indentation et au moins une faute de frappe.

Ci-dessous, il manque un « p » à « ffmpeg » :

    Local:
      - 'ffmeg:http://192.168.50.67/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx'

Et dernièrement, j’ai l’impression que tu abuses de majuscule là où il n’y en a pas besoin :wink:

Bref après un peu de ménage, et même si je pense que la conf devra être complétée. Ça devrait ressembler à qqc comme ça :

mqtt:
  host: 192.168.50.12
  port: 1883
  user: xxxx
  password: xxxxxx

ffmpeg:
 hwaccel_args: preset-vaapi

go2rtc:
  streams:
    cour: 
      - "ffmpeg:http://192.168.50.64/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx"
    chemin: 
      - "ffmpeg:http://192.168.50.65/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx"
    terrain: 
      - "ffmpeg:http://192.168.50.66/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx"
    local:
      - "ffmpeg:http://192.168.50.67/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxx"

cameras:
  cour:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/cour
          input_args: preset-rtsp-restream  
          roles:
            - detect
            - record
  chemin:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/chemin
          input_args: preset-rtsp-restream
          roles:
            - detect
            - record
  terrain:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/terrain
          input_args: preset-rtsp-restream
          roles:
            - detect
            - record
            
  local:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/local
          input_args: preset-rtsp-restream
          roles:
            - detect
            - record

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...

As-tu les logs côté go2rtc ?

Voici coté go2RTC,
C’est assez vide…

2024-02-24 21:09:38.755670700  [INFO] Preparing new go2rtc config...
2024-02-24 21:09:39.254047928  [INFO] Starting go2rtc...
2024-02-24 21:09:39.382423617  21:09:39.379 INF go2rtc version 1.8.4 linux/amd64
2024-02-24 21:09:39.382430176  21:09:39.380 INF [rtsp] listen addr=:8554
2024-02-24 21:09:39.382436629  21:09:39.381 INF [webrtc] listen addr=:8555
2024-02-24 21:09:39.384505455  21:09:39.384 INF [api] listen addr=:1984
2024-02-24 21:09:48.754343009  [INFO] Starting go2rtc healthcheck service...

As-tu vérifié que sur tes caméras le flux http est bien activé ?

Oui c’est bien le cas

Juste pour préciser,
Si je vais ici, en selectionnant mse ou webrtc je visualise les images.
Sur la page principale ce n’est pas le cas

Là, il faudrait l’aide de quelqu’un qui possède ce modèle de caméra, pour pouvoir comparer vos confs.

Je vois dans pas mal de posts sur le net, que les RLC-410 ne sont pas très dociles avec Figate :confused:

Faudrait peut-être ajouter le modèle dans le titre de ton message ?

Bonjour @Mangles,

J’utilise aussi PROXMOX et j’ai FRIGATE en VM avec l’utilisation d’une clé CORAL. J’utilise aussi 2 caméras REOLINK.

Je n’utilise pas GO2RTC et j’utilise RTSP.

Voici ma config:

> ffmpeg:
>   global_args: -hide_banner -loglevel warning
>   output_args:
>     record: preset-record-generic-audio-aac
> 
> cameras:
>   NOM_CAMERA:
>     ffmpeg:
>       inputs:
>         - path: rtsp://USER:MDP@ADRESSE_IP_FRIGATE:554/h264Preview_01_sub
>           roles:
>             - detect
>         - path: rtsp://USER:MDP@ADRESSE_IP_FRIGATE:554/h264Preview_01_main
>           roles:
>             - record
>     objects:
>       track:
>         - person
>     record:
>       enabled: True
>     detect:
>       enabled: True
>       width: 1920
>       height: 1080
>       fps: 5

@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 :wink:

@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 ?

Ps : mon HA est une VM HAOS.

PPS : mes caméras sont :

  • une RLC-420-5MP
  • deux RLC-520
  • une RLC-510A

@MilesTEG1 , je t’envoie ca ce soir. Pas à la maison ce début d’après midi

@MilesTEG1

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'

@aurelb87-smilorel
J’ai utilisé ton paramétrage, il y a du mieux, ce n’est pas encore parfait :


Les caméras s’affiche ici de manière aléatoires…

Une chose m’interpelle et peut expliquer certaines choses sans doute :

Je pense que j’ai un problème sur ce paramétrage qui ne doit pas aider ? sur la partie GPU et on voit que le cpu est par conséquent à la ramasse

As-tu quelque chose de particulier dans les logs ?

Qu’as-tu en valeur de FPS pour tes caméras ?

1 « J'aime »

Alors j’ai rajouter dans la config

ffmpeg:
  hwaccel_args: 
    - vaapi  

dans les log ca donne ca

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

Si je désactive les log deviennent plus propre :

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

Dans cette config (sans acceleration graph) en ne laissant qu’une caméra j’arrive a avoir un fonctionnement correct,avec une charge cpu à 60%

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 :wink:

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 :smiley:

ffmpeg:http://x.x.x.x/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=xxxxxxxx#video=copy#raw=-avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rw_timeout 5000000 -use_wallclock_as_timestamps 1"

avec ça chez moi ça fonctionne presque bien. j’ai de temps en temps une saccade mais c’est très minim.