I'm stuck at the most basic level #193
Replies: 1 comment 1 reply
-
With further digging I was able to resolve my issue. |
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.
-
Looks like I'm the first question here, so maybe this repository isn't monitored, but here goes anyway.
Steps I've done:
Launch rtsp server:
./mediamtx
Convert the USB camera to RTSP:
ffmpeg -i /dev/video0 -f rtsp rtsp://localhost:8554/mystream
here is output:
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 12328.601790, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Output #0, rtsp, to 'rtsp://localhost:8554/mystream':
Ran ffplay to confirm streaming rtsp:
ffplay -rtsp_transport tcp rtsp://localhost:8554/mystream
I get webcam footage in window...seems to be working
Launch kerberosio (sourced from snap - I'm on Ubuntu):
sudo kerberosio.agent -action=run -port=80
Here is output:
INFO[2025-05-26T16:01:24+02:00] Checking data directory permissions: OK
ERRO[2025-05-26T16:01:24+02:00] cloud.HandleHeartBeat(): Disabled as we do not have a public key defined.
INFO[2025-05-26T16:01:25+02:00] components.Kerberos.RunAgent(): Creating camera and processing threads.
ERRO[2025-05-26T16:01:25+02:00] components.Kerberos.RunAgent(): no rtsp url found in config, please provide one.
INFO[2025-05-26T16:01:28+02:00] Successfully Opened config.json from agent
INFO[2025-05-26T16:01:28+02:00] components.Kerberos.RunAgent(): Creating camera and processing threads.
ERRO[2025-05-26T16:01:28+02:00] components.Kerberos.RunAgent(): no rtsp url found in config, please provide one.
repeats...
How do I add rtsp url in config file (what is the format), which config file, where?
Assuming rtsp url is found, what happens next? How do I get agent ui in browser?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions