seydx/homebridge-camera-ui

Having trouble getting started

rh0dium opened this issue · 1 comments

Describe the bug

I have a functioning stream. I've verified that I can connect to it via IPCams. It works. I cannot get Homebridge-camera-ui to recognize it.

I keep getting the same Error

Front Porch: FFmpeg videoanalysis process exited with error! (null) - rtsp://sklass%40foo.com:ZLZJC4%3D@192.168.1.169:8554/10070891: Protocol not found Did you mean file:rtsp://sklass%40foocom:ZLZJC4%3D@192.168.1.169:8554/10070891? 

Challenges:

My username has an "@" symbol in it. sklass@foo.com
My password ends withy a "=" ZLZJC4=

I suspected this was the issue. I've tried the following

  • double quoting the username and paswords
  • double quoting the entire thing
  • replace @ with %40 and = with %3D
  • single quoting completely broke it.

I then suspected maybe my synlology needed ffmpeg so I installed ffmpeg5 with the same results.

I completely understand you are working on a new version. But could you help another dev out?

{
    "name": "CameraUI",
    "port": 8081,
    "atHomeSwitch": false,
    "logLevel": "info",
    "mqtt": {
        "active": false,
        "tls": false,
        "port": 1883
    },
    "http": {
        "active": false,
        "port": 7272,
        "localhttp": false
    },
    "smtp": {
        "active": false,
        "port": 2727,
        "space_replace": "+"
    },
    "ftp": {
        "active": false,
        "useFile": false,
        "port": 5050
    },
    "ssl": {
        "active": false
    },
    "options": {
        "videoProcessor": "ffmpeg"
    },
    "cameras": [
        {
            "disable": false,
            "name": "Front Porch",
            "motion": true,
            "motionTimeout": 15,
            "unbridge": true,
            "hsv": true,
            "prebuffering": false,
            "prebufferLength": 4,
            "videoConfig": {
                "source": "-i rtsp://sklass%40foo.com:nZLZJC4=@192.168.1.169:8554/10070891",
                "subSource": "-i rtsp://sklass%40foo.com:nZLZJC4=@192.168.1.169:8554/10070891",
                "stillImageSource": "-i rtsp://sklass%40foo.com:nZLZJC4=@192.168.1.169:8554/10070891",
                "vcodec": "copy",
                "acodec": "libfdk_aac",
                "audio": false,
                "debug": false
            },
            "smtp": {
                "email": "Front Porch"
            },
            "videoanalysis": {
                "active": true
            },
            "mqtt": {}
        }
    ],
    "platform": "CameraUI"
}

Logs

Front Porch: FFmpeg videoanalysis process exited with error! (null) - rtsp://sklass%40foo.com:ZLZJC4%3D@192.168.1.169:8554/10070891: Protocol not found Did you mean file:rtsp://sklass%40foocom:ZLZJC4%3D@192.168.1.169:8554/10070891? 

Screenshots

Screenshot 2024-08-29 at 11 27 30

Environment

  • Node.js Version: v20.9.0
  • Homebridge Version: v1.8.2
  • Camera UI Version: v5.0.27
  • Operating System: Synology
  • Browser: Safari / Chrome

Important

This version may contain bugs and they will not be fixed. This version will not be developed either.

A new version of camera.ui is currently under active development. Currently in progress are advanced works on the alpha version (for a closed group of testers), and the public beta will be available soon.

Stay tuned for exciting updates:
seydx/camera.ui#448