Created
April 22, 2021 18:37
-
-
Save peyanski/f47e56656e4fc94c8bc1f1c7ba435d1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
detectors: | |
cpu1: | |
type: cpu | |
mqtt: | |
# Required: host name | |
host: 10.0.0.250 | |
# Optional: port (default: shown below) | |
port: 1883 | |
# Optional: topic prefix (default: shown below) | |
# WARNING: must be unique if you are running multiple instances | |
topic_prefix: frigate | |
# Optional: client id (default: shown below) | |
# WARNING: must be unique if you are running multiple instances | |
client_id: frigate | |
# Optional: user | |
user: SMASH | |
# Optional: password | |
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}. | |
# eg. password: '{FRIGATE_MQTT_PASSWORD}' | |
password: THELIKE | |
# Optional: interval in seconds for publishing stats (default: shown below) | |
stats_interval: 60 | |
cameras: | |
# Name of your camera | |
front_door: | |
ffmpeg: | |
hwaccel_args: | |
- -c:v | |
- h264_v4l2m2m | |
inputs: | |
- path: rtsp://user:[email protected]:554/h264Preview_01_sub | |
roles: | |
- detect | |
- rtmp | |
objects: | |
track: | |
- person | |
- car | |
- truck | |
- bicycle | |
- motorcycle | |
- dog | |
- cat | |
# Optional: save clips configuration | |
clips: | |
# Required: enables clips for the camera (default: shown below) | |
# This value can be set via MQTT and will be updated in startup based on retained value | |
enabled: True | |
# Optional: Number of seconds before the event to include in the clips (default: shown below) | |
pre_capture: 5 | |
# Optional: Number of seconds after the event to include in the clips (default: shown below) | |
post_capture: 5 | |
# Optional: Objects to save clips for. (default: all tracked objects) | |
objects: | |
- person | |
# Optional: Restrict clips to objects that entered any of the listed zones (default: no required zones) | |
required_zones: [] | |
# Optional: Camera override for retention settings (default: global values) | |
retain: | |
# Required: Default retention days (default: shown below) | |
default: 10 | |
# Optional: Per object retention days | |
objects: | |
person: 15 | |
# Optional: Configuration for the jpg snapshots written to the clips directory for each event | |
snapshots: | |
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below) | |
# This value can be set via MQTT and will be updated in startup based on retained value | |
enabled: True | |
# Optional: print a timestamp on the snapshots (default: shown below) | |
timestamp: False | |
# Optional: draw bounding box on the snapshots (default: shown below) | |
bounding_box: False | |
# Optional: crop the snapshot (default: shown below) | |
crop: False | |
# Optional: height to resize the snapshot to (default: original size) | |
height: 175 | |
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones) | |
required_zones: [] | |
# Optional: Camera override for retention settings (default: global values) | |
retain: | |
# Required: Default retention days (default: shown below) | |
default: 10 | |
# Optional: Per object retention days | |
objects: | |
person: 15 | |
width: 640 | |
height: 352 | |
fps: 5 |
Hi,
Really sorry, but I don’t have time to help you right now as I’m in the middle of one very big project. I can suggest to join my Discord server and ask your question there - https://invite.gg/kpeyanski <https://invite.gg/kpeyanski>
See you around,
Kiril Peyanski
https://peyanski.com <https://peyanski.com/>
https://automatelike.pro <https://automatelike.pro/>
https://youtube.com/kpeyanski <https://youtube.com/kpeyanski>
HOME SMART, BUT NOT HARD!
… On 2 Jun 2022, at 10:54, Dvalin21 ***@***.***> wrote:
@Dvalin21 commented on this gist.
Hello,
I currently have one camera, and dont need a lot to get started. However Im not sure why or what Im doing or not doing for every time to get an error and kill command. Getting an error saying that my config.yml is invalid. This is what I have:
mqtt:
host: mqtt.local
cameras:
back:
ffmpeg:
inputs:
- path: ***@***.***:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: ***@***.***:554/cam/realmonitor?channel=1&subtype=1
roles:
- rtmp
- path: ***@***.***:554/live
roles:
- record
detectors:
cpu1:
type: cpu
num_threads: 3
I haven't even got the program to start for the first time yet. Im still trying to start it.
—
Reply to this email directly, view it on GitHub <https://gist.github.com/f47e56656e4fc94c8bc1f1c7ba435d1d#gistcomment-4186949>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABETHJHSRLYU5ORCEV7JUVTVNBSEFANCNFSM5XUCX4LA>.
You are receiving this because you authored the thread.
Thank you for responding and no worries! I actually figured it out. Now I
just need to figure out how to get mosquitto working on my synology nas and
Ill be good to go. Thanks for taking the time out to at least respond. It
does more than you know for those who are trying to learn. Thanks again.
On Thu, Jun 2, 2022 at 6:41 AM Kiril Peyanski ***@***.***>
wrote:
… ***@***.**** commented on this gist.
------------------------------
Hi,
Really sorry, but I don’t have time to help you right now as I’m in the
middle of one very big project. I can suggest to join my Discord server and
ask your question there - https://invite.gg/kpeyanski <
https://invite.gg/kpeyanski>
See you around,
Kiril Peyanski
https://peyanski.com <https://peyanski.com/>
https://automatelike.pro <https://automatelike.pro/>
https://youtube.com/kpeyanski <https://youtube.com/kpeyanski>
HOME SMART, BUT NOT HARD!
> On 2 Jun 2022, at 10:54, Dvalin21 ***@***.***> wrote:
>
> @Dvalin21 commented on this gist.
> Hello,
>
> I currently have one camera, and dont need a lot to get started. However
Im not sure why or what Im doing or not doing for every time to get an
error and kill command. Getting an error saying that my config.yml is
invalid. This is what I have:
>
> mqtt:
> host: mqtt.local
>
> cameras:
> back:
> ffmpeg:
> inputs:
> - path: ***@***.***:554/cam/realmonitor?channel=1&subtype=2
> roles:
> - detect
> - path: ***@***.***:554/cam/realmonitor?channel=1&subtype=1
> roles:
> - rtmp
> - path: ***@***.***:554/live
> roles:
> - record
> detectors:
> cpu1:
> type: cpu
> num_threads: 3
>
> I haven't even got the program to start for the first time yet. Im still
trying to start it.
>
> —
> Reply to this email directly, view it on GitHub <
https://gist.github.com/f47e56656e4fc94c8bc1f1c7ba435d1d#gistcomment-4186949>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ABETHJHSRLYU5ORCEV7JUVTVNBSEFANCNFSM5XUCX4LA
>.
> You are receiving this because you authored the thread.
>
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/f47e56656e4fc94c8bc1f1c7ba435d1d#gistcomment-4187152>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABY7PVL7INANOW6AZHB77WDVNCMXVANCNFSM5XUCX4LA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
Dvalin21 what did you add to your config.yml file to get it to work. I’m having a similar issue. Are config.yml and frigate.yml the same thing?
Dvalin21 what did you add to your config.yml file to get it to work. I’m having a similar issue. Are config.yml and frigate.yml the same thing?
mqtt:
host: ip address
port: 1883
cameras:
front:
ffmpeg:
hwaccel_args:
- -c:v
- h264_v4l2m2m
inputs:
- path: rtsp://username:password@ip address/rtsp
roles:
- detect
rtmp:
enabled: true
detect:
width: 1280
height: 720
record:
enabled: true
detectors:
cpu1:
type: cpu
num_threads: 3
Next step is trying to get mosquito to work on docker.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I currently have one camera, and dont need a lot to get started. However Im not sure why or what Im doing or not doing for every time to get an error and kill command. Getting an error saying that my config.yml is invalid. This is what I have:
mqtt:
host: mqtt.local
cameras:
back:
ffmpeg:
inputs:
- path: rtsp://viewer:{FRIGATE_CAMERA_PASSWORD}@10.0.10.11:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: rtsp://viewer:{FRIGATE_CAMERA_PASSWORD}@10.0.10.11:554/cam/realmonitor?channel=1&subtype=1
roles:
- rtmp
- path: rtsp://viewer:{FRIGATE_CAMERA_PASSWORD}@10.0.10.11:554/live
roles:
- record
detectors:
cpu1:
type: cpu
num_threads: 3
I haven't even got the program to start for the first time yet. Im still trying to start it.