seydx / camera.ui

NVR like user Interface for RTSP capable cameras
https://github.com/seydx/camera.ui
MIT License
643 stars 102 forks source link

Can't register any RTSP camera #432

Open chubinmax1 opened 9 months ago

chubinmax1 commented 9 months ago

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:123456789@192.168.1.46:554/av_stream/ch0", "stillImageSource": "", "stimeout": 10, "audio": null, "debug": null, "subSource": "rtsp://rtsp:123456789@192.168.1.46:554/av_stream/ch0", "rtspTransport": "rtsp://rtsp:123456789@192.168.1.46: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

iamvivekkaushik commented 9 months ago

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

mboeder-2306 commented 1 month ago

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 commented 1 month ago

🎉 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: https://github.com/seydx/camera.ui/issues/448 .

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