Hi Blake, yes sorry I meant HassOS. No problem, I can’t figure it out yet but will keep working on it in the background.
I currently use MotionEye in addition to Frigate to record clips. MotionEye is triggered manually to avoid duplicating any detection processing but I find MotionEye still adds a (hopefully) unnecessary overhead of CPU use. I’d like to move to using Frigate to record clips of all events. I’m happy to manually manage archiving/removal of these for now, but am very excited about you future development in this area!
Unfortunately after some effort today I can’t seem to get any clips to record. Frigate is doing everything else correctly, and I think I have all the required config settings enabled, but no clips appear in the output directory. Could you check if I have done anything wrong? Config and log output below:
web_port: 5000
detectors:
coral:
type: edgetpu
device: 'usb:0'
save_clips:
clips_dir: /media/frigate
cache_dir: /cache
max_seconds: 300
mqtt:
host: addon_core_mosquitto
topic_prefix: frigate
user: *******
password: ******
ffmpeg: {}
cameras:
garage_side:
ffmpeg:
input: 'rtsp://*********@192.168.0.133:554/12'
take_frame: 2
snapshots:
show_timestamp: false
draw_bounding_boxes: true
save_clips:
enabled: true
pre_capture: 30
objects:
- person
objects:
track:
- person
filters:
person:
min_area: 10
max_area: 100000
min_score: 0.5
threshold: 0.8
garage_internal:
ffmpeg:
input: 'rtsp://********@192.168.0.89:554/12'
take_frame: 2
snapshots:
show_timestamp: false
draw_bounding_boxes: true
save_clips:
enabled: true
pre_capture: 30
objects:
- person
objects:
track:
- person
filters:
person:
min_area: 10
max_area: 100000
min_score: 0.5
threshold: 0.8
objects:
track:
- person
filters:
person:
min_area: 10
max_area: 100000
min_score: 0.5
threshold: 0.8
Fontconfig error: Cannot load default config file
ffprobe -v panic -show_error -show_streams -of json "rtsp://********@192.168.0.133:554/12"
Starting detection process: 16
Attempting to load TPU as usb:0
No EdgeTPU detected. Falling back to CPU.
On connect called
{'streams': [{'index': 0, 'codec_name': 'h264', 'codec_long_name': 'unknown', 'codec_type': 'video', 'codec_time_base': '0/2', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'width': 640, 'height': 352, 'coded_width': 640, 'coded_height': 352, 'closed_captions': 0, 'has_b_frames': 0, 'level': -99, 'refs': 1, 'is_avc': 'false', 'nal_length_size': '0', 'r_frame_rate': '90000/1', 'avg_frame_rate': '0/0', 'time_base': '1/90000', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}, {'index': 1, 'codec_name': 'pcm_alaw', 'codec_long_name': 'unknown', 'codec_type': 'audio', 'codec_time_base': '1/8000', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'sample_fmt': 's16', 'sample_rate': '8000', 'channels': 1, 'bits_per_sample': 8, 'r_frame_rate': '0/0', 'avg_frame_rate': '0/0', 'time_base': '1/8000', 'bit_rate': '64000', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}]}
Creating ffmpeg process...
ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://********@192.168.0.133:554/12 -f rawvideo -pix_fmt yuv420p pipe:
ffprobe -v panic -show_error -show_streams -of json "rtsp://********@192.168.0.89:554/12"
{'streams': [{'index': 0, 'codec_name': 'h264', 'codec_long_name': 'unknown', 'codec_type': 'video', 'codec_time_base': '0/2', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'width': 640, 'height': 352, 'coded_width': 640, 'coded_height': 352, 'closed_captions': 0, 'has_b_frames': 0, 'level': -99, 'refs': 1, 'is_avc': 'false', 'nal_length_size': '0', 'r_frame_rate': '90000/1', 'avg_frame_rate': '0/0', 'time_base': '1/90000', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}, {'index': 1, 'codec_name': 'pcm_alaw', 'codec_long_name': 'unknown', 'codec_type': 'audio', 'codec_time_base': '1/8000', 'codec_tag_string': '[0][0][0][0]', 'codec_tag': '0x0000', 'sample_fmt': 's16', 'sample_rate': '8000', 'channels': 1, 'bits_per_sample': 8, 'r_frame_rate': '0/0', 'avg_frame_rate': '0/0', 'time_base': '1/8000', 'bit_rate': '64000', 'disposition': {'default': 0, 'dub': 0, 'original': 0, 'comment': 0, 'lyrics': 0, 'karaoke': 0, 'forced': 0, 'hearing_impaired': 0, 'visual_impaired': 0, 'clean_effects': 0, 'attached_pic': 0, 'timed_thumbnails': 0}}]}
Creating ffmpeg process...
ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://********@192.168.0.89:554/12 -f rawvideo -pix_fmt yuv420p pipe:
Camera_process started for garage_side: 36
Starting process for garage_side: 36Camera_process started for garage_internal: 37
Starting process for garage_internal: 37
* Serving Flask app "detect_objects" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off