frigate: [Camera Support]: ffmpeg crash / no frames received from gortc
Describe the problem you are having
Every camera (5 hard-wired Amcrest IP5M-T1179EW-28MM and 1 WiFi Amcrest AD110) randomly fails with “No frames received for 20 seconds.”
Cameras are all restreamed from gortc. I had thought this would be a network issue, but when I check the gortc logs I don’t see any network issues there.
Version
0.13.1-34FB1C2
Frigate config file
mqtt:
host: <Home Assistant Host>
port: 1883
user: <MQTT user>
password: <MQTT password>
topic_prefix: frigate
detectors:
coral:
type: edgetpu
device: pci
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: True
restream: True
# Optional: Width of the output resolution (default: shown below)
width: 1920
# Optional: Height of the output resolution (default: shown below)
height: 1080
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: continuous
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
go2rtc:
streams:
Backyard:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-backyard.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:Backyard#avoid_negative_ts=make_zero"
Backyard-sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-backyard.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:Backyard-sub#avoid_negative_ts=make_zero"
Back_Porch:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-backporch.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:Back_Porch#avoid_negative_ts=make_zero"
Back_Porch-sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-backporch.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:Back_Porch-sub#avoid_negative_ts=make_zero"
Driveway:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-driveway.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:Driveway#avoid_negative_ts=make_zero"
Driveway-sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-driveway.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:Driveway-sub#avoid_negative_ts=make_zero"
Garage:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-garage.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:Garage#avoid_negative_ts=make_zero"
Garage-sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-garage.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:Garage-sub#avoid_negative_ts=make_zero"
Front_Yard:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-frontyard.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:Front_Yard#avoid_negative_ts=make_zero"
Front_Yard-sub:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-frontyard.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:Front_Yard-sub#avoid_negative_ts=make_zero"
Doorbell:
- rtsp://{FRIGATE_RTSP_USERNAME}:{FRIGATE_RTSP_PASSWORD}@cam-doorbell.iot.<MY_DOMAIN>:554/
- "ffmpeg:Doorbell#avoid_negative_ts=make_zero"
webrtc:
candidates:
- 10.0.50.23:8555
- stun:8555
cameras:
####################################################################################
Backyard:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Backyard
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://localhost:8554/Backyard-sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 704
height: 480
fps: 10
motion:
mask:
- 704,0,704,346,704,233,485,117,357,95,353,129,275,125,187,99,182,71,69,80,76,0
zones:
outside:
coordinates: 79,480,704,480,704,219,434,87,60,73,48,271
parking:
coordinates: 50,193,426,174,433,160,289,91,66,89
porch:
coordinates: 79,480,451,480,525,432,286,205,49,234,54,336
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
filters:
car:
mask:
- 704,0,704,346,704,233,485,117,357,95,403,150,320,151,271,117,239,84,69,80,76,0
track:
- person
- cat
- dog
- car
####################################################################################
Back_Porch:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Back_Porch
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://localhost:8554/Back_Porch-sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 704
height: 480
fps: 10
motion:
mask:
- 382,39,217,59,219,0,704,0,704,113,528,60
zones:
parking:
coordinates: 547,480,650,252,403,160,224,103,83,159,0,203,0,480
porch:
coordinates: 683,170,704,123,595,88,550,109
outside:
coordinates: 0,480,553,480,610,398,672,258,704,108,561,53,355,30,0,146
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
filters:
car:
mask:
- 0,0,0,256,172,171,157,124,236,106,290,126,704,274,704,0
track:
- person
- cat
- dog
- car
####################################################################################
Driveway:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Driveway
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://localhost:8554/Driveway-sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 704
height: 480
fps: 10
motion:
mask:
- 204,33,704,277,704,0,0,0,0,66
zones:
parking:
coordinates: 153,196,442,480,704,480,704,410,509,275,135,62,107,32,53,42
outside:
coordinates: 124,480,704,480,704,293,490,159,189,28,21,68,32,249
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
filters:
car:
mask:
- 204,33,704,277,704,0,0,0,0,66
track:
- person
- cat
- dog
- car
####################################################################################
Garage:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Garage
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://localhost:8554/Garage-sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 704
height: 480
fps: 10
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
track:
- person
- cat
- dog
- car
####################################################################################
Front_Yard:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Front_Yard
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://localhost:8554/Front_Yard-sub
input_args: preset-rtsp-restream
roles:
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 704
height: 480
fps: 10
motion:
mask:
- 283,73,485,67,704,107,704,0,0,0,0,153
zones:
parking:
coordinates: 284,66,680,116,670,170,213,89
outside:
coordinates: 607,480,661,430,672,109,269,70,0,164,0,480
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
filters:
car:
mask:
- 283,73,485,67,704,107,704,0,0,0,0,153
track:
- person
- cat
- dog
- car
####################################################################################
Doorbell:
ffmpeg:
inputs:
- path: rtsp://localhost:8554/Doorbell
input_args: preset-rtsp-restream
roles:
- record
- detect
output_args:
detect: '-f rawvideo -pix_fmt yuv420p'
record: >-
-f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1
-strftime 1 -c copy
record:
enabled: True
events:
retain:
default: 14
mode: active_objects
detect:
width: 1920
height: 1080
fps: 10
motion:
mask:
- 118,660,1920,600,1920,499,114,507
zones:
outside:
coordinates: 1920,1080,1920,632,1734,578,687,593,126,701,82,873,147,1080
snapshots:
enabled: true
timestamp: false
bounding_box: true
crop: False
height: 480
retain:
default: 10
objects:
person: 15
objects:
filters:
car:
mask:
- 118,660,1920,600,1920,499,114,507
track:
- person
- cat
- dog
Relevant log output
frigate: (Representative of the errors seen by each camera, this is only the latest occurrence of each. All six cameras are the same)
2024-02-07 10:56:18.009306825 [2024-02-07 10:56:17] watchdog.Back_Porch INFO : No frames received from Back_Porch in 20 seconds. Exiting ffmpeg...
2024-02-07 10:56:18.009323684 [2024-02-07 10:56:17] watchdog.Back_Porch INFO : Waiting for ffmpeg to exit gracefully...
2024-02-07 10:56:48.041241855 [2024-02-07 10:56:48] watchdog.Back_Porch INFO : FFmpeg did not exit. Force killing...
2024-02-07 10:56:48.144143004 [2024-02-07 10:56:48] frigate.video ERROR : Back_Porch: Unable to read frames from ffmpeg process.
2024-02-07 10:56:48.145676747 [2024-02-07 10:56:48] frigate.video ERROR : Back_Porch: ffmpeg process is not running. exiting capture thread...
2024-02-07 10:56:58.509484515 [2024-02-07 10:56:58] watchdog.Back_Porch ERROR : Ffmpeg process crashed unexpectedly for Back_Porch.
2024-02-07 10:56:58.509502079 [2024-02-07 10:56:58] watchdog.Back_Porch ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-07 10:56:58.509513546 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [AVHWDeviceContext @ 0x56288feabd00] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2024-02-07 10:56:58.509522807 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 11 expected, 10 received.
2024-02-07 10:56:58.509530860 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 12 expected, 11 received.
2024-02-07 10:56:58.509540031 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 13 expected, 12 received.
2024-02-07 10:56:58.514630419 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 15 expected, 13 received.
2024-02-07 10:56:58.515688257 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 16 expected, 14 received.
2024-02-07 10:56:58.516642890 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 17 expected, 15 received.
2024-02-07 10:56:58.517633064 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 18 expected, 16 received.
2024-02-07 10:56:58.518567365 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 19 expected, 17 received.
2024-02-07 10:56:58.520893743 [2024-02-07 10:56:58] ffmpeg.Back_Porch.detect ERROR : [rtsp @ 0x56288fd06cc0] CSeq 19 expected, 0 received.
2024-02-07 11:02:25.014102046 [2024-02-07 11:02:24] watchdog.Backyard ERROR : Ffmpeg process crashed unexpectedly for Backyard.
2024-02-07 11:02:25.014121866 [2024-02-07 11:02:24] watchdog.Backyard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-07 11:02:25.014291303 [2024-02-07 11:02:24] ffmpeg.Backyard.detect ERROR : [AVHWDeviceContext @ 0x5587bff47d00] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2024-02-07 11:02:25.014302173 [2024-02-07 11:02:24] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 10 expected, 9 received.
2024-02-07 11:02:25.014312672 [2024-02-07 11:02:24] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 11 expected, 10 received.
2024-02-07 11:02:25.017887214 [2024-02-07 11:02:24] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 12 expected, 11 received.
2024-02-07 11:02:25.017906152 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 14 expected, 12 received.
2024-02-07 11:02:25.017918039 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 15 expected, 13 received.
2024-02-07 11:02:25.017928137 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 16 expected, 14 received.
2024-02-07 11:02:25.019036958 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 17 expected, 15 received.
2024-02-07 11:02:25.020640176 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 18 expected, 16 received.
2024-02-07 11:02:25.022230169 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 19 expected, 17 received.
2024-02-07 11:02:25.023513313 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 21 expected, 18 received.
2024-02-07 11:02:25.025583016 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 22 expected, 19 received.
2024-02-07 11:02:25.026842050 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 23 expected, 20 received.
2024-02-07 11:02:25.028128440 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 24 expected, 21 received.
2024-02-07 11:02:25.070518221 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 25 expected, 22 received.
2024-02-07 11:02:25.072834051 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 26 expected, 23 received.
2024-02-07 11:02:25.076244994 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 27 expected, 24 received.
2024-02-07 11:02:25.160502299 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 29 expected, 25 received.
2024-02-07 11:02:25.161028886 [2024-02-07 11:02:25] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5587bff27cc0] CSeq 30 expected, 26 received.
2024-02-07 11:03:27.554857300 [2024-02-07 11:03:27] frigate.video ERROR : Doorbell: Unable to read frames from ffmpeg process.
2024-02-07 11:03:27.555892257 [2024-02-07 11:03:27] frigate.video ERROR : Doorbell: ffmpeg process is not running. exiting capture thread...
2024-02-07 11:03:34.071920556 [2024-02-07 11:03:33] watchdog.Doorbell ERROR : Ffmpeg process crashed unexpectedly for Doorbell.
2024-02-07 11:03:34.071940597 [2024-02-07 11:03:33] watchdog.Doorbell ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-02-07 11:03:34.071953291 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [AVHWDeviceContext @ 0x5557d807da80] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
2024-02-07 11:03:34.071966030 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [segment @ 0x5557d8062580] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2024-02-07 11:03:34.071978113 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [segment @ 0x5557d8062580] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
2024-02-07 11:03:34.071987645 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [rtsp @ 0x5557d8047f80] CSeq 7 expected, 5 received.
2024-02-07 11:03:34.071996776 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [rtsp @ 0x5557d8047f80] CSeq 11 expected, 6 received.
2024-02-07 11:03:34.072005776 [2024-02-07 11:03:33] ffmpeg.Doorbell.detect ERROR : [rtsp @ 0x5557d8047f80] CSeq 15 expected, 7 received.
gortc (note that the connection issues at 2100 on 2024-02-06 were when I upgraded the firmware on the doorbell camera, so not an issue)
2024-02-06 21:03:47.566411562 [INFO] Preparing new go2rtc config...
2024-02-06 21:03:48.742521402 [INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually
2024-02-06 21:03:48.887484230 [INFO] Starting go2rtc...
2024-02-06 21:03:49.185578709 21:03:49.185 INF go2rtc version 1.8.4 linux/amd64
2024-02-06 21:03:49.187598867 21:03:49.187 INF [api] listen addr=:1984
2024-02-06 21:03:49.189874799 21:03:49.189 INF [rtsp] listen addr=:8554
2024-02-06 21:03:49.191419588 21:03:49.191 INF [webrtc] listen addr=:8555
2024-02-06 21:03:57.596635049 [INFO] Starting go2rtc healthcheck service...
2024-02-06 21:07:23.656679364 21:07:23.656 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:37238->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:29.240246048 21:07:29.239 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:44684->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:34.776897056 21:07:34.730 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:57912->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:40.269242447 21:07:40.268 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:57936->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:45.613236742 21:07:45.611 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:55300->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:51.764915575 21:07:51.764 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:55312->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:07:57.219789987 21:07:57.219 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:50664->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:02.747065111 21:08:02.743 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:50690->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:08.527358008 21:08:08.521 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:33738->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:14.346257973 21:08:14.345 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:33756->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:19.947529696 21:08:19.943 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:55768->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:25.665904324 21:08:25.665 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:47948->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:31.199049266 21:08:31.198 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:47950->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:37.023181663 21:08:36.995 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:59126->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:42.522209050 21:08:42.519 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:59134->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:48.440194939 21:08:48.439 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:58958->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:54.020934587 21:08:54.020 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:58964->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:08:59.800877555 21:08:59.800 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:51664->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:09:05.639815250 21:09:05.639 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:48118->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:09:11.070858406 21:09:11.070 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:48122->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:09:16.750434367 21:09:16.750 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:52112->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
2024-02-06 21:12:35.698465633 21:12:35.698 WRN [rtsp] error="streams: dial tcp 10.0.50.220:554: connect: no route to host, exec: exit status 1" stream=Doorbell
2024-02-06 21:12:52.162740372 21:12:52.161 WRN [rtsp] error="streams: dial tcp 10.0.50.220:554: connect: no route to host, exec: exit status 1" stream=Doorbell
2024-02-06 21:12:57.510876290 21:12:57.501 WRN [rtsp] error="streams: dial tcp 10.0.50.220:554: connect: no route to host, exec: exit status 1, dial tcp 10.0.50.220:554: i/o timeout" stream=Doorbell
2024-02-06 21:14:54.316810630 21:14:54.316 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.18.0.2:46666->10.0.50.220:554: i/o timeout" url=rtsp://<USER>:<PASSWORD>@cam-doorbell.iot.<MY_DOMAIN>:554/
FFprobe output from your camera
Not sure this is correct. If I try to do the full path that I use (rtsp://<USER>:<PASSWORD>@cam-backporch.iot.<MY_DOMAIN>:554/cam/realmonitor?channel=1&subtype=0) then I get a 404, so this is just on the root rtsp://<USER>:<PASSWORD>@cam-backporch.iot.<MY_DOMAIN>:554.
ffprobe version 6.0-6ubuntu1 Copyright (c) 2007-2023 the FFmpeg developers
built with gcc 13 (Ubuntu 13.2.0-2ubuntu1)
configuration: --prefix=/usr --extra-version=6ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --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-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libvpl --disable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
[rtsp @ 0x558c6417dc40] max delay reached. need to consume packet
[rtsp @ 0x558c6417dc40] RTP: missed 821 packets
[rtsp @ 0x558c6417dc40] max delay reached. need to consume packet
[rtsp @ 0x558c6417dc40] RTP: missed 663 packets
[rtsp @ 0x558c6417dc40] max delay reached. need to consume packet
[rtsp @ 0x558c6417dc40] RTP: missed 178 packets
[rtsp @ 0x558c6417dc40] max delay reached. need to consume packet
[rtsp @ 0x558c6417dc40] RTP: missed 115 packets
Input #0, rtsp, from 'rtsp://<USER>:<PASSWORD>@cam-backporch.iot.<MY_DOMAIN>:554':
Metadata:
title : Media Server
Duration: N/A, start: 0.054000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 2592x1944, 20 fps, 80 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
Frigate stats
{"cameras":{"Back_Porch":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":0.1,"capture_pid":373,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":60950,"pid":341,"process_fps":0.1,"skipped_fps":0.0},"Backyard":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":8.5,"capture_pid":353,"detection_enabled":0,"detection_fps":0.0,"ffmpeg_pid":61363,"pid":338,"process_fps":4.4,"skipped_fps":0.8},"Doorbell":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":2.5,"capture_pid":394,"detection_enabled":1,"detection_fps":1.9,"ffmpeg_pid":62693,"pid":350,"process_fps":0.3,"skipped_fps":2.2},"Driveway":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":13.2,"capture_pid":377,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":59754,"pid":343,"process_fps":5.3,"skipped_fps":5.1},"Front_Yard":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":10.8,"capture_pid":390,"detection_enabled":1,"detection_fps":2.3,"ffmpeg_pid":62623,"pid":348,"process_fps":0.8,"skipped_fps":9.6},"Garage":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":11.3,"capture_pid":381,"detection_enabled":1,"detection_fps":2.1,"ffmpeg_pid":20691,"pid":345,"process_fps":0.6,"skipped_fps":10.2}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"17":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"41":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"42":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"79":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"81":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"82":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"17.7","cpu_average":"18","mem":"0.3"},"102":{"cmdline":"python3 -u -m frigate","cpu":"6.5","cpu_average":"4","mem":"1.8"},"106":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"123":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.1"},"139":{"cmdline":"nginx: worker process","cpu":"0.1","cpu_average":"0","mem":"0.0"},"140":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"141":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"142":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"143":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"304":{"cmdline":"frigate.logger ","cpu":"0.1","cpu_average":"0","mem":"0.7"},"306":{"cmdline":"frigate.recording_manager","cpu":"3.0","cpu_average":"5","mem":"0.9"},"315":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(61)","cpu":"1.1","cpu_average":"1","mem":"0.1"},"316":{"cmdline":"frigate.detector.coral","cpu":"5.1","cpu_average":"3","mem":"0.9"},"318":{"cmdline":"frigate.output ","cpu":"9.2","cpu_average":"9","mem":"1.1"},"334":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"335":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"336":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"338":{"cmdline":"frigate.process:Backyard","cpu":"6.9","cpu_average":"5","mem":"0.8"},"339":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"341":{"cmdline":"frigate.process:Back_Porch","cpu":"0.1","cpu_average":"5","mem":"0.9"},"343":{"cmdline":"frigate.process:Driveway","cpu":"6.8","cpu_average":"5","mem":"0.9"},"344":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"345":{"cmdline":"frigate.process:Garage","cpu":"6.4","cpu_average":"6","mem":"0.9"},"348":{"cmdline":"frigate.process:Front_Yard","cpu":"5.0","cpu_average":"5","mem":"0.9"},"349":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.1"},"350":{"cmdline":"frigate.process:Doorbell","cpu":"6.0","cpu_average":"5","mem":"1.1"},"352":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1920x1080 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"16.7","cpu_average":"15","mem":"0.5"},"353":{"cmdline":"frigate.capture:Backyard","cpu":"3.3","cpu_average":"3","mem":"0.8"},"373":{"cmdline":"frigate.capture:Back_Porch","cpu":"0.2","cpu_average":"3","mem":"0.8"},"377":{"cmdline":"frigate.capture:Driveway","cpu":"5.1","cpu_average":"4","mem":"0.8"},"380":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Backyard?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Backyard@%Y%m%d%H%M%S%z.mp4","cpu":"3.0","cpu_average":"3","mem":"0.2"},"381":{"cmdline":"frigate.capture:Garage","cpu":"4.8","cpu_average":"4","mem":"0.8"},"389":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Back_Porch?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Back_Porch@%Y%m%d%H%M%S%z.mp4","cpu":"3.7","cpu_average":"3","mem":"0.2"},"390":{"cmdline":"frigate.capture:Front_Yard","cpu":"4.2","cpu_average":"3","mem":"0.8"},"394":{"cmdline":"frigate.capture:Doorbell","cpu":"4.8","cpu_average":"5","mem":"0.9"},"403":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Driveway?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Driveway@%Y%m%d%H%M%S%z.mp4","cpu":"3.2","cpu_average":"3","mem":"0.2"},"405":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Garage?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Garage@%Y%m%d%H%M%S%z.mp4","cpu":"2.9","cpu_average":"3","mem":"0.2"},"411":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Front_Yard?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Front_Yard@%Y%m%d%H%M%S%z.mp4","cpu":"3.8","cpu_average":"3","mem":"0.2"},"20691":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Garage-sub -r 10 -vf fps=10,scale=704:480 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.2","cpu_average":"5","mem":"0.3"},"59754":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Driveway-sub -r 10 -vf fps=10,scale=704:480 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.9","cpu_average":"5","mem":"0.3"},"61363":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Backyard-sub -r 10 -vf fps=10,scale=704:480 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.5","cpu_average":"5","mem":"0.3"},"62575":{"cmdline":"/bin/bash","cpu":"0.0","cpu_average":"0","mem":"0.0"},"62623":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Front_Yard-sub -r 10 -vf fps=10,scale=704:480 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"5.5","cpu_average":"4","mem":"0.3"},"62693":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://localhost:8554/Doorbell?video=copy -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Doorbell@%Y%m%d%H%M%S%z.mp4 -r 10 -vf fps=10,scale=1920:1080 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"4.3","cpu_average":"4","mem":"0.5"}},"detection_fps":6.3,"detectors":{"coral":{"detection_start":1707322900.725747,"inference_speed":71.3,"pid":316}},"gpu_usages":{"intel-vaapi":{"gpu":"1.43%","mem":"-%"}},"processes":{"go2rtc":{"pid":89},"logger":{"pid":304},"recording":{"pid":306}},"service":{"last_updated":1707322904,"latest_version":"0.13.1","storage":{"/dev/shm":{"free":4062.4,"mount_type":"tmpfs","total":4096.0,"used":33.6},"/media/frigate/clips":{"free":881841.7,"mount_type":"ext4","total":937803.7,"used":8252.6},"/media/frigate/recordings":{"free":881841.7,"mount_type":"ext4","total":937803.7,"used":8252.6},"/tmp/cache":{"free":7964.2,"mount_type":"tmpfs","total":8192.0,"used":227.8}},"temperatures":{"apex_0":82.55},"uptime":51470,"version":"0.13.1-34fb1c2"}}
Operating system
Other Linux
Install method
Docker Compose
Coral version
M.2
Network connection
Wired
Camera make and model
Amcrest IP5M-T1179EW-28MM
Any other information that may be helpful
Ubuntu 23.10. Had to compile the Coral drivers specifically for kernel v6.5, which is when I noticed these issues.
relevant docker-compose section:
version: '2.4'
services:
frigate:
cpus: 4
shm_size: '4gb'
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: ghcr.io/blakeblackshear/frigate:stable
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/apex_0
- /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/frigate:/config
- /mnt/data/media:/media/frigate
- type: tmpfs # Optional: 4GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 8589934592
ports:
- '5000:5000'
- "8554:8554" # RTSP feeds
- "8555:8555/tcp" # WebRTC over tcp
- "8555:8555/udp" # WebRTC over udp
environment:
FRIGATE_RTSP_USERNAME: <USER_NAME>
FRIGATE_RTSP_PASSWORD: <PASSWORD>
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Reactions: 1
- Comments: 25
I’ve fixed my setup, it seems, but in unexpected way. Inspired by one of other bug reports, I’ve changed my config from
to
(converted URL value to an array and appended
ffmpeg:
to the URL). Not sure why it’s needed now but wasn’t needed before @NickM-27I believe that looks correct. If it doesn’t fix everything will be good to see a fresh set of logs