[Support]: "No frames have been received" error even when restream is working #15879
-
Checklist
Describe the problem you are havingFrom time to time, some of my cameras, (sometimes all) show the "No frames have been received" message in the preview, but their re-stream is working, externally and on Frigate itself. When it happens, a frigate restart does not always fix the problem, I have to restart it several times until it is fixed. Then It stays working for some days/weeks and some day it happens again. Steps to reproduceDo not know what triggers it, but see the start up logs, there are some Python errors there. Version0.14.1-f4f3cfa In which browser(s) are you experiencing the issue with?All Frigate config file# yaml-language-server: $schema=http://frigate:5001/api/config/schema.json
mqtt:
host: homeassistant
user: mosquitto_broker
password: '{FRIGATE_MOSQUITO_PASSWORD}'
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
# Required: type of the detector
# Valid values are 'edgetpu' (requires device property below) and 'cpu'.
type: edgetpu
# Optional: device name as defined here: https://coral.ai/docs/edgetpu/multiple-edgetpu/#using-the-tensorflow-lite-python-api
device: usb
# Optional: num_threads value passed to the tflite.Interpreter (default: shown below)
# This value is only used for CPU types
# num_threads: 3
go2rtc:
streams:
dana:
- '{FRIGATE_CAMERA_DANA_PATH}'
- tapo://{FRIGATE_TAPO_CLOUD_PASSWORD}@dana-cam.fritz.box
- ffmpeg:dana#audio=aac
ian:
- ffmpeg:{FRIGATE_CAMERA_IAN_PATH}
- tapo://{FRIGATE_TAPO_CLOUD_PASSWORD}@ian-cam.fritz.box
- ffmpeg:ian#audio=aac
sala:
- '{FRIGATE_CAMERA_SALA_PATH}'
- tapo://{FRIGATE_TAPO_CLOUD_PASSWORD}@sala-cam.fritz.box
- ffmpeg:sala#audio=aac
hobbyraum:
- '{FRIGATE_CAMERA_HOBBYRAUM_PATH}'
- tapo://{FRIGATE_TAPO_CLOUD_PASSWORD}@hobbyraum-cam.fritz.box
- ffmpeg:hobbyraum#audio=aac
dana_panoramica:
- '{FRIGATE_CAMERA_DANA_PANORAMICA_PATH}'
- tapo://{FRIGATE_TAPO_CLOUD_PASSWORD}@dana-panoramica-cam.fritz.box
- ffmpeg:dana_panoramica#audio=aac
camera_printer:
- '{FRIGATE_PRINTER_CAMERA_PATH}'
- ffmpeg:camera_printer#audio=aac
webrtc:
candidates:
## This is the device running frigate
- frigate.fritz.box:8555
- stun:8555
cameras:
dana: # <------ Name the camera
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/dana
input_args: preset-rtsp-restream
roles:
- record
- detect
record:
enabled: true
retain:
days: 7
mode: motion
detect:
enabled: false
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
motion:
threshold: 25 # Default 25
contour_area: 15 # Default 30
delta_alpha: 0.2 # default 0.2
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
frame_alpha: 0.2 # default 0.2
frame_height: 50 # default 50
# NOTE: see docs for more detailed info on creating masks
mask:
# Camara encima de la cabeza
- 0,0,1050,0,631,0,754,0,750,67,763,1080,1414,1080,1657,0,1920,0,1920,402,1920,1080,0,1080
improve_contrast: false
mqtt_off_delay: 3 # 30
snapshots:
enabled: false
bounding_box: true
# retain:
# default: 14
ian: # <------ Name the camera
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/ian
roles:
- record
- detect
record:
enabled: true
retain:
days: 7
mode: motion
detect:
enabled: false
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
motion:
threshold: 25 # Default 25
contour_area: 15 # Default 30
delta_alpha: 0.2 # default 0.2
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
frame_alpha: 0.2 # default 0.2
frame_height: 50 # default 50
mask:
- 0,0,623,0,624,62,0,70 # Ignore time
improve_contrast: false
mqtt_off_delay: 3 # 30
snapshots:
enabled: false
bounding_box: true
sala: # <------ Name the camera
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/sala
input_args: preset-rtsp-restream
roles:
- record
- detect
record:
enabled: true
retain:
days: 7
mode: motion
detect:
enabled: false
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
motion:
threshold: 25 # Default 25
contour_area: 15 # Default 30
delta_alpha: 0.2 # default 0.2
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
frame_alpha: 0.2 # default 0.2
frame_height: 50 # default 50
mask:
- 0,0,623,0,624,62,0,70 # Ignore time
improve_contrast: false
# Optional: Delay when updating camera motion through MQTT from ON -> OFF (default: shown below).
mqtt_off_delay: 1 # 30
snapshots:
enabled: false
bounding_box: true
# retain:
# default: 14
hobbyraum: # <------ Name the camera
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
# NOTE: path may include environment variables, which must begin with 'FRIGATE_' and be referenced in {}
- path: rtsp://127.0.0.1:8554/hobbyraum
input_args: preset-rtsp-restream
roles:
- record
- detect
record:
enabled: true
retain:
days: 7
mode: motion
detect:
enabled: false
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
motion:
threshold: 25 # Default 25
contour_area: 15 # Default 30
delta_alpha: 0.2 # default 0.2
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
frame_alpha: 0.2 # default 0.2
frame_height: 50 # default 50
mask:
- 0,0,623,0,624,62,0,70 # Ignore time
improve_contrast: false
mqtt_off_delay: 1 # 30
snapshots:
enabled: false
bounding_box: true
# retain:
# default: 14
dana_panoramica: # <------ Name the camera
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/dana_panoramica
roles:
- record
- detect
record:
enabled: true
retain:
days: 7
mode: motion
detect:
enabled: false
width: 1920 # <---- update for your camera's resolution
height: 1080 # <---- update for your camera's resolution
motion:
threshold: 25 # Default 25
contour_area: 15 # Default 30
delta_alpha: 0.2 # default 0.2
# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/
frame_alpha: 0.2 # default 0.2
frame_height: 50 # default 50
mask:
- 0,0,623,0,624,62,0,70 # Ignore time
improve_contrast: false
mqtt_off_delay: 3 # 30
snapshots:
enabled: false
bounding_box: true
version: 0.14 docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
restart: unless-stopped
# To allow iGPU stats, needs system changes... maybe not needed https://docs.frigate.video/configuration/hardware_acceleration/#cap_perfmon
cap_add:
- CAP_PERFMON
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "180mb" # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # passes the USB Coral, needs to be modified for other versions
# - /dev/apex_0:/dev/apex_0 # passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
#- /dev/bus/usb:/dev/bus/usb
- /etc/localtime:/etc/localtime:ro
- /srv/stack/frigate/config:/config
- /mnt/nas-one-frigate-data/:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- 5001:5000 # MAC devices use port 5000 for AirPlay Receiver https://stackoverflow.com/a/69829313/1255819
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
- FRIGATE_MOSQUITO_PASSWORD=${FRIGATE_MOSQUITO_PASSWORD}
- FRIGATE_CAMERA_DANA_PATH=${FRIGATE_CAMERA_DANA_PATH}
- FRIGATE_CAMERA_IAN_PATH=${FRIGATE_CAMERA_IAN_PATH}
- FRIGATE_CAMERA_SALA_PATH=${FRIGATE_CAMERA_SALA_PATH}
- FRIGATE_CAMERA_HOBBYRAUM_PATH=${FRIGATE_CAMERA_HOBBYRAUM_PATH}
- FRIGATE_CAMERA_DANA_PANORAMICA_PATH=${FRIGATE_CAMERA_DANA_PANORAMICA_PATH} Relevant Frigate log output2025-01-07 19:25:51.370722924 [INFO] Preparing Frigate...
2025-01-07 19:25:51.437067634 [INFO] Starting Frigate...
2025-01-07 19:25:53.003554811 [2025-01-07 19:25:53] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2025-01-07 19:25:53.031619898 [2025-01-07 19:25:53] frigate.util.config INFO : Checking if frigate config needs migration...
2025-01-07 19:25:53.085907661 [2025-01-07 19:25:53] frigate.util.config INFO : frigate config does not need migration...
2025-01-07 19:25:53.152676546 [2025-01-07 19:25:53] peewee_migrate.logs INFO : Starting migrations
2025-01-07 19:25:53.152986576 [2025-01-07 19:25:53] peewee_migrate.logs INFO : There is nothing to migrate
2025-01-07 19:25:53.204904326 [2025-01-07 19:25:53] frigate.app INFO : Recording process started: 336
2025-01-07 19:25:53.210933145 [2025-01-07 19:25:53] frigate.app INFO : Recording process started: 345
2025-01-07 19:25:53.213905861 [2025-01-07 19:25:53] frigate.app INFO : go2rtc process pid: 97
2025-01-07 19:25:53.262431202 [2025-01-07 19:25:53] frigate.app INFO : Output process started: 370
2025-01-07 19:25:53.272743322 [2025-01-07 19:25:53] detector.coral INFO : Starting detection process: 367
2025-01-07 19:25:53.291175234 [2025-01-07 19:25:53] frigate.comms.dispatcher INFO : Turning on detection for dana_panoramica
2025-01-07 19:25:53.361227969 [2025-01-07 19:25:53] frigate.app INFO : Camera processor started for dana: 393
2025-01-07 19:25:53.368259916 [2025-01-07 19:25:53] frigate.app INFO : Camera processor started for ian: 394
2025-01-07 19:25:53.375226558 [2025-01-07 19:25:53] frigate.app INFO : Camera processor started for sala: 400
2025-01-07 19:25:53.382685136 [2025-01-07 19:25:53] frigate.app INFO : Camera processor started for hobbyraum: 403
2025-01-07 19:25:53.403936154 [2025-01-07 19:25:53] frigate.app INFO : Camera processor started for dana_panoramica: 416
2025-01-07 19:25:53.413245037 [2025-01-07 19:25:53] frigate.app INFO : Capture process started for dana: 419
2025-01-07 19:25:53.420816542 [2025-01-07 19:25:53] frigate.app INFO : Capture process started for ian: 425
2025-01-07 19:25:53.427882197 [2025-01-07 19:25:53] frigate.app INFO : Capture process started for sala: 429
2025-01-07 19:25:53.435003812 [2025-01-07 19:25:53] frigate.app INFO : Capture process started for hobbyraum: 435
2025-01-07 19:25:53.442672508 [2025-01-07 19:25:53] frigate.app INFO : Capture process started for dana_panoramica: 440
2025-01-07 19:25:55.933917993 [2025-01-07 19:25:53] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-01-07 19:25:55.938817000 [2025-01-07 19:25:55] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-01-07 19:25:56.569393053 [2025-01-07 19:25:56] frigate.util.services ERROR : Unable to poll intel GPU stats: Failed to initialize PMU! (Permission denied)
2025-01-07 19:33:24.629931 2025-01-07 19:25:56.569397898
2025-01-07 19:25:58.417558372 Fatal Python error: Bus error
2025-01-07 19:33:24.629942 2025-01-07 19:25:58.417562389
2025-01-07 19:25:58.417564028 Thread 0x000074785dffb6c0 (most recent call first):
2025-01-07 19:25:58.417565466 File "/usr/lib/pytFatal Python error: hoBus errorn
2025-01-07 19:33:24.629946 2025-01-07 19:25:58.417567451
2025-01-07 19:25:58.417568795 3.Thread 0x9/000074785dffb6c0t (most recent call first):
2025-01-07 19:25:58.417572734 hr File e"a/duisnrg/.lpiyb"/p, line y312t in howna3i.t9
2025-01-07 19:25:58.417588015 /t File h"r/euasdri/nlgi.bp/yp"yt, line h312o in n3w.a9i/tm
2025-01-07 19:25:58.417589820 ul File t"i/pursorc/elsisbi/npgy/tqhuoenu3e.s9./pmyu"l, line t233i in p_rfoeceeds
2025-01-07 19:25:58.417591714 s File i"n/gu/sqru/eluib/python3.9/threading.py", line 892 in run
2025-01-07 19:25:58.417593192 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:25:58.417594456 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:19.141127 2025-01-07 19:25:58.417613145
2025-01-07 19:25:58.417614670 Current thread 0x000074785d7fa6c0 (most recent call first):
2025-01-07 19:25:58.417616033 File "/opt/frigate/frigate/video.py", line 119 in capture_frames
2025-01-07 19:25:58.417629908 File "/opt/frigate/frigate/video.py", line 346 in run
2025-01-07 19:25:58.417631427 File "/usr/lib/python3.9e/st.hprye"ad, line i233n in g._pfye"e, line d954
2025-01-07 19:25:58.417632710 in _ File b"o/outssrt/rlaipb_/ipnyntehro
2025-01-07 19:25:58.417634008 n File 3"./9u/strh/rleiabd/ipnygt.hpoyn3"., line 9892/ in thrruena
2025-01-07 19:25:58.417635294 di File n"g/.upsyr"/, line l912i in b_/bpoyotthsotnr3a.p9
2025-01-07 19:25:58.417636395 /
2025-01-07 19:25:58.417637614 tThread 0xh000074785cff96c0r (most recent call first):
2025-01-07 19:25:58.417638934 e File a"d/ionpgt./pfyr"ig, line a954t in e/_fbroiogtastter/avpi_dienon.epry
2025-01-07 19:25:58.417650866 " File , line 194" in /ruusnr
2025-01-07 19:25:58.417652447 / File l"i/bu/spry/tlhiobn/3p.y9t/htohnr3e.a9d/itnhgr.epayd"i, line n912g in .p_yb"o, line o954t in s_tbroaopt
2025-01-07 19:25:58.417653431 st
2025-01-07 19:25:58.417654646 rCurrent thread 0xa000074785d7fa6c0p (most recent call first):
2025-01-07 19:25:58.417655860 _i File n"n/eorp
2025-01-07 19:25:58.417657335 t File /"f/ruisgra/tlei/bf/rpiygtahtoen/3v.i9d/etoh.rpeya"di, line n119g in .cpayp"t, line u912r in e__bforoatmsetsr
2025-01-07 19:25:58.417658374 ap File
2025-01-07 19:25:58.417659382 "
2025-01-07 19:25:58.417660579 /Thread 0xo0000747857d076c0p (most recent call first):
2025-01-07 19:25:58.417677861 t/ File f"r/iogpatt/ef/rfirgiagtaet/ef/rviigdaetoe./plyo"g., line p346y in "r, line u95n in
2025-01-07 19:25:58.417679028 r File u"n/
2025-01-07 19:25:58.417680575 usr/l File i"b//upsyrt/hloinb3/.p9y/tthhorne3a.d9i/ntgh.rpeya"d, line i954n in g_.bpoyo"t, line s954t in r_abpo_oitnsnterra
2025-01-07 19:25:58.417681631 p File _"i/nunserr/
2025-01-07 19:25:58.417683246 l File i"b//upsyrt/hloinb3/.p9y/tthhorne3a.d9i/ntgh.rpeya"d, line i912n in g_.bpoyo"t, line s912t in r_abpo
2025-01-07 19:25:58.417684237 o
2025-01-07 19:25:58.417685449 tThread 0xst000074785cff96c0r (most recent call first):
2025-01-07 19:25:58.417686480 ap File
2025-01-07 19:25:58.417687479 "
2025-01-07 19:25:58.417688684 /Thread 0xo00007478b3683740p (most recent call first):
2025-01-07 19:25:58.417690087 t File /"f/ruisgra/tlei/bf/rpiygtahtoen/3v.i9d/etoh.rpeya"di, line n194g in .rpuyn"
2025-01-07 19:25:58.417691365 , line File 1049" in /_uwsari/tl_ifbo/rp_yttshtoant3e._9l/otchkr
2025-01-07 19:25:58.417692657 e File a"d/iunsgr./plyi"b, line /954p in y_tbhooont3s.t9r/atph_rienandeirn
2025-01-07 19:25:58.417693816 g File ."p/yu"s, line r1033/ in ljiobi/np
2025-01-07 19:25:58.417695302 y File t"h/oonp3t./9f/rtihgraetaed/ifnrgi.gpayt"e, line /912v in i_dbeooo.tpsyt"r, line a383p in
2025-01-07 19:25:58.417714574 c
2025-01-07 19:25:58.417715913 aThread 0xp0000747857d076c0t (most recent call first):
2025-01-07 19:25:58.417717027 ur File e"_/coapmte/rfar
2025-01-07 19:25:58.417718275 i File g"a/tues/rf/rliigba/tpey/tlhoogn.3p.y9"/m, line u95l in triupnr
2025-01-07 19:25:58.417719442 ocessing/process.py", line 108 in run
2025-01-07 19:25:58.417720765 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
2025-01-07 19:25:58.417722371 File "/usr/lib File /"p/yutshro/nl3i.b9//pmyutlhtoinp3r.o9c/etshsrienagd/ipnogp.epny_"f, line o954r in k_.bpoyo"t, line s71t in r_alpa_uinncnh
2025-01-07 19:25:58.417723609 File "/usre/rl
2025-01-07 19:25:58.417725132 i File b"//puystrh/olni3b./9p/ymtuhlotni3p.r9o/ctehsrseiandgi/npgo.ppeyn"_, line f912o in r_kb.opoyt"s, line t19r in a_p_
2025-01-07 19:25:58.417726095 i
2025-01-07 19:25:58.417727282 nThread 0xi00007478b3683740t (most recent call first):
2025-01-07 19:25:58.417728268 __ File
2025-01-07 19:25:58.417729745 "/u File s"r//ulsirb//lpiybt/hpoynt3h.o9n/3t.h9r/emaudlitnigp.rpocessing/context.py", line 277 in _Popeyn"
2025-01-07 19:25:58.417731028 , line File 1049" in /_uwsari/tl_ifbo/rpython3.9_/tmsutlattiep_rloocceks
2025-01-07 19:25:58.417750062 si File n"g//ucsorn/tleixbt/.ppyyt"h, line o224n in 3_.P9o/ptehnr
2025-01-07 19:25:58.417751475 e File a"d/iunsgr./plyi"b, line /1033p in ytjhooinn3
2025-01-07 19:25:58.417752755 . File 9/"m/uolptti/pfrroicgeastsei/nfgr/process.py", line 121 in start
2025-01-07 19:25:58.417754188 File "/opt/frigiagtaet/ef/rviigdaetoe./payp"p, line .383p in y"c, line a520p in tsutraer_tc_acmaemrear
2025-01-07 19:25:58.417755325 a File _c"a/putsurr/el_ipbr/opcyetshsoens3
2025-01-07 19:25:58.417756749 .9/multi File p"/opt/frriogcaetses/ifnrgi/gpartoec/easpsp..ppyy"", line , line 108696 in in rsutna
2025-01-07 19:25:58.417757718 rt
2025-01-07 19:25:58.417759318 File File ""//uosprt//lfirbi/gpaytteh/forni3g.a9t/em/u_l_tmiapirno_c_e.spsyi"n, line g17/ in p<rmoocdeuslse.>
2025-01-07 19:25:58.417760492 py", line 315 File in "_/buosort/sltirba/ppy
2025-01-07 19:25:58.417761697 thon3. File 9"//ruusnrp/yl.ipby/"p, line y87 in _run_code
2025-01-07 19:25:58.417763181 File "/usr/libt/hpoynt3h.o9n/3m.u9l/triupnrpoyc.epsys"i, line n197g in /_proupne_nm_ofdourlke._pays"_m, line a71i in n_
2025-01-07 19:25:58.417764213 launch
2025-01-07 19:25:58.417765536 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
2025-01-07 19:25:58.417766822 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
2025-01-07 19:25:58.417768077 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
2025-01-07 19:25:58.417769472 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
2025-01-07 19:26:02.421034338 File "/opt/frigate/frigate/app.py", line 520 in start_camera_capture_processes
2025-01-07 19:26:02.421038892 File "/opt/frigate/frigate/app.py", line 696 in start
2025-01-07 19:26:02.421040981 File "/opt/frigate/frigate/__main__.py", line 17 in <module>
2025-01-07 19:26:02.421042845 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2025-01-07 19:26:02.421044718 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
2025-01-07 19:26:02.421046264 Fatal Python error: Bus error
2025-01-07 19:33:14.489210 2025-01-07 19:26:02.421047813
2025-01-07 19:26:02.421049453 Thread 0x000074785dffb6c0 (most recent call first):
2025-01-07 19:26:02.421051170 File "/usr/lib/python3.9/threading.py", line 312 in wait
2025-01-07 19:26:02.421052950 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2025-01-07 19:26:02.421054683 File "/usr/lib/python3.9/threading.py", line 892 in run
2025-01-07 19:26:02.421056511 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421058210 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:12.060831 2025-01-07 19:26:02.421059598
2025-01-07 19:26:02.421061291 Current thread 0x000074785d7fa6c0 (most recent call first):
2025-01-07 19:26:02.421063090 File "/opt/frigate/frigate/video.py", line 119 in capture_frames
2025-01-07 19:26:02.421064805 File "/opt/frigate/frigate/video.py", line 346 in run
2025-01-07 19:26:02.421066636 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421068388 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:12.060836 2025-01-07 19:26:02.421069793
2025-01-07 19:26:02.421071453 Thread 0x000074785cff96c0 (most recent call first):
2025-01-07 19:26:02.421073122 File "/opt/frigate/frigate/video.py", line 194 in run
2025-01-07 19:26:02.421074850 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421076543 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:12.060840 2025-01-07 19:26:02.421077893
2025-01-07 19:26:02.421079537 Thread 0x0000747857d076c0 (most recent call first):
2025-01-07 19:26:02.421081272 File "/opt/frigate/frigate/log.py", line 95 in run
2025-01-07 19:26:02.421083089 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421084817 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:12.060844 2025-01-07 19:26:02.421086233
2025-01-07 19:26:02.421087907 Thread 0x00007478b3683740 (most recent call first):
2025-01-07 19:26:02.421089772 File "/usr/lib/python3.9/threading.py", line 1049 in _wait_for_tstate_lock
2025-01-07 19:26:02.421091477 File "/usr/lib/python3.9/threading.py", line 1033 in join
2025-01-07 19:26:02.421093211 File "/opt/frigate/frigate/video.py", line 383 in capture_camera
2025-01-07 19:26:02.421094997 File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
2025-01-07 19:26:02.421096830 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
2025-01-07 19:26:02.421098652 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
2025-01-07 19:26:02.421100471 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
2025-01-07 19:26:02.421102315 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
2025-01-07 19:26:02.421104072 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
2025-01-07 19:26:02.421105831 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
2025-01-07 19:26:02.421107664 File "/opt/frigate/frigate/app.py", line 520 in start_camera_capture_processes
2025-01-07 19:26:02.421109357 File "/opt/frigate/frigate/app.py", line 696 in start
2025-01-07 19:26:02.421111107 File "/opt/frigate/frigate/__main__.py", line 17 in <module>
2025-01-07 19:26:02.421112787 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2025-01-07 19:26:02.421114524 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
2025-01-07 19:26:02.421116067 Fatal Python error: Bus error
2025-01-07 19:33:12.060854 2025-01-07 19:26:02.421117399
2025-01-07 19:26:02.421119065 Thread 0x000074785dffb6c0 (most recent call first):
2025-01-07 19:26:02.421120723 File "/usr/lib/python3.9/threading.py", line 312 in wait
2025-01-07 19:26:02.421122489 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2025-01-07 19:26:02.421124162 File "/usr/lib/python3.9/threading.py", line 892 in run
2025-01-07 19:26:02.421125932 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421127630 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:08.064872 2025-01-07 19:26:02.421128955
2025-01-07 19:26:02.421130597 Current thread 0x000074785d7fa6c0 (most recent call first):
2025-01-07 19:26:02.421132350 File "/opt/frigate/frigate/video.py", line 119 in capture_frames
2025-01-07 19:26:02.421134056 File "/opt/frigate/frigate/video.py", line 346 in run
2025-01-07 19:26:02.421135835 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421137557 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:08.064876 2025-01-07 19:26:02.421138900
2025-01-07 19:26:02.421140504 Thread 0x000074785cff96c0 (most recent call first):
2025-01-07 19:26:02.421142195 File "/opt/frigate/frigate/video.py", line 194 in run
2025-01-07 19:26:02.421143921 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421145588 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:08.064880 2025-01-07 19:26:02.421146887
2025-01-07 19:26:02.421148453 Thread 0x0000747857d076c0 (most recent call first):
2025-01-07 19:26:02.421150086 File "/opt/frigate/frigate/log.py", line 95 in run
2025-01-07 19:26:02.421151835 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2025-01-07 19:26:02.421153543 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2025-01-07 19:33:08.064884 2025-01-07 19:26:02.421154835
2025-01-07 19:26:02.421156422 Thread 0x00007478b3683740 (most recent call first):
2025-01-07 19:26:02.421158212 File "/usr/lib/python3.9/threading.py", line 1049 in _wait_for_tstate_lock
2025-01-07 19:26:02.421159932 File "/usr/lib/python3.9/threading.py", line 1033 in join
2025-01-07 19:26:02.421161660 File "/opt/frigate/frigate/video.py", line 383 in capture_camera
2025-01-07 19:26:02.421163428 File "/usr/lib/python3.9/multiprocessing/process.py", line 108 in run
2025-01-07 19:26:02.421165237 File "/usr/lib/python3.9/multiprocessing/process.py", line 315 in _bootstrap
2025-01-07 19:26:02.421167010 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 71 in _launch
2025-01-07 19:26:02.421168827 File "/usr/lib/python3.9/multiprocessing/popen_fork.py", line 19 in __init__
2025-01-07 19:26:02.421170608 File "/usr/lib/python3.9/multiprocessing/context.py", line 277 in _Popen
2025-01-07 19:26:02.421172399 File "/usr/lib/python3.9/multiprocessing/context.py", line 224 in _Popen
2025-01-07 19:26:02.421174158 File "/usr/lib/python3.9/multiprocessing/process.py", line 121 in start
2025-01-07 19:26:02.421175967 File "/opt/frigate/frigate/app.py", line 520 in start_camera_capture_processes
2025-01-07 19:26:02.421177611 File "/opt/frigate/frigate/app.py", line 696 in start
2025-01-07 19:26:02.421179299 File "/opt/frigate/frigate/__main__.py", line 17 in <module>
2025-01-07 19:26:02.421235935 File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
2025-01-07 19:26:02.421237995 File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
2025-01-07 19:26:02.421239992 [2025-01-07 19:25:58] frigate.video ERROR : ian: Unable to read frames from ffmpeg process.
2025-01-07 19:26:02.421242024 [2025-01-07 19:25:58] frigate.video ERROR : ian: ffmpeg process is not running. exiting capture thread...
2025-01-07 19:26:13.533916758 [2025-01-07 19:26:13] watchdog.ian ERROR : Ffmpeg process crashed unexpectedly for ian.
2025-01-07 19:26:13.534093709 [2025-01-07 19:26:13] watchdog.ian ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-01-07 19:26:13.534182795 [2025-01-07 19:26:13] ffmpeg.ian.detect ERROR : rtsp://127.0.0.1:8554/ian: Invalid data found when processing input Relevant go2rtc log outputNo special logs Operating systemProxmox Install methodDocker Compose Network connectionWired Camera make and modelDifferent Tapo Cameras Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulThe failing cameras in the screenshot are connected to two different AP (with different SSID), one of the working camera is on the same AP as the first failing one. In the logs there is an error for the "ian" camera, but that is NOT one of the cameras failing in the screenshot. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is not a bug, restream and frigates internal detect handling are separate. In your case this is due to bus error which is a totally fatal error |
Beta Was this translation helpful? Give feedback.
It's an issue that can occur if the shm overflows. You can increase shm size to avoid this.