Hi all.
I don’t seem unable to save clips. In the “media/clips” directory I just see snapshot png/jpgs. But no videos.
I am running Frigate in a container on my NAS using a Coral USB
I think I have enabled the role for clips?
Any Ideas?
config.yml
mqtt:
host: <MQTT server on the HA Sever>
topic_prefix: frigate
client_id: frigate
user: <USER>
password: <PASSWORD>
stats_interval: 60
logger:
default: debug
detectors:
coral:
type: edgetpu
device: usb
clips:
enabled: True
pre_capture: 5
post_capture: 5
objects:
- person
- cat
- dog
cameras:
back:
#save_clips:
# enabled: true
# pre_capture: 10
ffmpeg:
inputs:
- path: rtsp://viewer:<PASSWORD>@<CAMIP>:554/Streaming/Channels/1
roles:
- detect
- rtmp
- clips
- record
objects:
track:
- person
- car
- dog
- cat
- bird
clips:
enabled: True
pre_capture: 5
post_capture: 5
objects:
- person
- cat
- dog
retain:
default: 10
objects:
person: 15
dog: 15
cat: 15
snapshots:
enabled: True
timestamp: True
bounding_box: False
crop: False
required_zones: []
retain:
default: 10
objects:
person: 15
dog: 15
cat: 15
bird: 2
width: 2688
height: 1520
fps: 20
Possible relevant debug?
[2021-07-12 11:46:15] frigate.events ERROR : ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libfreetype --enable-libvidstab --enable-libmfx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-vaapi --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x565091caa500] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x565091caa500] moov atom not found
[concat @ 0x565091ca8740] Impossible to open 'pipe:/tmp/cache/back-20210712114542.mp4'
pipe:: Invalid data found when processing input
[2021-07-12 11:46:15] peewee.sqliteq DEBUG : received query INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?)
[2021-07-12 11:46:15] peewee DEBUG : ('INSERT INTO "event" ("id", "label", "camera", "start_time", "end_time", "top_score", "false_positive", "zones", "thumbnail", "has_clip", "has_snapshot") VALUES (?, ?, ?, ?, ?, ?, ?, json(?), ?, ?, ?)', ['1626086755.710832-p6iufx', 'person', 'back', 1626086755.710832, 1626086764.66152, 0.8046875, False, '[]', '****************** LOTS of DATA************=', False, True])
[2021-07-12 11:46:15] frigate.events DEBUG : Event received: end back 1626086755.930308-qzich6
[2021-07-12 11:46:15] frigate.events DEBUG : Event received: start back 1626086771.795203-qsbmar
[2021-07-12 11:46:15] frigate.events DEBUG : Cleaning up cached file back-20210712114422.mp4
[2021-07-12 11:46:15] frigate.events DEBUG : Cleaning up cached file back-20210712114432.mp4
[2021-07-12 11:46:15] frigate.mqtt DEBUG : Received mqtt message on frigate/back/person.
[2021-07-12 11:46:15] frigate.mqtt DEBUG : Received mqtt message on frigate/back/person/snapshot.