Closed acseven closed 2 years ago
We've seen it before where complex credentials with special characters or long passwords can throw things off, I'd recommend trying a super short / simple password just to see if it fixes the issue.
Thanks for the input. I've reduced the number of characters and apparently the 401 error isn't present anymore. However, I still have a green screen:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-05-04 15:59:45] frigate.app INFO : Starting Frigate (0.10.1-83481af)
[2022-05-04 15:59:45] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-05-04 15:59:45] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-05-04 15:59:45] peewee_migrate INFO : There is nothing to migrate
[2022-05-04 15:59:45] frigate.app INFO : Output process started: 218
[2022-05-04 15:59:45] detector.cpu INFO : Starting detection process: 217
[2022-05-04 15:59:45] frigate.edgetpu WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2022-05-04 15:59:46] frigate.app INFO : Camera processor started for cctv-1: 221
[2022-05-04 15:59:46] frigate.app INFO : Capture process started for cctv-1: 224
[2022-05-04 15:59:46] ws4py INFO : Using epoll
[2022-05-04 15:59:46] ws4py INFO : Using epoll
[2022-05-04 16:00:06] watchdog.cctv-1 INFO : No frames received from cctv-1 in 20 seconds. Exiting ffmpeg...
[2022-05-04 16:00:06] watchdog.cctv-1 INFO : Waiting for ffmpeg to exit gracefully...
[2022-05-04 16:00:36] watchdog.cctv-1 INFO : FFmpeg didnt exit. Force killing...
[2022-05-04 16:00:36] frigate.video ERROR : cctv-1: Unable to read frames from ffmpeg process.
[2022-05-04 16:00:36] frigate.video ERROR : cctv-1: ffmpeg process is not running. exiting capture thread...
[2022-05-04 16:00:46] watchdog.cctv-1 ERROR : Ffmpeg process crashed unexpectedly for cctv-1.
[2022-05-04 16:00:46] watchdog.cctv-1 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
That's progress, can you try it without transportmode=unicast
. I searched other users with this camera in previous issues and they had the same stream url but without that bit.
Still no go:
[2022-05-04 16:11:58] frigate.app INFO : Camera processor started for cctv-1: 222
[2022-05-04 16:11:58] ws4py INFO : Using epoll
[2022-05-04 16:11:58] frigate.app INFO : Capture process started for cctv-1: 223
[2022-05-04 16:11:58] ws4py INFO : Using epoll
[2022-05-04 16:12:18] watchdog.cctv-1 INFO : No frames received from cctv-1 in 20 seconds. Exiting ffmpeg...
[2022-05-04 16:12:18] watchdog.cctv-1 INFO : Waiting for ffmpeg to exit gracefully...
[2022-05-04 16:12:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51916]
[2022-05-04 16:12:48] watchdog.cctv-1 INFO : FFmpeg didnt exit. Force killing...
[2022-05-04 16:12:48] frigate.video ERROR : cctv-1: Unable to read frames from ffmpeg process.
[2022-05-04 16:12:48] frigate.video ERROR : cctv-1: Unable to read frames from ffmpeg process.
[2022-05-04 16:12:48] frigate.video ERROR : cctv-1: Unable to read frames from ffmpeg process.
[2022-05-04 16:12:48] frigate.video ERROR : cctv-1: ffmpeg process is not running. exiting capture thread...
[2022-05-04 16:12:58] watchdog.cctv-1 ERROR : Ffmpeg process crashed unexpectedly for cctv-1.
[2022-05-04 16:12:58] watchdog.cctv-1 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-05-04 16:13:18] watchdog.cctv-1 INFO : No frames received from cctv-1 in 20 seconds. Exiting ffmpeg...
[2022-05-04 16:13:18] watchdog.cctv-1 INFO : Waiting for ffmpeg to exit gracefully...
Can you try it without hwaccel args included? I am starting to think this may not be related to the camera now after getting the unauthorized fixed
Yup, that did the trick, thank you very much for your help. I was using that considering the info on the documentation regarding Raspberry Pi 4 64-bit (I have the addon's protection mode Off as suggested), but apparently it's not working.
Yup, that did the trick, thank you very much for your help. I was using that considering the info on the documentation regarding Raspberry Pi 4 64-bit (I have the addon's protection mode Off as suggested), but apparently it's not working.
Yeah, see https://github.com/blakeblackshear/frigate/issues/2030 for more info on that
Thanks! Will do
Describe the problem you are having
Green screen, no video feed at all. Running on a Raspberry Pi400.
Version
0.10.1-83481AF
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
HassOS
Install method
HassOS Addon
Coral version
CPU (no coral)
Network connection
Wired
Camera make and model
Hilook (Hikvision based) IPC-T240H
Any other information that may be helpful
RTSP url streams have been checked (working in VLC and direct integrations in HA).
I've tried enabling / disabling many of the config options, but none helped.
The issue appears to be centered on the "401 unauthorized" error but the rtsp credentials are 100% correct.
HASSOS, Supervisor and Core are all up to date.