frigate: Initial version of role
This commit is contained in:
parent
cb0d0a949d
commit
cb7ca70d16
6 changed files with 139 additions and 0 deletions
20
roles/frigate/templates/frigate.yml.j2
Normal file
20
roles/frigate/templates/frigate.yml.j2
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
mqtt:
|
||||
enabled: false
|
||||
|
||||
cameras:
|
||||
{% for camera in cctv_cameras %}
|
||||
{{ camera.name }}:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: "rtsp://viewer:{{ camera.pass }}@{{ camera.addr}}/h264Preview_01_sub"
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- detect
|
||||
- rtmp
|
||||
- path: "rtsp://viewer:{{ camera.pass }}@{{ camera.addr}}/h264Preview_01_main"
|
||||
input_args: preset-rtsp-restream
|
||||
roles:
|
||||
- record
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue