frigate: [Support]: ffmpeg memory usage grows until systems crashes
Describe the problem you are having
A couple times a day the ffmpeg process starts using crazy amounts of memory until the system crash/becomes unresponsive/oom kicks in. This is similar to a couple other open issues I saw and all of them seem to suggest “stop using wyze”. I’ve gone down to just my armcrest doorbell camera (AD410) in the config and it’s still happening. This all worked without issues before 0.12.0, wyze included.
Last time when I consoled into the server, ffmpeg process was using 21G of memory(!), causing 100% swap.
Version
0.12.0
Frigate config file
mqtt:
host: mosquitto.home-assistant.svc.cluster.local
topic_prefix: frigate
database:
path: /config/frigate.db
detectors:
cpu1:
type: cpu
birdseye:
enabled: False
go2rtc:
streams:
wyze:
- rtsp://[..]/live
doorbell:
- rtsp://[..]:554/cam/realmonitor?channel=1&subtype=0
doorbell_sub:
- rtsp://[..]:554/cam/realmonitor?channel=1&subtype=1
cameras:
wyze:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://127.0.0.1:8554/wyze
input_args: preset-rtsp-restream
roles:
- detect
- record
detect:
enabled: True
width: 1920
height: 1080
fps: 5
objects:
track:
- person
- dog
snapshots:
enabled: True
timestamp: True
bounding_box: False
crop: False
retain:
default: 10
objects:
person: 15
record:
enabled: True
retain:
days: 0
mode: all
events:
pre_capture: 10
post_capture: 10
retain:
default: 10
mode: all
doorbell:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp://127.0.0.1:8554/doorbell
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/doorbell_sub
roles:
- detect
detect:
enabled: True
width: 720
height: 576
#width: 2560
#height: 1920
fps: 5
motion:
mask:
#substream masks
- 0,576,230,576,173,501,126,450,94,406,0,383
- 517,422,638,265,720,187,720,576,545,576,448,576,352,576
- 720,0,720,257,629,254,500,235,311,249,198,257,0,278,0,0
#4k masks
# - 0,1920,525,1920,831,1920,528,1658,368,1495,163,1349,0,1179
# - 2560,0,2560,900,2186,835,1829,856,1395,766,980,721,607,739,21,840,0,0
# - 2560,1920,1289,1920,2080,1268,2340,772,2560,747,2560,1479
objects:
track:
- person
- dog
- cat
snapshots:
enabled: True
#timestamp: True
bounding_box: False
crop: False
#height: 175
retain:
default: 10
objects:
person: 15
record:
enabled: True
retain:
days: 0
mode: motion
events:
pre_capture: 10
post_capture: 10
retain:
default: 10
mode: motion
Relevant log output
2023-05-27T08:10:23.887734478-04:00 stdout F 2023-05-27 12:10:23.785403730 [2023-05-27 12:10:23] watchdog.doorbell INFO : Waiting for ffmpeg to exit gracefully...
2023-05-27T08:10:23.887731427-04:00 stdout F 2023-05-27 12:10:23.785314242 [2023-05-27 12:10:23] watchdog.doorbell INFO : Terminating the existing ffmpeg process...
2023-05-27T08:10:23.887680037-04:00 stdout F 2023-05-27 12:10:23.776614768 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 499922534, current: 499922534; changing to 499922535. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879584444-04:00 stdout F 2023-05-27 12:10:23.776611984 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 499918387, current: 499918387; changing to 499918388. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879581928-04:00 stdout F 2023-05-27 12:10:23.776443011 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 499902874, current: 499902874; changing to 499902875. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879567486-04:00 stdout F 2023-05-27 12:10:23.740573801 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 495095808, current: 495095808; changing to 495095809. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879565162-04:00 stdout F 2023-05-27 12:10:23.740572137 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 490365082, current: 490365082; changing to 490365083. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.87956262-04:00 stdout F 2023-05-27 12:10:23.740570468 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 490316698, current: 490316698; changing to 490316699. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879555918-04:00 stdout F 2023-05-27 12:10:23.740568778 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 480837734, current: 480837734; changing to 480837735. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879553363-04:00 stdout F 2023-05-27 12:10:23.740567077 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 480751872, current: 480751872; changing to 480751873. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.879537493-04:00 stdout F 2023-05-27 12:10:23.740565404 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 480748032, current: 480748032; changing to 480748033. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878078787-04:00 stdout F 2023-05-27 12:10:23.740563725 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 476079667, current: 476079667; changing to 476079668. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.87807657-04:00 stdout F 2023-05-27 12:10:23.740562043 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 471275520, current: 471275520; changing to 471275521. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.87807427-04:00 stdout F 2023-05-27 12:10:23.740560345 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 471213619, current: 471213619; changing to 471213620. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878071869-04:00 stdout F 2023-05-27 12:10:23.740558670 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 466485504, current: 466485504; changing to 466485505. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878069628-04:00 stdout F 2023-05-27 12:10:23.740556986 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 461775514, current: 461775514; changing to 461775515. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878067219-04:00 stdout F 2023-05-27 12:10:23.740555300 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 461739878, current: 461739878; changing to 461739879. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878059636-04:00 stdout F 2023-05-27 12:10:23.740553625 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 461737728, current: 461737728; changing to 461737729. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878041014-04:00 stdout F 2023-05-27 12:10:23.740552033 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 457022822, current: 457022822; changing to 457022823. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878038661-04:00 stdout F 2023-05-27 12:10:23.740550431 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 456994406, current: 456994406; changing to 456994407. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878034515-04:00 stdout F 2023-05-27 12:10:23.740548767 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 456991334, current: 456991334; changing to 456991335. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878030221-04:00 stdout F 2023-05-27 12:10:23.740547087 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 452235264, current: 452235264; changing to 452235265. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878027961-04:00 stdout F 2023-05-27 12:10:23.740545414 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 452232346, current: 452232346; changing to 452232347. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878023235-04:00 stdout F 2023-05-27 12:10:23.740543749 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 452138342, current: 452138342; changing to 452138343. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878020737-04:00 stdout F 2023-05-27 12:10:23.740542074 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 452115917, current: 452115917; changing to 452115918. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878011455-04:00 stdout F 2023-05-27 12:10:23.740540384 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 437867213, current: 437867213; changing to 437867214. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878009256-04:00 stdout F 2023-05-27 12:10:23.740538694 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 437863219, current: 437863219; changing to 437863220. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878007006-04:00 stdout F 2023-05-27 12:10:23.740537035 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 437837568, current: 437837568; changing to 437837569. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878002722-04:00 stdout F 2023-05-27 12:10:23.740535376 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 433144320, current: 433144320; changing to 433144321. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.878000426-04:00 stdout F 2023-05-27 12:10:23.740533694 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 428374733, current: 428374733; changing to 428374734. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877995485-04:00 stdout F 2023-05-27 12:10:23.740532010 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 428372736, current: 428372736; changing to 428372737. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.87799228-04:00 stdout F 2023-05-27 12:10:23.740530329 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 428332954, current: 428332954; changing to 428332955. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877971952-04:00 stdout F 2023-05-27 12:10:23.740528628 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 428301619, current: 428301619; changing to 428301620. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877962949-04:00 stdout F 2023-05-27 12:10:23.740521867 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 423467366, current: 423467366; changing to 423467367. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877960583-04:00 stdout F 2023-05-27 12:10:23.740520178 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 418752461, current: 418752461; changing to 418752462. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877958132-04:00 stdout F 2023-05-27 12:10:23.740518495 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 414048922, current: 414048922; changing to 414048923. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877955757-04:00 stdout F 2023-05-27 12:10:23.740516687 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 414024653, current: 414024653; changing to 414024654. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877952675-04:00 stdout F 2023-05-27 12:10:23.740500934 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 413952307, current: 413952307; changing to 413952308. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.877923268-04:00 stdout F 2023-05-27 12:10:23.740499272 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409288243, current: 409288243; changing to 409288244. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863211554-04:00 stdout F 2023-05-27 12:10:23.740497817 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409261517, current: 409261517; changing to 409261518. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.86320928-04:00 stdout F 2023-05-27 12:10:23.740496138 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409238630, current: 409238630; changing to 409238631. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863207013-04:00 stdout F 2023-05-27 12:10:23.740494452 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409233869, current: 409233869; changing to 409233870. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863189498-04:00 stdout F 2023-05-27 12:10:23.740492792 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409170893, current: 409170893; changing to 409170894. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863187218-04:00 stdout F 2023-05-27 12:10:23.740491140 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 409159834, current: 409159834; changing to 409159835. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863184746-04:00 stdout F 2023-05-27 12:10:23.740489473 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 404518810, current: 404518810; changing to 404518811. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863178101-04:00 stdout F 2023-05-27 12:10:23.740487784 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 404493158, current: 404493158; changing to 404493159. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863165675-04:00 stdout F 2023-05-27 12:10:23.740486109 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 404485018, current: 404485018; changing to 404485019. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863163401-04:00 stdout F 2023-05-27 12:10:23.740484444 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 404476877, current: 404476877; changing to 404476878. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863161142-04:00 stdout F 2023-05-27 12:10:23.740482800 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 404408218, current: 404408218; changing to 404408219. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.86315874-04:00 stdout F 2023-05-27 12:10:23.740481072 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 399630797, current: 399630797; changing to 399630798. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863156382-04:00 stdout F 2023-05-27 12:10:23.740479409 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 394960896, current: 394960896; changing to 394960897. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863153107-04:00 stdout F 2023-05-27 12:10:23.740477735 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 394928640, current: 394928640; changing to 394928641. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.863125767-04:00 stdout F 2023-05-27 12:10:23.740476053 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 394824960, current: 394824960; changing to 394824961. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852082276-04:00 stdout F 2023-05-27 12:10:23.740474366 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 390174874, current: 390174874; changing to 390174875. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852080074-04:00 stdout F 2023-05-27 12:10:23.740472709 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 390144768, current: 390144768; changing to 390144769. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852077851-04:00 stdout F 2023-05-27 12:10:23.740471045 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 390058906, current: 390058906; changing to 390058907. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.85207551-04:00 stdout F 2023-05-27 12:10:23.740469377 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 390019738, current: 390019738; changing to 390019739. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.8520689-04:00 stdout F 2023-05-27 12:10:23.740467701 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 385355520, current: 385355520; changing to 385355521. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852047682-04:00 stdout F 2023-05-27 12:10:23.740466043 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 385295923, current: 385295923; changing to 385295924. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852044828-04:00 stdout F 2023-05-27 12:10:23.740464362 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 385273190, current: 385273190; changing to 385273191. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852031554-04:00 stdout F 2023-05-27 12:10:23.740446832 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 385251533, current: 385251533; changing to 385251534. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852029256-04:00 stdout F 2023-05-27 12:10:23.740445147 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380612198, current: 380612198; changing to 380612199. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852027055-04:00 stdout F 2023-05-27 12:10:23.740443485 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380591616, current: 380591616; changing to 380591617. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852024648-04:00 stdout F 2023-05-27 12:10:23.740441811 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380583629, current: 380583629; changing to 380583630. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852022097-04:00 stdout F 2023-05-27 12:10:23.740440144 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380569805, current: 380569805; changing to 380569806. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.852019065-04:00 stdout F 2023-05-27 12:10:23.740438454 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380567808, current: 380567808; changing to 380567809. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.851993293-04:00 stdout F 2023-05-27 12:10:23.740436702 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380530944, current: 380530944; changing to 380530945. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.845923159-04:00 stdout F 2023-05-27 12:10:23.740435010 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 380524646, current: 380524646; changing to 380524647. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.84592092-04:00 stdout F 2023-05-27 12:10:23.740433196 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 375847680, current: 375847680; changing to 375847681. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.845918517-04:00 stdout F 2023-05-27 12:10:23.740403519 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 375778714, current: 375778714; changing to 375778715. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.845912407-04:00 stdout F 2023-05-27 12:10:23.740401850 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 375738163, current: 375738163; changing to 375738164. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.84591013-04:00 stdout F 2023-05-27 12:10:23.740400110 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 375728794, current: 375728794; changing to 375728795. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.84590781-04:00 stdout F 2023-05-27 12:10:23.740382194 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 375702067, current: 375702067; changing to 375702068. This may result in incorrect timestamps in the output file.
2023-05-27T08:10:23.845904676-04:00 stdout F 2023-05-27 12:10:23.740380505 [2023-05-27 12:10:23] ffmpeg.doorbell.record ERROR : [segment @ 0x55c493f7d0c0] Non-monotonous DTS in output stream 0:0; previous: 370976256, current: 370976256; changing to 370976257. This may result in incorrect timestamps in the output file.
2023-05-27T
FFprobe output from your camera
[{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"15/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":1920,"width":2560},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}},{"return_code":0,"stderr":"","stdout":{"programs":[],"streams":[{"avg_frame_rate":"15/1","codec_long_name":"H.264/AVC/MPEG-4AVC/MPEG-4part10","height":576,"width":720},{"avg_frame_rate":"0/0","codec_long_name":"AAC(AdvancedAudioCoding)"}]}}]
Frigate stats
{
"cpu_usages": {
"1": {
"cpu": "0.0",
"mem": "0.0"
},
"15": {
"cpu": "0.0",
"mem": "0.0"
},
"17": {
"cpu": "0.0",
"mem": "0.0"
},
"24": {
"cpu": "0.0",
"mem": "0.0"
},
"25": {
"cpu": "0.0",
"mem": "0.0"
},
"26": {
"cpu": "0.0",
"mem": "0.0"
},
"27": {
"cpu": "0.0",
"mem": "0.0"
},
"28": {
"cpu": "0.0",
"mem": "0.0"
},
"29": {
"cpu": "0.0",
"mem": "0.0"
},
"30": {
"cpu": "0.0",
"mem": "0.0"
},
"31": {
"cpu": "0.0",
"mem": "0.0"
},
"32": {
"cpu": "0.0",
"mem": "0.0"
},
"41": {
"cpu": "0.0",
"mem": "0.0"
},
"42": {
"cpu": "0.0",
"mem": "0.0"
},
"78": {
"cpu": "0.0",
"mem": "0.0"
},
"80": {
"cpu": "0.0",
"mem": "0.0"
},
"82": {
"cpu": "0.0",
"mem": "0.0"
},
"101": {
"cpu": "2.7",
"mem": "0.3"
},
"108": {
"cpu": "5.7",
"mem": "3.0"
},
"114": {
"cpu": "0.0",
"mem": "0.2"
},
"115": {
"cpu": "0.0",
"mem": "0.0"
},
"134": {
"cpu": "0.0",
"mem": "0.1"
},
"135": {
"cpu": "0.0",
"mem": "0.1"
},
"136": {
"cpu": "0.0",
"mem": "0.1"
},
"137": {
"cpu": "0.0",
"mem": "0.1"
},
"283": {
"cpu": "0.0",
"mem": "1.0"
},
"289": {
"cpu": "0.0",
"mem": "0.1"
},
"290": {
"cpu": "0.0",
"mem": "1.3"
},
"291": {
"cpu": "0.3",
"mem": "1.2"
},
"294": {
"cpu": "0.7",
"mem": "1.2"
},
"296": {
"cpu": "0.7",
"mem": "1.2"
},
"297": {
"cpu": "0.0",
"mem": "0.2"
},
"298": {
"cpu": "2.3",
"mem": "1.2"
},
"301": {
"cpu": "3.0",
"mem": "0.9"
},
"302": {
"cpu": "0.7",
"mem": "1.1"
},
"306": {
"cpu": "1.3",
"mem": "0.8"
},
"308": {
"cpu": "0.0",
"mem": "0.2"
},
"314": {
"cpu": "1.0",
"mem": "0.4"
},
"1601": {
"cpu": "0.0",
"mem": "0.0"
},
"1632": {
"cpu": "0.0",
"mem": "0.0"
},
"%Cpu(s):": {
"cpu": "id,",
"mem": "0.8"
},
"MiB": {
"cpu": "5435.1",
"mem": "avail"
},
"PID": {
"cpu": "%CPU",
"mem": "%MEM"
},
"Tasks:": {
"cpu": "stopped,",
"mem": "0"
},
"top": {
"cpu": "load",
"mem": "average:"
}
},
"detection_fps": 0,
"detectors": {
"cpu1": {
"detection_start": 0,
"inference_speed": 63.54,
"pid": 290
}
},
"doorbell": {
"camera_fps": 5.1,
"capture_pid": 302,
"detection_enabled": 1,
"detection_fps": 0,
"ffmpeg_pid": 306,
"pid": 296,
"process_fps": 5.1,
"skipped_fps": 0
},
"gpu_usages": {
"intel-vaapi": {
"gpu": "2.24 %",
"mem": "- %"
}
},
"service": {
"last_updated": 1685374038,
"latest_version": "0.12.0",
"storage": {
"/dev/shm": {
"free": 1069.1,
"mount_type": "tmpfs",
"total": 1073.7,
"used": 4.7
},
"/media/frigate/clips": {
"free": 28869.7,
"mount_type": "nfs4",
"total": 32201.8,
"used": 3332.1
},
"/media/frigate/recordings": {
"free": 28869.7,
"mount_type": "nfs4",
"total": 32201.8,
"used": 3332.1
},
"/tmp/cache": {
"free": 8786.1,
"mount_type": "overlay",
"total": 32196.5,
"used": 23410.5
}
},
"temperatures": {},
"uptime": 408,
"version": "0.12.0-da3e197"
},
"wyze": {
"camera_fps": 5,
"capture_pid": 298,
"detection_enabled": 0,
"detection_fps": 0,
"ffmpeg_pid": 301,
"pid": 294,
"process_fps": 5,
"skipped_fps": 0
}
}
Operating system
Other Linux
Install method
Docker Compose
Coral version
CPU (no coral)
Network connection
Wireless
Camera make and model
Armcrest AD410, Wyze v2 RSTP firmware
Any other information that may be helpful
Running on RHEL8 via k3s/kubernetes.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (8 by maintainers)
It is live in the docs https://docs.frigate.video/configuration/advanced#custom-go2rtc-version