-
I recently started over, going from the stable-amd64 renaming my existing frigate folder in my mount-folder, and creating a new frigate folder (and media and config) for 0.9.0-rc4-amd64. I used the old config as a starting point, and kept restarting the image/container watching the docker logs, and making config changes along the way until I stopped getting errors. I had to re-do all my masks and zones to support the higher resolution (previous "detect" was at the lower res stream from the camera, and only clips were recorded from the high-res stream). It seems to be working except I am not recording any streams, and therefore, when it indicates there is a clip to view, it doesn't work. There is nothing in my ./recordings folder, and the only thing in the ./clips folder is .png and .jpg files.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Couple things I'm seeing:
The documentation is updated for 0.90+. You can see the release notes to get an idea of what are the break changes from pre-0.90 though. |
Beta Was this translation helpful? Give feedback.
-
In regards to the default settings, they're definitely not required. Even if you only want to override say, There's many settings that can be defined globally (applies to all cameras) or for a specific camera. If you define something both globally and for a specific camera, the camera settings will apply as they override the global settings. That's what's meant by "can be overriden at the camera level". Anything that is defined globally should start with no spaces so it's not nested under anything else (just how YAML works... might be helpful to google a video on YAML if you're unfamiliar with it as it can save a lot of headaches). In your case with one camera, Here's an example of how I would probably set up your config file (realize I removed the default ffmpeg stuff):
You can see I added the
|
Beta Was this translation helpful? Give feedback.
-
Forgot to mention, depending on what type of CPU you have, you really want to enable hardware acceleration if it's an option as this will greatly reduce your CPU usage. This is just specified at the "global" level since it applies to your CPU. However, as I'm sure you already know, you really want to use a Coral Edge TPU which will significantly reduce your CPU usage for object detection. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much... that explanation is hitting home... I have a better understanding of how it works, and will move forward with that. And, it's recording, so I'll be able to adjust it as I go with various parameters, now. |
Beta Was this translation helpful? Give feedback.
In regards to the default settings, they're definitely not required. Even if you only want to override say,
input_args:
for some reason, you would only need to specify those parameter and you can leave outglobal_args:
,hwaccel_args:
andinput_args:
. However, you would have to specify everything you want on theinput_args:
line. In other words, by default it's set toinput_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
, and if you wanted to add another parameter, you would have to list all those out in addition to the new parameter. Otherwise, if you just list the new parameter you want, the rest of th…