Adding an additional camera is giving me a ffmpeg issue. #8683
Unanswered
moomoo-ha
asked this question in
Ask A Question
Replies: 2 comments 3 replies
-
The error is 401 unauthorized meaning the user / password is incorrect for this camera |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes it is.
… On 20 Nov 2023, at 17:12, Rex Wheeler ***@***.***> wrote:
Is the secondary stream enabled on the camera?
—
Reply to this email directly, view it on GitHub <#8683 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A647LC2SYMYWIGHB5RTIQWTYFOFO7AVCNFSM6AAAAAA7TBE7XGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMMRRHA4TC>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I have added another camera to the back of the house and which is a Annke C800. I got the front camera working using the camera specific guidelines in the documentation but I get the following error when I add the code for the new camera:
2023-11-20 14:42:16.910695520 [2023-11-20 14:42:16] frigate.video ERROR : Back: Unable to read frames from ffmpeg process. 2023-11-20 14:42:16.910713039 [2023-11-20 14:42:16] frigate.video ERROR : Back: ffmpeg process is not running. exiting capture thread... 2023-11-20 14:42:26.554636005 [2023-11-20 14:42:26] watchdog.Back ERROR : Ffmpeg process crashed unexpectedly for Back. 2023-11-20 14:42:26.554655653 [2023-11-20 14:42:26] watchdog.Back ERROR : The following ffmpeg logs include the last 100 lines prior to exit. 2023-11-20 14:42:26.554664376 [2023-11-20 14:42:26] ffmpeg.Back.detect ERROR : [rtsp @ 0x557b2b3150] method DESCRIBE failed: 401 Unauthorized 2023-11-20 14:42:26.554674487 [2023-11-20 14:42:26] ffmpeg.Back.detect ERROR : rtsp://*:*@192.168.1.151:554/Streaming/Channels/102: Server returned 401 Unauthorized (authorization failed) 2023-11-20 14:42:26.593171669 [2023-11-20 14:42:26] watchdog.Back ERROR : No new recording segments were created for Back in the last 120s. restarting the ffmpeg record process... 2023-11-20 14:42:26.608981263 [2023-11-20 14:42:26] watchdog.Back INFO : Terminating the existing ffmpeg process...
Here is my code in the yaml:
`mqtt:
host: 192.168.1.130
user: mqtt-user
password: password
cameras:
Front:
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
rtmp: -c:v copy -c:a aac -f flv
Back:
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a aac
rtmp: -c:v copy -c:a aac -f flv
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
record:
enabled: true
events:
pre_capture: 5
post_capture: 5
objects:
- person
- car
- bicycle
- dog
- motorbike
retain:
default: 10
birdseye:
enabled: True
mode: continuous`
Is there a step I have missed?
Beta Was this translation helpful? Give feedback.
All reactions