[Camera Support]: Reolink CX410 ffmpeg failures constantly #12632
-
Describe the problem you are havingI'm unable to do an initial setup of my camera on a fresh install of Frigate. I can access live streams of the camera via VLC, however nothing seems to connect in the config file, and I see errors around FFMPEG, although I believe this may be related to not being able to authenticate to the camera. But as mentioned, authentication works fine via VLC (on windows). Version0.13.2-6476F8A Frigate config filemqtt:
host: 192.168.50.234
detectors:
coral:
type: edgetpu
device: usb
go2rtc:
streams:
driveway:
- "ffmpeg:http://192.168.50.183/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=*#video=copy#audio=copy#audio=opu"
driveway_sub:
- "ffmpeg:http://192.168.50.183/flv?port=1935&app=bcs&stream=channel0_sub.bcs&user=admin&password=*#video=copy#audio=copy#audio=opu"
cameras:
driveway:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:554/driveway?video=copy&audio=aac # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- record
- detect Relevant log output2024-07-26 21:31:23.232399158 [INFO] Preparing Frigate...
2024-07-26 21:31:23.234093799 [INFO] Starting Frigate...
2024-07-26 21:31:24.248303968 [2024-07-26 21:31:24] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-07-26 21:31:24.256170321 [tcp @ 0x20a7340] Connection to tcp://127.0.0.1:554?timeout=0 failed: Connection refused
2024-07-26 21:31:24.256499027 [ERROR:[email protected]] global cap.cpp:164 open VIDEOIO(CV_IMAGES): raised OpenCV exception:
2024-07-26 21:31:24.256500892
2024-07-26 21:31:24.256505416 OpenCV(4.7.0) /io/opencv/modules/videoio/src/cap_images.cpp:253: error: (-5:Bad argument) CAP_IMAGES: can't find starting number (in the name of file): rtsp://127.0.0.1:554/driveway?video=copy&audio=aac in function 'icvExtractPattern'
2024-07-26 21:31:24.256507223
2024-07-26 21:31:24.256508579
2024-07-26 21:31:24.272480454 [2024-07-26 21:31:24] peewee_migrate.logs INFO : Starting migrations
2024-07-26 21:31:24.277478901 [2024-07-26 21:31:24] peewee_migrate.logs INFO : There is nothing to migrate
2024-07-26 21:31:24.282964727 [2024-07-26 21:31:24] frigate.app INFO : Recording process started: 441
2024-07-26 21:31:24.284757432 [2024-07-26 21:31:24] frigate.app INFO : go2rtc process pid: 89
2024-07-26 21:31:24.302114967 [2024-07-26 21:31:24] detector.coral INFO : Starting detection process: 451
2024-07-26 21:31:24.303934439 [2024-07-26 21:31:24] frigate.app INFO : Output process started: 453
2024-07-26 21:31:24.314704552 [2024-07-26 21:31:24] frigate.app INFO : Camera processor started for driveway: 461
2024-07-26 21:31:24.319726066 [2024-07-26 21:31:24] frigate.app INFO : Capture process started for driveway: 462
2024-07-26 21:31:24.335522519 [2024-07-26 21:31:24] frigate.video ERROR : driveway: Unable to read frames from ffmpeg process.
2024-07-26 21:31:24.335600046 [2024-07-26 21:31:24] frigate.video ERROR : driveway: ffmpeg process is not running. exiting capture thread...
2024-07-26 21:31:26.911837617 [2024-07-26 21:31:24] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2024-07-26 21:31:26.915994271 [2024-07-26 21:31:26] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found FFprobe output from your cameraIt doesn't return anything. checking the payload via devtools shows this: 0
:
{return_code: 0, stderr: "", stdout: {}}
return_code
:
0
stderr
:
""
stdout
:
{} Frigate statsNo response Operating systemUNRAID Install methodDocker CLI Object DetectorCoral Network connectionWired Camera make and modelReolink CX410 Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
NickM-27
Jul 26, 2024
Replies: 1 comment 3 replies
-
you have |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
right but 127.0.0.1 is not connecting to the camera, it is connecting to the local go2rtc server. Your config also has
opu
but it should beopus