I’ve got a couple esp32cams and am hoping to use them as really basic security cameras.
After giving up on motioneye (as here), I’ve been trying to get Frigate up and running.
It’s installed and connected to a camera, but I’m really stuggling with configuring anything else using it’s yml.
Once a person’s detected, it’s taking a few still images OK, with a timestamp added.
Recording a video has me baffled though.
I currently get a video with no timestamp, of a period thats after the persons detected and left the frame.
Can anyone see what I’m doing wrong please?
mqtt:
enabled: True
host: 192.168.5.5
user: mqtt
password: mqtt
detectors:
cpu0:
type: cpu
cpu1:
type: cpu
cpu2:
type: cpu
cpu3:
type: cpu
cameras:
ESPCamGarden:
ffmpeg:
input_args: ""
inputs:
- path: http://192.168.5.10:8080
roles:
- detect
- record
record:
enabled: True
retain:
days: 7
mode: active_objects
# timestamp: True
events:
pre_capture: 5
post_capture: 5
retain:
default: 10
mode: active_objects
objects:
person: 15
# timestamp: True
detect:
enabled: True
width: 1920
height: 1080
fps: 5
# timestamp: True
objects:
track:
- person
- bird
- cat
- cup
snapshots:
enabled: True
clean_copy: False
timestamp: True
bounding_box: False
crop: False
retain:
default: 7
mode: active_objects
quality: 100
motion:
threshold: 30
lightning_threshold: 0.8
improve_contrast: True
# timestamp: True
live:
stream_name: camera_name
height: 1080
quality: 10
# timestamp: True
timestamp_style:
position: "tl"
format: "%m/%d/%Y %H:%M:%S"
color:
red: 255
green: 255
blue: 255
thickness: 2
effect: shadow
Also, the video thats recorded doesn’t show within the event in Frigate, instead it shows The media could not be loaded, either because the server or network failed or because the format is not supported.
.
The video file has been stored and can be played with VLC OK.