[Config Support]: Another Reolink Query - ffmpeg not running #11901
Answered
by
Hannsre
cchurch132
asked this question in
Config Support
-
Describe the problem you are havingTrying to connect my Reolink 811A camera to frigate however i cannot seem to get any sort of output or connection. I've followed the Camera Specific configs for reolink cameras from the docs but no luck Version0.13.2-6476F8A Frigate config filemqtt:
host: 192.168.1.148
user: mqtt-user
password: password
go2rtc:
streams:
your_reolink_camera:
- "ffmpeg:http:https://192.168.1.27/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=password#video=copy#audio=copy#audio=opus"
your_reolink_camera_sub:
- "ffmpeg:http:https://192.168.1.27/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=password"
cameras:
FrontYard: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://127.0.0.1:8554/h264Preview_01_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 640 # <---- update for your camera's resolution
height: 360 # <---- update for your camera's resolution
fps: 10 Relevant log output2024-06-12 04:20:35.695763575 [INFO] Preparing Frigate...
2024-06-12 04:20:35.756381075 [INFO] Starting Frigate...
2024-06-12 04:20:37.696744756 [2024-06-12 14:20:37] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-06-12 04:20:37.718673002 [2024-06-12 14:20:37] frigate.app INFO : Creating directory: /tmp/cache
2024-06-12 04:20:37.745704434 [2024-06-12 14:20:37] peewee_migrate.logs INFO : Starting migrations
2024-06-12 04:20:37.775265562 [2024-06-12 14:20:37] peewee_migrate.logs INFO : There is nothing to migrate
2024-06-12 04:20:37.775269637 [2024-06-12 14:20:37] frigate.app INFO : Recording process started: 271
2024-06-12 04:20:37.780275358 [2024-06-12 14:20:37] frigate.app INFO : go2rtc process pid: 91
2024-06-12 04:20:37.824787375 [2024-06-12 14:20:37] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:20:37.858006654 [2024-06-12 14:20:37] frigate.app INFO : Output process started: 283
2024-06-12 04:20:37.858863325 [2024-06-12 14:20:37] detector.cpu INFO : Starting detection process: 281
2024-06-12 04:20:37.858868669 [2024-06-12 14:20:37] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-06-12 04:20:37.919286671 [2024-06-12 14:20:37] frigate.app INFO : Camera processor started for FrontYard: 289
2024-06-12 04:20:37.919290465 [2024-06-12 14:20:37] frigate.app INFO : Capture process started for FrontYard: 292
2024-06-12 04:20:37.956294792 [2024-06-12 14:20:37] frigate.video ERROR : FrontYard: Unable to read frames from ffmpeg process.
2024-06-12 04:20:37.956724573 [2024-06-12 14:20:37] frigate.video ERROR : FrontYard: ffmpeg process is not running. exiting capture thread...
2024-06-12 04:20:38.873245798 [2024-06-12 14:20:38] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:20:40.881140949 [2024-06-12 14:20:40] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:20:44.887039710 [2024-06-12 14:20:44] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:20:52.894992676 [2024-06-12 14:20:52] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:20:57.967707708 [2024-06-12 14:20:57] watchdog.FrontYard ERROR : Ffmpeg process crashed unexpectedly for FrontYard.
2024-06-12 04:20:57.967711421 [2024-06-12 14:20:57] watchdog.FrontYard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-12 04:20:57.968384563 [2024-06-12 14:20:57] ffmpeg.FrontYard.detect ERROR : [rtsp @ 0x5649fef2ec40] method DESCRIBE failed: 404 Not Found
2024-06-12 04:20:57.969842022 [2024-06-12 14:20:57] ffmpeg.FrontYard.detect ERROR : rtsp:https://127.0.0.1:8554/h264Preview_01_sub: Server returned 404 Not Found
2024-06-12 04:20:57.985397026 [2024-06-12 14:20:57] frigate.video ERROR : FrontYard: Unable to read frames from ffmpeg process.
2024-06-12 04:20:57.985401079 [2024-06-12 14:20:57] frigate.video ERROR : FrontYard: ffmpeg process is not running. exiting capture thread...
2024-06-12 04:21:07.990747775 [2024-06-12 14:21:07] watchdog.FrontYard ERROR : Ffmpeg process crashed unexpectedly for FrontYard.
2024-06-12 04:21:07.990751775 [2024-06-12 14:21:07] watchdog.FrontYard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-12 04:21:07.990753289 [2024-06-12 14:21:07] ffmpeg.FrontYard.detect ERROR : [rtsp @ 0x55e47600cc40] method DESCRIBE failed: 404 Not Found
2024-06-12 04:21:07.990776494 [2024-06-12 14:21:07] ffmpeg.FrontYard.detect ERROR : rtsp:https://127.0.0.1:8554/h264Preview_01_sub: Server returned 404 Not Found
2024-06-12 04:21:08.013397216 [2024-06-12 14:21:08] frigate.video ERROR : FrontYard: Unable to read frames from ffmpeg process.
2024-06-12 04:21:08.013400884 [2024-06-12 14:21:08] frigate.video ERROR : FrontYard: ffmpeg process is not running. exiting capture thread...
2024-06-12 04:21:08.901453981 [2024-06-12 14:21:08] frigate.comms.mqtt ERROR : Unable to connect to MQTT server: MQTT Not authorized
2024-06-12 04:21:18.013816227 [2024-06-12 14:21:17] watchdog.FrontYard ERROR : Ffmpeg process crashed unexpectedly for FrontYard.
2024-06-12 04:21:18.013820217 [2024-06-12 14:21:17] watchdog.FrontYard ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-12 04:21:18.013821763 [2024-06-12 14:21:17] ffmpeg.FrontYard.detect ERROR : [rtsp @ 0x56465dc78c40] method DESCRIBE failed: 404 Not Found
2024-06-12 04:21:18.013823234 [2024-06-12 14:21:17] ffmpeg.FrontYard.detect ERROR : rtsp:https://127.0.0.1:8554/h264Preview_01_sub: Server returned 404 Not Found
2024-06-12 04:21:18.052126866 [2024-06-12 14:21:18] frigate.video ERROR : FrontYard: Unable to read frames from ffmpeg process.
2024-06-12 04:21:18.052131353 [2024-06-12 14:21:18] frigate.video ERROR : FrontYard: ffmpeg process is not running. exiting capture thread... Frigate statsNo response Operating systemHassOS Install methodHassOS Addon Coral versionCPU (no coral) Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
Hannsre
Jun 15, 2024
Replies: 1 comment 3 replies
-
A few mistakes:
|
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
You have a typo still.
"ffmpeg:rtsp:https://admin:[email protected]:554"
vs.
rtsp:https://192.168.1.17:554/
Double check the IP-Address.
Also, since you're using go2rtc, it should rather be
rtsp:https://localhost:8554/FrontYard
instead in the ffmpeg config for the cameras.Optional, from my config: I'm running a 811A as well, where I'm using the flv stream instead. So go2rtc looks something like this:
The camera has a fallback to H264 if you set it to 2K instead of 4k resolution, which makes things easier to handle, espeacially viewing recordings in your browser. The…