I have just setup frigate and have managed to get snapshots of events working. Have also setup clips but I can’t get any of these to play. I have tried playing from the media folder and also directly through frigate but am getting errors. I am only using snapshot and clips, I am not using frigate to record.
I have tried playing from Android device and also windows pc.
Thank you for the reply. I am trying to use frigate for snapshots and clips only, I don’t want 24/7 recording as I have a hikvision NVR. I just want to setup notifications with frigate. Is this even possible? I seen it set up like this in an online tutorial.
I have added detect and clips to the roles, I have not added record.
The no recordings error may be because I toggled the recording on from the UI to see if it would help with playing the clips.
I’m not sure if the camera is h265, I will need to check when I get home.
Edit:
So I added and enabled record to the config and clips are playing now. Does anyone know if it is possible to have clips working without 24/7 recording?
clips is not a valid role and I definitely recommend referencing the actual docs instead of old tutorials as they are very outdated.
As another user said, you just set record -> retain -> days to 0 and set record -> events -> retain -> default to however long you want to keep event clips stored
I was actually going over the docs earlier today and came across the part that shows this but I didn’t really understand it.
Reading it as you have laid it out it just clicked for me so I will change this.
Thanks again
On a side note, I just added a motion mask and it seems to have stopped the recording functionality but clips are still working. I have removed and readded the mask to confirm that this is the case and it does appear that the recording stops when I add the mask.
I don’t get any log errors and the mask appears correctly in debug view so not sure what is going on there.
I don’t have any issue with storage for the recordings, I just thought it would reduce cpu load. Would recording add significant cpu load or is it more so with object detection?
Please remove - clips from roles, that is not valid anymore
You’ll have to clarify what this means. That config has 24/7 recording disabled so I have no idea what you mean by clips works and recording doesn’t
No, recordings are very light on CPU as they are literally just streaming the camera stream directly into a .mp4 file with no decoding. Video decode, motion detection, and object detection are what use considerable CPU (object detection being the most).
Before adding the mask at the end, 24/7 recording and clips were working, after adding the mask the clips are still working but not recording. If I remove the mask code recording works again.
Not an issue as I will update the code to proper format, I just didn’t get how that happened.
I realise that clips is no longer valid. I will change this.
Thanks for the advice re cpu. I may just have it record 24/7. I have 7 cameras, would this still be minimal load on the cpu.
The reason why i suspect recording on or off doesn’t actually make much difference to cpu is because it’s recording constantly anyway. It needs to record constantly in order to be able to extract the event including the pre_capture buffer before the detection occurs.
Hi @Imygaf
I want to do the same. I have hikvision NVR already which record 24/7.
I want to use Forigate for AI and detection notification only.
would you please explain how you did it.