Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't register any RTSP camera #432

Open
chubinmax1 opened this issue Nov 16, 2023 · 3 comments
Open

Can't register any RTSP camera #432

chubinmax1 opened this issue Nov 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@chubinmax1
Copy link

Describe the bug
I tried to register two cameras. Sonoff and Hikvision as network RTSP cameras. In both attempts I got a network error. What am I doing wrong?
i'm tried connect to camera with ffmp
camera.ui.log
eg directly and no any problem. VLC player can connect to both cameras too.

To Reproduce
{
"name": "1",
"motionTimeout": 15,
"recordOnMovement": null,
"prebuffering": null,
"videoConfig": {
"source": "-i rtsp://rtsp:[email protected]:554/av_stream/ch0",
"stillImageSource": "",
"stimeout": 10,
"audio": null,
"debug": null,
"subSource": "rtsp://rtsp:[email protected]:554/av_stream/ch0",
"rtspTransport": "rtsp://rtsp:[email protected]:554/av_stream/ch0",
"vcodec": null,
"acodec": null
}

Expected behavior
A clear and concise description of what you expected to happen.

Logs
If available, attach the log where the bug is vissible

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Node.js Version: 18.13.0
  • Camera UI Version: 1.1.17
  • Operating System: Debian 12.2
  • Browser: XXX
@chubinmax1 chubinmax1 added the bug Something isn't working label Nov 16, 2023
@iamvivekkaushik
Copy link

Check if ffmpeg is installed in the system, try whereis ffmpeg

@mboeder-2306
Copy link

Hi, i had the same problem. In my system ffmpeg was missing too. If you are using raspberry pi just do sudo apt-get install ffmpeg .

Sadly after this i got 2 new error-messages one saying that "_

Stream exited with error! (null) - Unrecognized option 'stimeout'. Error splitting the argument list: Option not found

Which i managed to fix by editing the ffmpeg-Configs from stimeout to timeout.

But at the next error-message i struggle for long now: "

CCTV-CAM: Stream exited with error! (null) - [NULL @ 0x55a6c097c0] Unable to find a suitable output format for 'rtsp://USER:PASSWORD@CAMS_IP:CAMPS_PORT' rtsp://USER:PASSWORD@CAMS_IP:CAMPS_PORT: Invalid argument

@mkz212
Copy link
Contributor

mkz212 commented Jul 29, 2024

🎉 A new version of camera.ui

A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: #448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants