[Camera Support]: LTS VSIP8442W-28MA intermittent connectivity issue #17042
-
Describe the problem you are havingI have a LTS VSIP8442W-28MA camera, every few minutes (usually while attempting to stream it) the frigate stream will cut out and stop updating. Camera 3 is the relevant camera in my settings. Version0.15.0 What browser(s) are you using?Firefox 135.0.1 Frigate config filedetectors:
coral:
type: edgetpu
device: pci:0
mqtt:
enabled: false
birdseye:
enabled: true
mode: continuous
width: 1920
height: 1080
go2rtc:
streams:
camera1:
- ffmpeg:http://192.168.1.254/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=-snip-#video=copy#audio=copy#audio=opus
camera2:
- ffmpeg:http://192.168.1.253/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=-snip-#video=copy#audio=copy#audio=opus
camera3:
- rtsp://admin:[email protected]:8554/streaming/channels/101
- "ffmpeg:camera3#audio=opus#audio=aac"
camera4:
- ffmpeg:http://192.168.1.251/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=-snip-#video=copy#audio=copy#audio=opus
webrtc:
candidates:
- 192.168.0.60:8554
ffmpeg:
hwaccel_args: -c:v h264_cuvid -hwaccel_device 1
output_args:
record: preset-record-generic-audio-copy
cameras:
camera1:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera1
input_args: preset-rtsp-restream
roles:
- detect
birdseye:
enabled: true
record:
enabled: true
detections:
pre_capture: 10
post_capture: 10
retain:
mode: all
days: 90
zones:
Breeze_Way:
coordinates:
0,0,0.329,0,0.328,0.036,0.658,0.036,0.66,0,0.704,0,0.68,0.272,0.771,0.352,1,0.552,1,1,0,1
objects: person
filters:
person:
min_area: 150000
review:
detections:
required_zones: Breeze_Way
alerts:
labels: []
camera2:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera2
input_args: preset-rtsp-restream
roles:
- detect
birdseye:
enabled: true
record:
enabled: true
detections:
pre_capture: 10
post_capture: 10
retain:
mode: all
days: 90
zones:
Front_Door:
coordinates:
0.455,0.038,0.571,0.039,0.602,0.356,1,0.378,1,1,0.267,0.997,0.306,0.538,0.355,0.64,0.398,0.637,0.405,0.531
objects: person
filters:
person:
min_score: 0.75
threshold: 0.75
min_area: 150000
review:
detections:
required_zones: Front_Door
alerts:
labels: []
camera3:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera3
input_args: preset-rtsp-restream
roles:
- detect
birdseye:
enabled: true
record:
enabled: true
detections:
pre_capture: 10
post_capture: 10
retain:
mode: all
days: 90
zones:
Drive_Way:
coordinates: 0.249,1,0.683,1,0.603,0.397,0.349,0.38
loitering_time: 2
objects: car
Side_Yard:
coordinates: 0.076,0.392,0.353,0.377,1,0.428,1,1,0,1,0,0.393
objects: person
filters:
person:
min_area: 150000
review:
detections:
required_zones:
- Drive_Way
- Side_Yard
alerts:
labels: []
camera4:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/camera4
input_args: preset-rtsp-restream
roles:
- detect
birdseye:
enabled: true
record:
enabled: true
detections:
pre_capture: 10
post_capture: 10
retain:
mode: all
days: 90
zones:
Garage:
coordinates: 0,0,1,0,1,1,0,1
objects: person
filters:
person:
min_area: 50000
review:
detections:
required_zones: Garage
alerts:
labels: []
detect:
enabled: true
fps: 10
stationary:
interval: 10
threshold: 50
objects:
track:
- person
- car
version: 0.15-1 Relevant Frigate log output2025-03-09 16:18:46.862524 [INFO] Preparing Frigate...
2025-03-09 16:18:46.989876 [INFO] Starting Frigate...
2025-03-09 16:18:49.431586 [2025-03-09 16:18:49] frigate.util.config INFO : Checking if frigate config needs migration...
2025-03-09 16:18:49.466073 [2025-03-09 16:18:49] frigate.util.config INFO : frigate config does not need migration...
2025-03-09 16:19:03.883292 [2025-03-09 16:19:03] frigate.app INFO : Starting Frigate (0.15.0-)
2025-03-09 16:19:03.899131 [2025-03-09 16:19:03] peewee_migrate.logs INFO : Starting migrations
2025-03-09 16:19:03.899297 [2025-03-09 16:19:03] peewee_migrate.logs INFO : There is nothing to migrate
2025-03-09 16:19:03.919412 [2025-03-09 16:19:03] frigate.app INFO : Recording process started: 611
2025-03-09 16:19:03.919712 [2025-03-09 16:19:03] frigate.app INFO : Review process started: 620
2025-03-09 16:19:03.921814 [2025-03-09 16:19:03] frigate.app INFO : go2rtc process pid: 159
2025-03-09 16:19:03.937563 [2025-03-09 16:19:03] detector.coral INFO : Starting detection process: 627
2025-03-09 16:19:03.975382 [2025-03-09 16:19:03] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2025-03-09 16:19:03.975711 [2025-03-09 16:19:03] frigate.app INFO : Output process started: 643
2025-03-09 16:19:03.985591 [2025-03-09 16:19:03] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-03-09 16:19:03.985822 [2025-03-09 16:19:03] frigate.app INFO : Camera processor started for camera1: 658
2025-03-09 16:19:03.985865 [2025-03-09 16:19:03] frigate.app INFO : Camera processor started for camera2: 675
2025-03-09 16:19:03.985975 [2025-03-09 16:19:03] frigate.app INFO : Camera processor started for camera3: 677
2025-03-09 16:19:03.994469 [2025-03-09 16:19:03] frigate.app INFO : Camera processor started for camera4: 688
2025-03-09 16:19:04.004378 [2025-03-09 16:19:04] frigate.app INFO : Capture process started for camera1: 699
2025-03-09 16:19:04.035695 [2025-03-09 16:19:04] frigate.app INFO : Capture process started for camera2: 727
2025-03-09 16:19:04.048957 [2025-03-09 16:19:04] frigate.app INFO : Capture process started for camera3: 737
2025-03-09 16:19:04.086828 [2025-03-09 16:19:04] frigate.app INFO : Capture process started for camera4: 751
2025-03-09 16:19:04.169186 [2025-03-09 16:19:04] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-03-09 16:19:04.263457 [2025-03-09 16:19:04] frigate.api.fastapi_app INFO : FastAPI started
2025-03-09 16:29:44.092413 [2025-03-09 16:29:44] watchdog.camera3 INFO : No frames received from camera3 in 20 seconds. Exiting ffmpeg...
2025-03-09 16:29:44.092525 [2025-03-09 16:29:44] watchdog.camera3 INFO : Waiting for ffmpeg to exit gracefully...
2025-03-09 16:29:44.557402 [2025-03-09 16:29:44] frigate.video ERROR : camera3: Unable to read frames from ffmpeg process.
2025-03-09 16:29:44.557466 [2025-03-09 16:29:44] frigate.video ERROR : camera3: Unable to read frames from ffmpeg process.
2025-03-09 16:29:44.557483 [2025-03-09 16:29:44] frigate.video ERROR : camera3: Unable to read frames from ffmpeg process.
2025-03-09 16:29:44.558010 [2025-03-09 16:29:44] frigate.video ERROR : camera3: ffmpeg process is not running. exiting capture thread...
2025-03-09 16:29:54.562928 [2025-03-09 16:29:54] watchdog.camera3 ERROR : Ffmpeg process crashed unexpectedly for camera3.
2025-03-09 16:29:54.569905 [2025-03-09 16:29:54] watchdog.camera3 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-03-09 16:29:54.570905 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : DTS 1483612576, next:621824000 st:1 invalid dropping
2025-03-09 16:29:54.570933 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : PTS 1483612576, next:621824000 invalid dropping st:1
2025-03-09 16:29:54.570958 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : DTS 1483613600, next:621952000 st:1 invalid dropping
2025-03-09 16:29:54.570976 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : PTS 1483613600, next:621952000 invalid dropping st:1
2025-03-09 16:29:54.571003 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356988, current: 247296; changing to 9356989. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571023 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356989, current: 247808; changing to 9356990. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571050 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356990, current: 248320; changing to 9356991. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571068 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356991, current: 248832; changing to 9356992. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571093 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356992, current: 249344; changing to 9356993. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571110 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356993, current: 249856; changing to 9356994. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571141 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356994, current: 250368; changing to 9356995. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571168 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356995, current: 250880; changing to 9356996. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571193 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356996, current: 251392; changing to 9356997. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571210 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356997, current: 251904; changing to 9356998. This may result in incorrect timestamps in the output file.
2025-03-09 16:29:54.571234 [2025-03-09 16:29:54] ffmpeg.camera3.detect ERROR : [vost#0:0/copy @ 0x6339aedc0280] Non-monotonic DTS; previous: 9356998, current: 252416; changing to 9356999. This may result in incorrect timestamps in the output file. Relevant go2rtc log output2025-03-09 16:18:46.861498 [INFO] Preparing new go2rtc config...
2025-03-09 16:18:47.262398 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2025-03-09 16:18:47.389032 [INFO] Starting go2rtc...
2025-03-09 16:18:47.457081 16:18:47.456 INF go2rtc platform=linux/amd64 revision=199fdd6 version=1.9.8
2025-03-09 16:18:47.457137 16:18:47.457 INF config path=/dev/shm/go2rtc.yaml
2025-03-09 16:18:47.457469 16:18:47.457 INF [rtsp] listen addr=:8554
2025-03-09 16:18:47.457506 16:18:47.457 INF [api] listen addr=:1984
2025-03-09 16:18:47.457811 16:18:47.457 INF [webrtc] listen addr=:8555
2025-03-09 16:29:25.182086 16:29:25.182 INF [streams] can't add track error="wrong response on SETUP"
2025-03-09 16:29:25.182170 16:29:25.182 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error="start from CONN state" url=rtsp://admin:[email protected]:8554/streaming/channels/101
2025-03-09 16:29:31.614423 16:29:31.614 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error="read tcp 127.0.0.1:8554->127.0.0.1:47596: i/o timeout" url=ffmpeg:camera3#audio=opus#audio=aac FFprobe output from your cameraffprobe version 4.3.8-0+deb11u3 Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 10 (Debian 10.2.1-6)
configuration: --prefix=/usr --extra-version=0+deb11u3 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
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
[rtsp @ 0x577f37188480] getaddrinfo(): Name or service not known
[rtsp @ 0x577f37188480] max delay reached. need to consume packet
[rtsp @ 0x577f37188480] RTP: missed 78 packets
[h264 @ 0x577f3718c200] error while decoding MB 145 67, bytestream -10
[h264 @ 0x577f3718c200] concealing 3584 DC, 3584 AC, 3584 MV errors in P frame
Input #0, rtsp, from 'rtsp://admin:[email protected]:8554/streaming/channels/101':
Metadata:
title : VCP IPC Realtime stream
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2560x1440, 30 fps, 30 tbr, 90k tbn, 60 tbc
Stream #0:1: Audio: pcm_alaw, 8000 Hz, 1 channels, s16, 64 kb/s
Stream #0:2: Data: none
Unsupported codec with id 0 for input stream 2 Frigate statsNo response Operating systemProxmox Install methodProxmox via TTeck Script Object DetectorCoral Network connectionWired Camera make and modelLTS VSIP8442W-28MA Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Mar 9, 2025
Replies: 1 comment 2 replies
-
You might have better results with the ffmpeg module for the camera in go2rtc, eg:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
staridiot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might have better results with the ffmpeg module for the camera in go2rtc, eg: