frigate: [Support]: ffmpeg crashes and other issues
Describe the problem you are having
I have been having a lot of issue trying to obtain a stable setup with Frigate. I get various errors for various app functions. I restart the container often and after each restart it seems to be a different set of issues.
However, the biggest issue is with two of my four cameras, Reolink Duo 2 PoE. The ffmpeg process crashes numerous times throughout the day. When trying to view recordings for these two cameras there will often be large gaps of no footage due to the process crashing. I have tried many different configurations but nothing has been the silver bullet. I know the documentation says to use the http streams for Reolink cameras but those streams do not work for the Duo 2. I even had to set the cameras to the lowest resolution on the main stream just to get it to work this much. I have witnessed ffmpeg crashes, connection timeouts and other errors, all while watching a perfectly stable stream via the Reolink app.
Version
0.12.1-367D724
Frigate config file
database:
path: /db/frigate.db
mqtt:
host: 1.1.1.1
port: 1883
user: USER
password: PASSWORD
topic_prefix: frigate
detectors:
Coral TPU:
type: edgetpu
device: pci:0
# GTX 1050 Ti:
# type: tensorrt
# device: 0
# cpu1:
# type: cpu
# num_threads: 3
# cpu2:
# type: cpu
# num_threads: 3
# model:
# path: /trt-models/yolov7-tiny-416.trt
# input_tensor: nchw
# input_pixel_format: rgb
# width: 416
# height: 416
motion:
threshold: 25
record:
enabled: True
expire_interval: 300
retain:
days: 15
mode: all
events:
pre_capture: 5
post_capture: 15
go2rtc:
streams:
Backyard:
- rtsp://USER:PASSWORD@2.2.2.2:554/h265Preview_01_main
- "ffmpeg:Backyard#audio=opus"
# Backyard-Sub:
# "ffmpeg:rtsp://USER:PASSWORD@2.2.2.2:554/h264Preview_01_sub#video=h264#hardware=cuda"
# "ffmpeg:http://2.2.2.2/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD#video=h264#hardware=cuda"
Basement-Door:
- rtsp://USER:PASSWORD@3.3.3.3:554/h265Preview_01_main
- "ffmpeg:Basement-Door#audio=opus"
# Basement-Door-Sub:
# "ffmpeg:rtsp://USER:PASSWORD@3.3.3.3:554/h264Preview_01_sub#video=h264#hardware=cuda"
# "ffmpeg:http://3.3.3.3/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD#video=h264#hardware=cuda"
Driveway:
- rtsp://USER:PASSWORD@4.4.4.4:554/h265Preview_01_main
- "ffmpeg:Driveway#audio=opus"
# Driveway-Sub:
# "ffmpeg:rtsp://USER:PASSWORD@4.4.4.4:554/h264Preview_01_sub#video=h264#hardware=cuda"
# "ffmpeg:http://4.4.4.4/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD#video=h264#hardware=cuda"
Front-Yard:
- rtsp://USER:PASSWORD@5.5.5.5:554/h265Preview_01_main
- "ffmpeg:Front-Yard#audio=opus"
# Front-Yard-Sub:
# "ffmpeg:rtsp://USER:PASSWORD@5.5.5.5:554/h264Preview_01_sub#video=h264#hardware=cuda"
# "ffmpeg:http://5.5.5.5/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=USER&password=PASSWORD#video=h264#hardware=cuda"
# ffmpeg:
# hwaccel_args: preset-nvidia-h265
cameras:
Backyard:
ffmpeg:
hwaccel_args: preset-nvidia-h265
inputs:
- path: rtsp://USER:PASSWORD@2.2.2.2:554/h265Preview_01_main
input_args: preset-rtsp-generic
roles:
- record
- path: rtsp://USER:PASSWORD@2.2.2.2:554/h264Preview_01_sub
input_args: preset-rtsp-generic
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 1536
height: 576
fps: 15
objects:
track:
- person
- dog
- cat
- horse
- bear
motion:
mask:
- 0,47,427,46,430,0,0,0
zones:
deck:
coordinates: 0,576,805,576,820,327,346,283
backyard:
coordinates: 573,132,475,170,364,251,415,248,529,312,834,315,860,576,1255,576,1503,400,1234,162,1076,111,799,87
Basement-Door:
ffmpeg:
hwaccel_args: preset-nvidia-h265
input_args: preset-rtsp-generic
inputs:
- path: rtsp://USER:PASSWORD@3.3.3.3:554/h265Preview_01_main
roles:
- record
- path: rtsp://USER:PASSWORD@3.3.3.3:554/h264Preview_01_sub
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 640
height: 360
fps: 15
objects:
track:
- person
- dog
- cat
- horse
- bear
motion:
mask:
- 0,31,199,32,197,0,197,0,0,0
zones:
backdoor:
coordinates: 113,360,535,360,285,174,69,201
objects:
- person
- dog
stairs:
coordinates: 552,321,591,269,445,31,384,24
side_yard:
coordinates: 88,201,368,168,288,43,71,43
Driveway:
ffmpeg:
hwaccel_args: preset-nvidia-h265
input_args: preset-rtsp-generic
inputs:
- path: rtsp://USER:PASSWORD@4.4.4.4:554/h265Preview_01_main
roles:
- record
- path: rtsp://USER:PASSWORD@4.4.4.4:554/h264Preview_01_sub
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 640
height: 360
fps: 15
stationary:
interval: 0
threshold: 50
objects:
track:
- person
- dog
- car
filters:
car:
mask:
- 208,0,0,0,0,163,261,82,411,56,561,80,520,119,606,157,640,99,640,0,245,0
motion:
mask:
- 0,31,219,33,218,0,233,0,0,0
zones:
driveway:
coordinates: 559,360,608,168,557,146,522,137,506,119,527,89,459,67,0,255,71,360
objects:
- person
- dog
- car
side_yard:
coordinates: 414,61,456,74,49,226,30,178
objects:
- person
Front-Yard:
ffmpeg:
hwaccel_args: preset-nvidia-h265
input_args: preset-rtsp-generic
inputs:
- path: rtsp://USER:PASSWORD@5.5.5.5:554/h265Preview_01_main
roles:
- record
- path: rtsp://USER:PASSWORD@5.5.5.5:554/h264Preview_01_sub
roles:
- detect
output_args:
record: preset-record-generic-audio-copy
detect:
width: 1536
height: 576
fps: 15
stationary:
interval: 0
threshold: 50
objects:
track:
- person
- dog
- car
- bus
motion:
mask:
- 0,47,427,46,430,0,0,0
zones:
front_door:
coordinates: 118,404,190,455,296,388,440,438,321,576,137,576,55,428
objects:
- person
main_yard:
coordinates: 1050,295,1338,576,789,576,430,576,356,380,337,294
objects:
- person
- dog
street:
coordinates: 336,284,1251,282,1158,252,933,236,688,231,334,246
objects:
- car
- bus
Relevant log output
2023-08-30 09:12:36.890664713 [INFO] Starting Frigate...
2023-08-30 09:12:41.146437636 [2023-08-30 09:12:41] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2023-08-30 09:12:41.274876919 [2023-08-30 09:12:41] peewee_migrate INFO : Starting migrations
2023-08-30 09:12:41.342839836 [2023-08-30 09:12:41] peewee_migrate INFO : There is nothing to migrate
2023-08-30 09:12:41.394016674 [2023-08-30 09:12:41] detector.Coral TPU INFO : Starting detection process: 1297
2023-08-30 09:12:41.462350654 [2023-08-30 09:12:41] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2023-08-30 09:12:41.506893799 [2023-08-30 09:12:41] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2023-08-30 09:12:41.517080851 [2023-08-30 09:12:41] frigate.app INFO : Output process started: 1299
2023-08-30 09:12:41.518024924 [2023-08-30 09:12:41] frigate.app INFO : Camera processor started for Backyard: 1304
2023-08-30 09:12:41.518196062 [2023-08-30 09:12:41] frigate.app INFO : Camera processor started for Basement-Door: 1307
2023-08-30 09:12:41.518350273 [2023-08-30 09:12:41] frigate.app INFO : Camera processor started for Driveway: 1310
2023-08-30 09:12:41.518546567 [2023-08-30 09:12:41] frigate.app INFO : Camera processor started for Front-Yard: 1322
2023-08-30 09:12:41.518656478 [2023-08-30 09:12:41] frigate.app INFO : Capture process started for Backyard: 1323
2023-08-30 09:12:41.518782727 [2023-08-30 09:12:41] frigate.app INFO : Capture process started for Basement-Door: 1327
2023-08-30 09:12:41.521277824 [2023-08-30 09:12:41] frigate.app INFO : Capture process started for Driveway: 1331
2023-08-30 09:12:41.547590941 [2023-08-30 09:12:41] frigate.app INFO : Capture process started for Front-Yard: 1339
2023-08-30 11:58:50.165341057 [2023-08-30 11:58:50] frigate.object_processing WARNING : Unable to create jpg because frame 1693414729.658797 is not in the cache
2023-08-30 13:40:53.663439429 [2023-08-30 13:40:53] watchdog.Backyard INFO : Backyard exceeded fps limit. Exiting ffmpeg...
2023-08-30 13:40:53.663628744 [2023-08-30 13:40:53] watchdog.Backyard INFO : Waiting for ffmpeg to exit gracefully...
2023-08-30 13:40:54.431977949 [2023-08-30 13:40:54] frigate.video ERROR : Backyard: Unable to read frames from ffmpeg process.
2023-08-30 13:40:54.434013924 [2023-08-30 13:40:54] frigate.video ERROR : Backyard: Unable to read frames from ffmpeg process.
2023-08-30 13:40:54.437574146 [2023-08-30 13:40:54] frigate.video ERROR : Backyard: Unable to read frames from ffmpeg process.
2023-08-30 13:40:54.437802654 [2023-08-30 13:40:54] frigate.video ERROR : Backyard: ffmpeg process is not running. exiting capture thread...
2023-08-30 13:41:04.439875563 [2023-08-30 13:41:04] watchdog.Backyard ERROR : Ffmpeg process crashed unexpectedly for Backyard.
2023-08-30 13:41:04.440199267 [2023-08-30 13:41:04] watchdog.Backyard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-08-30 13:41:04.440528745 [2023-08-30 13:41:04] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x5604c7502f00] CSeq 333 expected, 0 received.
2023-08-30 13:41:04.441067214 [2023-08-30 13:41:04] ffmpeg.Backyard.detect ERROR : Last message repeated 3 times
2023-08-30 15:58:58.902211096 [2023-08-30 15:58:58] frigate.object_processing WARNING : Unable to create jpg because frame 1693429135.690672 is not in the cache
2023-08-30 15:59:02.021740812 [2023-08-30 15:59:02] frigate.object_processing WARNING : Unable to create jpg because frame 1693429135.690672 is not in the cache
2023-08-30 16:16:16.786133073 [2023-08-30 16:16:16] frigate.object_processing WARNING : Unable to create jpg because frame 1693430171.753298 is not in the cache
2023-08-30 16:16:18.367145699 [2023-08-30 16:16:18] frigate.object_processing WARNING : Unable to create jpg because frame 1693430171.753298 is not in the cache
2023-08-30 16:16:19.205898856 [2023-08-30 16:16:19] frigate.object_processing WARNING : Unable to create jpg because frame 1693430171.753298 is not in the cache
2023-08-30 16:16:19.207227632 [2023-08-30 16:16:19] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1693430139.033514-eelfke.
2023-08-30 16:23:54.288937704 [2023-08-30 16:23:54] watchdog.Front-Yard INFO : Front-Yard exceeded fps limit. Exiting ffmpeg...
2023-08-30 16:23:54.289219296 [2023-08-30 16:23:54] watchdog.Front-Yard INFO : Waiting for ffmpeg to exit gracefully...
2023-08-30 16:23:54.484059344 [2023-08-30 16:23:54] frigate.video ERROR : Front-Yard: Unable to read frames from ffmpeg process.
2023-08-30 16:23:54.484920676 [2023-08-30 16:23:54] frigate.video ERROR : Front-Yard: ffmpeg process is not running. exiting capture thread...
2023-08-30 16:24:04.489062026 [2023-08-30 16:24:04] watchdog.Front-Yard ERROR : Ffmpeg process crashed unexpectedly for Front-Yard.
2023-08-30 16:24:04.489361750 [2023-08-30 16:24:04] watchdog.Front-Yard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-08-30 16:27:32.928617202 [2023-08-30 16:27:32] frigate.object_processing WARNING : Unable to create jpg because frame 1693430852.343631 is not in the cache
2023-08-30 16:27:44.123460740 [2023-08-30 16:27:44] frigate.object_processing WARNING : Unable to create jpg because frame 1693430863.675248 is not in the cache
2023-08-30 16:27:45.709612837 [2023-08-30 16:27:45] frigate.object_processing WARNING : Unable to create jpg because frame 1693430863.675248 is not in the cache
2023-08-30 16:31:24.167008040 [2023-08-30 16:31:24] frigate.object_processing WARNING : Unable to create jpg because frame 1693431083.625542 is not in the cache
2023-08-30 16:49:16.417097917 [2023-08-30 16:49:16] frigate.object_processing WARNING : Unable to create jpg because frame 1693432153.174201 is not in the cache
2023-08-30 17:05:54.528670381 [2023-08-30 17:05:54] frigate.object_processing WARNING : Unable to create jpg because frame 1693433150.281905 is not in the cache
2023-08-30 17:06:23.281964636 [2023-08-30 17:06:23] frigate.object_processing WARNING : Unable to create jpg because frame 1693433150.281905 is not in the cache
2023-08-30 17:06:48.823250834 [2023-08-30 17:06:48] frigate.object_processing WARNING : Unable to create jpg because frame 1693433207.271368 is not in the cache
2023-08-30 17:06:49.531910260 [2023-08-30 17:06:49] frigate.object_processing WARNING : Unable to create jpg because frame 1693433207.777365 is not in the cache
2023-08-30 17:06:56.615168788 [2023-08-30 17:06:56] frigate.object_processing WARNING : Unable to create jpg because frame 1693433207.777365 is not in the cache
2023-08-30 17:06:57.273752781 [2023-08-30 17:06:57] frigate.object_processing WARNING : Unable to create jpg because frame 1693433207.777365 is not in the cache
2023-08-30 17:06:57.274056299 [2023-08-30 17:06:57] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1693433190.600744-e7i02z.
2023-08-30 17:08:47.259900255 [2023-08-30 17:08:47] frigate.object_processing WARNING : Unable to create jpg because frame 1693433325.542132 is not in the cache
2023-08-30 17:09:25.745156148 [2023-08-30 17:09:25] frigate.object_processing WARNING : Unable to create jpg because frame 1693433363.804703 is not in the cache
2023-08-30 17:13:40.436553359 [2023-08-30 17:13:40] frigate.object_processing WARNING : Unable to create jpg because frame 1693433620.158778 is not in the cache
2023-08-30 17:13:45.654718367 [2023-08-30 17:13:45] frigate.object_processing WARNING : Unable to create jpg because frame 1693433621.153171 is not in the cache
2023-08-30 17:13:46.473779560 [2023-08-30 17:13:46] frigate.object_processing WARNING : Unable to create jpg because frame 1693433621.153171 is not in the cache
2023-08-30 17:34:28.183792474 [2023-08-30 17:34:28] frigate.video ERROR : Backyard: Unable to read frames from ffmpeg process.
2023-08-30 17:34:28.193076501 [2023-08-30 17:34:28] frigate.video ERROR : Backyard: ffmpeg process is not running. exiting capture thread...
2023-08-30 17:34:36.047832680 [2023-08-30 17:34:36] watchdog.Backyard ERROR : Ffmpeg process crashed unexpectedly for Backyard.
2023-08-30 17:34:36.048814141 [2023-08-30 17:34:36] watchdog.Backyard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-08-30 17:34:36.049057983 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x557d6bfb4f00] CSeq 437 expected, 0 received.
2023-08-30 17:34:36.049269097 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : Last message repeated 6 times
2023-08-30 17:34:36.049756935 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : [h264 @ 0x557d6ca12c80] Increasing reorder buffer to 1
2023-08-30 17:34:36.050261605 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : [rtsp @ 0x557d6bfb4f00] CSeq 438 expected, 0 received.
2023-08-30 17:34:36.050488801 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : Last message repeated 20 times
2023-08-30 17:34:36.050763332 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : [h264 @ 0x557d6ca12c80] Increasing reorder buffer to 13
2023-08-30 17:34:36.050990151 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : rtsp://*:*@2.2.2.2:554/h264Preview_01_sub: Connection timed out
2023-08-30 17:34:36.051251326 [2023-08-30 17:34:36] ffmpeg.Backyard.detect ERROR : Last message repeated 14 times
2023-08-30 18:26:14.060964748 [2023-08-30 18:26:14] frigate.object_processing WARNING : Unable to create jpg because frame 1693437969.383477 is not in the cache
2023-08-30 18:26:14.650754874 [2023-08-30 18:26:14] frigate.object_processing WARNING : Unable to create jpg because frame 1693437969.383477 is not in the cache
2023-08-30 18:26:14.918158619 [2023-08-30 18:26:14] frigate.object_processing WARNING : Unable to create jpg because frame 1693437969.383477 is not in the cache
2023-08-30 18:26:14.918506972 [2023-08-30 18:26:14] frigate.object_processing WARNING : Unable to send mqtt snapshot for 1693437963.043547-792065.
FFprobe output from your camera
Backyard:
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, rtsp, from 'rtsp://USER:PASSWORD@2.2.2.2:554/h265Preview_01_main':
Metadata:
title : Session streamed by "preview"
comment : h265Preview_01_main
Duration: N/A, start: 0.000188, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 4096x1536, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
Basement Door:
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, rtsp, from 'rtsp://USER:PASSWORD@3.3.3.3:554/h265Preview_01_main':
Metadata:
title : Session streamed by "preview"
comment : h265Preview_01_main
Duration: N/A, start: 0.002438, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160, 25 fps, 25 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
Driveway:
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, rtsp, from 'rtsp://USER:PASSWORD@4.4.4.4:554/h265Preview_01_main':
Metadata:
title : Session streamed by "preview"
comment : h265Preview_01_main
Duration: N/A, start: 0.000313, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160, 25 fps, 25 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
Front-Yard:
ffprobe version n5.1-2-g915ef932a3-20220731 Copyright (c) 2007-2022 the FFmpeg developers
built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20220731
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
Input #0, rtsp, from 'rtsp://USER:PASSWORD@5.5.5.5:554/h265Preview_01_main':
Metadata:
title : Session streamed by "preview"
comment : h265Preview_01_main
Duration: N/A, start: 0.000188, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 4096x1536, 20 fps, 20 tbr, 90k tbn
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp
Frigate stats
{"Backyard":{"camera_fps":15.0,"capture_pid":1323,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":15469,"pid":1304,"process_fps":9.7,"skipped_fps":0.0},"Basement-Door":{"camera_fps":15.1,"capture_pid":1327,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1333,"pid":1307,"process_fps":12.9,"skipped_fps":0.0},"Driveway":{"camera_fps":15.1,"capture_pid":1331,"detection_enabled":1,"detection_fps":7.1,"ffmpeg_pid":1338,"pid":1310,"process_fps":12.7,"skipped_fps":0.0},"Front-Yard":{"camera_fps":15.0,"capture_pid":1339,"detection_enabled":1,"detection_fps":27.6,"ffmpeg_pid":9397,"pid":1322,"process_fps":12.3,"skipped_fps":0.0},"cpu_usages":{"%Cpu(s):":{"cpu":"id,","mem":"0.3"},"1":{"cpu":"0.0","mem":"0.0"},"1011":{"cpu":"0.0","mem":"0.0"},"1034":{"cpu":"0.0","mem":"0.0"},"1061":{"cpu":"0.0","mem":"0.0"},"1090":{"cpu":"0.0","mem":"0.0"},"114":{"cpu":"0.0","mem":"0.0"},"1290":{"cpu":"0.0","mem":"0.2"},"1296":{"cpu":"1.3","mem":"0.0"},"1297":{"cpu":"7.9","mem":"0.3"},"1299":{"cpu":"4.9","mem":"0.3"},"1304":{"cpu":"3.0","mem":"0.3"},"1306":{"cpu":"0.0","mem":"0.0"},"1307":{"cpu":"2.6","mem":"0.3"},"1310":{"cpu":"3.3","mem":"0.3"},"1311":{"cpu":"0.0","mem":"0.0"},"1322":{"cpu":"162.8","mem":"0.3"},"1323":{"cpu":"8.6","mem":"0.3"},"1325":{"cpu":"0.0","mem":"0.0"},"1327":{"cpu":"3.9","mem":"0.3"},"1331":{"cpu":"4.6","mem":"0.3"},"1332":{"cpu":"0.0","mem":"0.0"},"1333":{"cpu":"3.9","mem":"0.3"},"1338":{"cpu":"4.3","mem":"0.3"},"1339":{"cpu":"8.9","mem":"0.3"},"134":{"cpu":"0.0","mem":"0.0"},"1341":{"cpu":"4.6","mem":"0.0"},"1342":{"cpu":"0.0","mem":"0.0"},"1349":{"cpu":"4.6","mem":"0.0"},"135":{"cpu":"0.0","mem":"0.0"},"1357":{"cpu":"5.3","mem":"0.0"},"136":{"cpu":"0.0","mem":"0.0"},"1360":{"cpu":"3.0","mem":"0.0"},"137":{"cpu":"0.0","mem":"0.0"},"144":{"cpu":"0.0","mem":"0.0"},"15":{"cpu":"0.0","mem":"0.0"},"15469":{"cpu":"7.6","mem":"0.3"},"16":{"cpu":"0.0","mem":"0.0"},"160":{"cpu":"0.0","mem":"0.0"},"181":{"cpu":"0.0","mem":"0.0"},"204":{"cpu":"0.0","mem":"0.0"},"229":{"cpu":"0.0","mem":"0.0"},"23505":{"cpu":"0.0","mem":"0.0"},"24":{"cpu":"0.0","mem":"0.0"},"24101":{"cpu":"0.0","mem":"0.0"},"24103":{"cpu":"0.0","mem":"0.0"},"24110":{"cpu":"0.3","mem":"0.0"},"25":{"cpu":"0.0","mem":"0.0"},"257":{"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"},"294":{"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"},"336":{"cpu":"0.0","mem":"0.0"},"390":{"cpu":"0.0","mem":"0.0"},"41":{"cpu":"0.0","mem":"0.0"},"42":{"cpu":"0.0","mem":"0.0"},"439":{"cpu":"0.0","mem":"0.0"},"491":{"cpu":"0.0","mem":"0.0"},"541":{"cpu":"0.0","mem":"0.0"},"588":{"cpu":"0.0","mem":"0.0"},"623":{"cpu":"0.0","mem":"0.0"},"651":{"cpu":"0.0","mem":"0.0"},"686":{"cpu":"0.0","mem":"0.0"},"720":{"cpu":"0.0","mem":"0.0"},"756":{"cpu":"0.0","mem":"0.0"},"783":{"cpu":"0.0","mem":"0.0"},"80":{"cpu":"0.0","mem":"0.0"},"81":{"cpu":"0.0","mem":"0.0"},"82":{"cpu":"0.0","mem":"0.0"},"825":{"cpu":"0.0","mem":"0.0"},"881":{"cpu":"0.0","mem":"0.0"},"89":{"cpu":"0.0","mem":"0.0"},"921":{"cpu":"0.0","mem":"0.0"},"9397":{"cpu":"8.2","mem":"0.3"},"956":{"cpu":"0.0","mem":"0.0"},"97":{"cpu":"0.0","mem":"0.0"},"98":{"cpu":"23.7","mem":"0.7"},"984":{"cpu":"0.0","mem":"0.0"},"MiB":{"cpu":"38952.8","mem":"avail"},"PID":{"cpu":"%CPU","mem":"%MEM"},"Tasks:":{"cpu":"stopped,","mem":"0"},"top":{"cpu":"users,","mem":"load"}},"detection_fps":34.7,"detectors":{"Coral TPU":{"detection_start":1693440615.044273,"inference_speed":12.04,"pid":1297}},"gpu_usages":{"NVIDIA GeForce GTX 1050 Ti":{"gpu":"85 %","mem":"13.0 %"}},"service":{"last_updated":1693440625,"latest_version":"0.12.1","storage":{"/dev/shm":{"free":240.1,"mount_type":"tmpfs","total":268.4,"used":28.3},"/media/frigate/clips":{"free":950635.9,"mount_type":"xfs","total":3998833.5,"used":3048197.6},"/media/frigate/recordings":{"free":950635.9,"mount_type":"xfs","total":3998833.5,"used":3048197.6},"/tmp/cache":{"free":985.7,"mount_type":"tmpfs","total":1000.0,"used":14.3}},"temperatures":{"apex_0":44.3},"uptime":35864,"version":"0.12.1-367d724"}}
Operating system
UNRAID
Install method
Docker Compose
Coral version
M.2
Network connection
Wired
Camera make and model
Reolink RLC-811a, Reolink Duo 2 PoE
Any other information that may be helpful
M.2 coral board is connected via a M.2 to PCIe adapter
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 26
news? what can I send and how to reolink support?
I’ve reached out to Reolink Support on the Duo 2 cameras and they stated they have a beta update coming soon that supposedly fixes RTSP issues. They will send it to me when it is ready and then I will report back on my issues.