Local realtime person detection for RTSP cameras

it’s one for Blake!

1 Like

are these actually errors or just info? Is anything running?

Your width and height are also not matching what is defined in your config or the other way around :wink:

Output:
displayWidth    : 2560
displayHeight   : 1920
Config:
width: 1280
height: 720

but from the output, it seems to be running now?

I was getting a weird green corrupt image before the RTMP arguments were added, so i ‘think’ the issue is fixed… but if anyone has any idea on what the errors mean in the logs I would be interested!

Im not going to mess about to go back to RTSP to check

Thanks timsavory for your patience

davidvf

your right mate, i was swopping camera’s and rtsp to rtmp to main and sub streams (BOOM my brain has exploded)
I will sort that out now, cheers

Hi thanks again for the development.
Works well as usual.
I just have an issue with, not a small one indeed :slight_smile: , with writing to disk.
Somehow it is not writing to the filesystem.
I checked logging into the docket that i can effectively write in the folder.
What can it be? where can I see some logs?

in there I see some permissions differences:

drwxr-xr-x 4 root root   4096 Dec 15 19:02 .
drwxr-xr-x 1 root root   4096 Dec 15 19:02 ..
drwxr-xr-x 2 1000 1000 188416 Dec 17 18:44 clips
drwxr-xr-x 2 1000 1000   4096 Dec 17 18:47 recordings
root@430233d1fc6f:/media# ls -la         
total 12
drwxr-xr-x 1 root root 4096 Dec 15 19:02 .
drwxr-xr-x 1 root root 4096 Dec 15 19:02 ..
drwxr-xr-x 4 root root 4096 Dec 15 19:02 frigate

Double check your detectors. you are mixing cpu and coral
Please see https://github.com/blakeblackshear/frigate#detectors

Not sure where you are seeing that? I do have a coral usb adapter but thats on my production VM, not this one, have I posted the wrong machine logs? (that would be embarrassing!!!)

Docs do say if coral not detected it fails back to cpu anyway

But thanks you are correct and i will change it

I tested and this does work with my NVR but only using channel0_sub. The B400 and B800 are known to only have the substream accessible.

So far though things have been pretty stable using Neolink to “hack” the main/sub streams from the b800. I do start running into ffmpeg watchdog events shutting things down when I try to use the main stream for clips and the substream for detect and rtmp. As soon as I do that, none of it works. So for now I’m just using the substream for everything and I’ll tackle the dual streams once the new version is out of beta :slight_smile:

1 Like

These aren’t actual errors. All ffmpeg logs come across as ERROR status. It makes sense with the default log level of fatal, but it’s confusing when logging is turned up. There isn’t a good way for me to translate the log level messages from ffmpeg to frigate because ffmpeg doesn’t specify in the logs.

1 Like

Thanks blakeblackshear

I was getting myself confused as well to be honest and making some stupid typo mistakes

This project of yours is excellent and constantly getting updated so it can be a bit hard to jump in half way through but the help from everyone in this thread is great! :smiley:

I already have a prod environment with the non beta version working with 7 camera’s and motion detection etc.

I now have 1 camera working with the integration in test on this beta version but getting late here in UK so will have a go with the 24/7 recording side tomorrow I can hopefully then retire my Motioneye docker:-)

@blakeblackshear Any plans to have snapshots saved to a folder? It would be nice to have them dumped to a folder for easy browsing. Would you mind a request for this?

1 Like

I think there already is a request for this.

1 Like

Doh doh doh.
Please remember to add roles for recording
Doh doh doh

I also have a use case for this – I use frigate as motion detectors as well. For example, when at night I turn lights on if a person walks by, or I literally use it to see where the kids are during the day :slight_smile:

So I would appreciate the detection but I don’t need to record them during the day when we’re home.

2 Likes

Nope still not works! no recroding ;-(

Why is Frigate called Frigate?

Thanks!

Anyone using the HASSIO VM on Synology? Everything is working great except the USB passthrough. I can mount the Coral, but it immediately unmounts it.

A frigate is a bird known for flying far out into the ocean and following large fish in hopes that they will scare small fish into jumping out of the water where they can catch them. When offshore fishing frigate birds are always a sign of tuna, marlin, and other fish being nearby.

8 Likes

@blackhelmet34

I am using the Synology Docker to host Frigate have a look at this post where I explain how to pass through USB. https://github.com/blakeblackshear/frigate/discussions/364

me double dumb user.
If you do not see recordings and r clips
Be sure to have added appropriate roles in general AND camera configuration