[Bug]: Error saving preview every hour at 00 minutes #11778
-
Describe the problem you are havingevery hour show error in log about error saving preview Steps to reproduceno steps Version0.14 beta2 0.14.0-bccffe6 Frigate config filemqtt:
enabled: true
host: 192.168.0.20
port: 1883
user: ----
password: -----
topic_prefix: frigate
auth:
mode: native
# failed_login_rate_limit: "1/second;5/minute;20/hour"
trusted_proxies:
- 172.18.0.0/16 # <---- this is the subnet for the internal docker compose network
- 192.168.0.0/16
logger:
default: info
logs:
frigate.mqtt: error
#ui:
# live_mode: webrtc
# use_experimental: true
# time_format: 24hour
ffmpeg:
# hwaccel_args: preset-vaapi
global_args: -hide_banner -loglevel error -threads 4
# input_args: -avoid_negative_ts make_zero
input_args: preset-rtsp-generic
output_args:
record: preset-record-generic-audio-aac
# record: preset-record-generic-audio-copy
# record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -correct_ts_overflow
# 0 -strftime 1 -c:v copy -c:a aac
detectors:
ov:
type: openvino
device: CPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
motion:
threshold: 100
contour_area: 10
# lightning_threshold: 0.8
detect:
fps: 5
# width: 1920 #stream width
# height: 1080 #stream height
max_disappeared: 25
record:
sync_recordings: true
enabled: true
expire_interval: 720
retain:
days: 2
mode: all
events:
pre_capture: 15 #seconds
post_capture: 15 #seconds
retain:
default: 10
# mode: active_objects
mode: motion
objects:
track:
- person
# filters:
# person:
# min_area: 120000
# max_area: 1440000
# birdseye:
# enabled: true
# mode: motion
snapshots:
enabled: true
clean_copy: true
timestamp: false
bounding_box: true
crop: false
required_zones: []
retain:
default: 10
objects:
person: 15
go2rtc:
# webrtc:
# listen: :8555
# candidates:
# - 192.168.0.20:8555 #ha
# - 192.168.0.53:8555 #nginx proxy
# - 192.168.0.1:8555 #remote
# - 127.0.0.1:8555 #local
# - stun:8555
rtsp:
username: ---
password: ---
streams:
camera_kitchen_hd:
# - tapo://---@[email protected]
- onvif://--:[email protected]:2020
# - rtsp://--:[email protected]:554/stream1
- ffmpeg:camera_kitchen_hd#audio=aac#audio=opus
camera_kitchen_sd:
- rtsp://--:[email protected]:554/stream2
# - "ffmpeg:camera_kitchen_sd#audio=aac#audio=opus"
camera_guest_hd:
# - tapo://---@[email protected]
- onvif://---:[email protected]:2020
# - rtsp://---:[email protected]:554/stream1
- ffmpeg:camera_guest_hd#audio=aac#audio=opus
camera_guest_sd:
- rtsp://---:[email protected]:554/stream2
# - "ffmpeg:camera_guest_sd#audio=aac#audio=opus"
camera_children_hd:
# - tapo://---@[email protected]
- onvif://---:[email protected]:2020
# - rtsp://---:[email protected]:554/stream1
- ffmpeg:camera_children_hd#audio=aac#audio=opus
camera_children_sd:
- rtsp://---:[email protected]:554/stream2
# - "ffmpeg:camera_children_sd#audio=aac#audio=opus"
camera_bedroom_hd:
# - tapo://---@[email protected]
- onvif://---:[email protected]:2020
# - rtsp://---:[email protected]:554/stream1
- ffmpeg:camera_bedroom_hd#audio=aac#audio=opus
camera_bedroom_sd:
- rtsp://---:[email protected]:554/stream2
# - "ffmpeg:camera_bedroom_sd#audio=aac#audio=opus"
cameras:
kitchen:
ffmpeg:
inputs:
- path:
"rtsp://---:[email protected]:8554/camera_kitchen_hd?video&audio=aac"
input_args: preset-rtsp-generic
roles:
- record
- detect
# - path: rtsp://---:[email protected]:8554/camera_kitchen_sd
# input_args: preset-rtsp-generic
# roles:
# - detect
live:
stream_name: camera_kitchen_hd
guest:
ffmpeg:
inputs:
- path:
"rtsp://---:[email protected]:8554/camera_guest_hd?video&audio=aac"
input_args: preset-rtsp-generic
roles:
- record
- detect
# - path: rtsp://---:[email protected]:8554/camera_guest_sd
# input_args: preset-rtsp-generic
# roles:
# - detect
live:
stream_name: camera_guest_hd
motion:
mask:
- 1781,440,2062,591,2111,389,1801,255
children:
ffmpeg:
inputs:
- path:
"rtsp://---:[email protected]:8554/camera_children_hd?video&audio=aac"
input_args: preset-rtsp-generic
roles:
- record
- detect
# - path: rtsp://---:[email protected]:8554/camera_children_sd
# input_args: preset-rtsp-generic
# roles:
# - detect
live:
stream_name: camera_children_hd
motion:
threshold: 50
bedroom:
ffmpeg:
inputs:
- path:
"rtsp://---:[email protected]:8554/camera_bedroom_hd?video&audio=aac"
input_args: preset-rtsp-generic
roles:
- record
- detect
# - path: rtsp://---:[email protected]:8554/camera_bedroom_sd
# input_args: preset-rtsp-generic
# roles:
# - detect
live:
stream_name: camera_bedroom_hd
version: 0.14 Relevant log output2024-06-06 12:26:55.506222416 [INFO] Preparing Frigate...
2024-06-06 12:26:55.541308248 [INFO] Starting Frigate...
2024-06-06 12:26:57.389428188 [2024-06-06 12:26:57] frigate.app INFO : Starting Frigate (0.14.0-bccffe6)
2024-06-06 12:26:57.389498908 [2024-06-06 12:26:57] frigate.util.config INFO : Checking if frigate config needs migration...
2024-06-06 12:26:57.431656307 [2024-06-06 12:26:57] frigate.util.config INFO : frigate config does not need migration...
2024-06-06 12:26:57.601116423 [2024-06-06 12:26:57] frigate.util.services WARNING : Did not detect hwaccel, using a GPU for accelerated video decoding is highly recommended
2024-06-06 12:27:17.001924835 [2024-06-06 12:27:17] peewee_migrate.logs INFO : Starting migrations
2024-06-06 12:27:17.002929372 [2024-06-06 12:27:17] peewee_migrate.logs INFO : There is nothing to migrate
2024-06-06 12:27:17.017140629 [2024-06-06 12:27:17] frigate.app INFO : Recording process started: 478
2024-06-06 12:27:17.021114657 [2024-06-06 12:27:17] frigate.app INFO : Recording process started: 480
2024-06-06 12:27:17.024423594 [2024-06-06 12:27:17] frigate.app INFO : go2rtc process pid: 98
2024-06-06 12:27:17.053710496 [2024-06-06 12:27:17] frigate.app INFO : Output process started: 509
2024-06-06 12:27:17.054318996 [2024-06-06 12:27:17] detector.ov INFO : Starting detection process: 507
2024-06-06 12:27:17.108676622 [2024-06-06 12:27:17] frigate.app INFO : Camera processor started for kitchen: 524
2024-06-06 12:27:17.115088860 [2024-06-06 12:27:17] frigate.app INFO : Camera processor started for guest: 525
2024-06-06 12:27:17.125086418 [2024-06-06 12:27:17] frigate.app INFO : Camera processor started for children: 529
2024-06-06 12:27:17.134239191 [2024-06-06 12:27:17] frigate.app INFO : Camera processor started for bedroom: 532
2024-06-06 12:27:17.142532220 [2024-06-06 12:27:17] frigate.app INFO : Capture process started for kitchen: 539
2024-06-06 12:27:17.150449157 [2024-06-06 12:27:17] frigate.app INFO : Capture process started for guest: 546
2024-06-06 12:27:17.167200179 [2024-06-06 12:27:17] frigate.app INFO : Capture process started for children: 555
2024-06-06 12:27:17.167385373 [2024-06-06 12:27:17] frigate.app INFO : Capture process started for bedroom: 560
2024-06-06 12:27:49.528367531 [2024-06-06 12:27:49] frigate.record.util INFO : Deleting 81837 recordings files with missing DB entries
2024-06-06 13:00:00.281586866 [2024-06-06 13:00:00] frigate.output.preview ERROR : Error saving preview for children :: Input #0, concat, from '/dev/stdin':
2024-06-06 13:00:00.281592099 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 13:00:00.281597379 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 13:00:00.281599583 [vost#0:0/libx264 @ 0x5c2ef3e2dc00] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 13:00:00.281616346 Error opening output file /media/frigate/clips/previews/children/1717664400.171673-1717668000.117887.mp4.
2024-06-06 13:00:00.281618232 Error opening output files: Invalid argument
2024-06-06 13:00:00.281619288
2024-06-06 13:00:00.368594608 [2024-06-06 13:00:00] frigate.output.preview ERROR : Error saving preview for bedroom :: Input #0, concat, from '/dev/stdin':
2024-06-06 13:00:00.368600787 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 13:00:00.368603304 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 13:00:00.368605755 [vost#0:0/libx264 @ 0x64c8d37edc00] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 13:00:00.368607767 Error opening output file /media/frigate/clips/previews/bedroom/1717664400.134778-1717668000.093972.mp4.
2024-06-06 13:00:00.368609682 Error opening output files: Invalid argument
2024-06-06 13:00:00.368611248
2024-06-06 13:00:00.455202384 [2024-06-06 13:00:00] frigate.output.preview ERROR : Error saving preview for guest :: Input #0, concat, from '/dev/stdin':
2024-06-06 13:00:00.455206481 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 13:00:00.455208094 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 13:00:00.455209573 [vost#0:0/libx264 @ 0x6015fe7d38c0] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 13:00:00.455210977 Error opening output file /media/frigate/clips/previews/guest/1717664400.057366-1717668000.13894.mp4.
2024-06-06 13:00:00.455212152 Error opening output files: Invalid argument
2024-06-06 13:00:00.455213142
2024-06-06 13:00:00.491318027 [2024-06-06 13:00:00] frigate.output.preview ERROR : Error saving preview for kitchen :: Input #0, concat, from '/dev/stdin':
2024-06-06 13:00:00.491321699 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 13:00:00.491323398 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 13:00:00.491325113 [vost#0:0/libx264 @ 0x6207a001e6c0] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 13:00:00.491326586 Error opening output file /media/frigate/clips/previews/kitchen/1717664400.106961-1717668000.097148.mp4.
2024-06-06 13:00:00.491327790 Error opening output files: Invalid argument
2024-06-06 13:00:00.491328830
2024-06-06 14:00:00.313909562 [2024-06-06 14:00:00] frigate.output.preview ERROR : Error saving preview for children :: Input #0, concat, from '/dev/stdin':
2024-06-06 14:00:00.313915693 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 14:00:00.313917792 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 14:00:00.313919984 [vost#0:0/libx264 @ 0x59533f2ab000] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 14:00:00.313921921 Error opening output file /media/frigate/clips/previews/children/1717668000.117887-1717671600.045381.mp4.
2024-06-06 14:00:00.313923686 Error opening output files: Invalid argument
2024-06-06 14:00:00.313925091
2024-06-06 14:00:00.352092592 [2024-06-06 14:00:00] frigate.output.preview ERROR : Error saving preview for kitchen :: Input #0, concat, from '/dev/stdin':
2024-06-06 14:00:00.352098134 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 14:00:00.352100604 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 14:00:00.352102829 [vost#0:0/libx264 @ 0x59a9827ff1c0] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 14:00:00.352104770 Error opening output file /media/frigate/clips/previews/kitchen/1717668000.097148-1717671600.084786.mp4.
2024-06-06 14:00:00.352106423 Error opening output files: Invalid argument
2024-06-06 14:00:00.352107688
2024-06-06 14:00:00.410578339 [2024-06-06 14:00:00] frigate.output.preview ERROR : Error saving preview for guest :: Input #0, concat, from '/dev/stdin':
2024-06-06 14:00:00.410583929 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 14:00:00.410586200 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 14:00:00.410588383 [vost#0:0/libx264 @ 0x5ba3f3e79840] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 14:00:00.410590472 Error opening output file /media/frigate/clips/previews/guest/1717668000.13894-1717671600.133956.mp4.
2024-06-06 14:00:00.410592199 Error opening output files: Invalid argument
2024-06-06 14:00:00.410593576
2024-06-06 14:00:00.448206747 [2024-06-06 14:00:00] frigate.output.preview ERROR : Error saving preview for bedroom :: Input #0, concat, from '/dev/stdin':
2024-06-06 14:00:00.448210929 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 14:00:00.448212541 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 14:00:00.448214132 [vost#0:0/libx264 @ 0x60976bdea300] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 14:00:00.448215560 Error opening output file /media/frigate/clips/previews/bedroom/1717668000.093972-1717671600.15928.mp4.
2024-06-06 14:00:00.448216746 Error opening output files: Invalid argument
2024-06-06 14:00:00.448217781
2024-06-06 15:00:00.306790193 [2024-06-06 15:00:00] frigate.output.preview ERROR : Error saving preview for children :: Input #0, concat, from '/dev/stdin':
2024-06-06 15:00:00.306795816 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 15:00:00.306798057 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 15:00:00.306800620 [vost#0:0/libx264 @ 0x5dd2c0c2b640] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 15:00:00.306802821 Error opening output file /media/frigate/clips/previews/children/1717671600.045381-1717675200.039423.mp4.
2024-06-06 15:00:00.306804573 Error opening output files: Invalid argument
2024-06-06 15:00:00.306806064
2024-06-06 15:00:00.348617984 [2024-06-06 15:00:00] frigate.output.preview ERROR : Error saving preview for kitchen :: Input #0, concat, from '/dev/stdin':
2024-06-06 15:00:00.348622071 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 15:00:00.348623675 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 15:00:00.348625301 [vost#0:0/libx264 @ 0x5d3cc967df00] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 15:00:00.348626725 Error opening output file /media/frigate/clips/previews/kitchen/1717671600.084786-1717675200.171217.mp4.
2024-06-06 15:00:00.348627929 Error opening output files: Invalid argument
2024-06-06 15:00:00.348628910
2024-06-06 15:00:00.385395989 [2024-06-06 15:00:00] frigate.output.preview ERROR : Error saving preview for guest :: Input #0, concat, from '/dev/stdin':
2024-06-06 15:00:00.385399995 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 15:00:00.385401693 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 15:00:00.385403282 [vost#0:0/libx264 @ 0x627f6a30e440] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 15:00:00.385404778 Error opening output file /media/frigate/clips/previews/guest/1717671600.133956-1717675200.076663.mp4.
2024-06-06 15:00:00.385405980 Error opening output files: Invalid argument
2024-06-06 15:00:00.385407017
2024-06-06 15:00:00.436330889 [2024-06-06 15:00:00] frigate.output.preview ERROR : Error saving preview for bedroom :: Input #0, concat, from '/dev/stdin':
2024-06-06 15:00:00.436335560 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 15:00:00.436337173 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 15:00:00.436338740 [vost#0:0/libx264 @ 0x64dafb627c40] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 15:00:00.436340111 Error opening output file /media/frigate/clips/previews/bedroom/1717671600.15928-1717675200.175905.mp4.
2024-06-06 15:00:00.436341264 Error opening output files: Invalid argument
2024-06-06 15:00:00.436342297
2024-06-06 16:00:00.274222355 [2024-06-06 16:00:00] frigate.output.preview ERROR : Error saving preview for children :: Input #0, concat, from '/dev/stdin':
2024-06-06 16:00:00.274226615 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 16:00:00.274228323 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 16:00:00.274230046 [vost#0:0/libx264 @ 0x5758ebfbc3c0] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 16:00:00.274231571 Error opening output file /media/frigate/clips/previews/children/1717675200.039423-1717678800.015986.mp4.
2024-06-06 16:00:00.274232780 Error opening output files: Invalid argument
2024-06-06 16:00:00.274233812
2024-06-06 16:00:00.375646193 [2024-06-06 16:00:00] frigate.output.preview ERROR : Error saving preview for kitchen :: Input #0, concat, from '/dev/stdin':
2024-06-06 16:00:00.375650516 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 16:00:00.375652236 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 16:00:00.375653943 [vost#0:0/libx264 @ 0x5b52f0bca140] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 16:00:00.375655418 Error opening output file /media/frigate/clips/previews/kitchen/1717675200.171217-1717678800.092015.mp4.
2024-06-06 16:00:00.375656636 Error opening output files: Invalid argument
2024-06-06 16:00:00.375657655
2024-06-06 16:00:00.443384717 [2024-06-06 16:00:00] frigate.output.preview ERROR : Error saving preview for guest :: Input #0, concat, from '/dev/stdin':
2024-06-06 16:00:00.443389189 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 16:00:00.443390889 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 16:00:00.443392501 [vost#0:0/libx264 @ 0x61e78c324780] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 16:00:00.443393929 Error opening output file /media/frigate/clips/previews/guest/1717675200.076663-1717678800.171955.mp4.
2024-06-06 16:00:00.443395085 Error opening output files: Invalid argument
2024-06-06 16:00:00.443396118
2024-06-06 16:00:00.481596965 [2024-06-06 16:00:00] frigate.output.preview ERROR : Error saving preview for bedroom :: Input #0, concat, from '/dev/stdin':
2024-06-06 16:00:00.481601030 Duration: N/A, start: 0.000000, bitrate: N/A
2024-06-06 16:00:00.481602736 Stream #0:0: Video: webp, yuv420p(tv, bt470bg/unknown/unknown), 320x180, 25 fps, 25 tbr, 25 tbn
2024-06-06 16:00:00.481604352 [vost#0:0/libx264 @ 0x63e4b2f47200] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory.
2024-06-06 16:00:00.481605776 Error opening output file /media/frigate/clips/previews/bedroom/1717675200.175905-1717678800.116575.mp4.
2024-06-06 16:00:00.481606956 Error opening output files: Invalid argument
2024-06-06 16:00:00.481607944 Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modeltapo c110, tapo c210 Any other information that may be helpfulfrigate installed on pve in lxc container |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Jun 6, 2024
Replies: 1 comment
-
This has already been fixed in #11752 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
titovskiy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has already been fixed in #11752