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

No response from a Sercomm OC835-ADT camera #1466

Open
gdavids57 opened this issue Dec 27, 2024 · 0 comments
Open

No response from a Sercomm OC835-ADT camera #1466

gdavids57 opened this issue Dec 27, 2024 · 0 comments

Comments

@gdavids57
Copy link

gdavids57 commented Dec 27, 2024

Describe The Problem:
No Response from a configured camera. Using WireShark, I do not see any network traffic to/from the camera and the homebridge server, despite the log showing the proper source URLs for the camera's stream and snapshot features.

To Reproduce:

  1. Successfully install plug-in in a functional homebridge environment
  2. Enter required configuration information including a source key, http://[camera IP]/img/video.mjpeg
  3. Add a camera accessory in Home app on an iPhone
  4. Attempt to open the camera and receive no response

Logs:

[27/12/2024, 14:13:22] [Camera FFmpeg] Restarting Process...
[27/12/2024, 14:13:24] [Camera FFmpeg] Launched child bridge with PID 5558
[27/12/2024, 14:13:24] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'
[27/12/2024, 14:13:24] [Camera FFmpeg] Loaded homebridge-camera-ffmpeg v3.1.4 child bridge successfully
[27/12/2024, 14:13:24] Loaded 0 cached accessories from cachedAccessories.0E2B37011CF2.
[27/12/2024, 14:13:24] [Camera FFmpeg] [Garage] Configuring unbridged accessory...
[27/12/2024, 14:13:24] Homebridge v1.8.5 (HAP v0.12.3) (Camera FFmpeg) is running on port 58981.
[27/12/2024, 14:13:24] Garage 7F73 is running on port 41339.
[27/12/2024, 14:13:24] Please add [Garage 7F73] manually in Home app. Setup Code: 415-03-590
[27/12/2024, 14:25:51] [Camera FFmpeg] [Garage] Failed to fetch snapshot.
[Garage 7F73] Snapshot request handler provided empty image buffer!
[27/12/2024, 14:25:52] [Camera FFmpeg] [Garage] Failed to fetch snapshot.
[Garage 7F73] Snapshot request handler provided empty image buffer!
[27/12/2024, 14:25:54] [Camera FFmpeg] [Garage] Starting video stream: 1280 x 720, 30 fps, 299 kbps
[27/12/2024, 14:25:54] [Camera FFmpeg] [Garage] FFmpeg exited with code: 1 and signal: null (Error)
[27/12/2024, 14:25:54] [Camera FFmpeg] [Garage] Stopped video stream.
[27/12/2024, 14:29:23] [Camera FFmpeg] [Garage] Starting video stream: 1280 x 720, 30 fps, 299 kbps

Additional logging info with homebridge -D enabled
[30/12/2024, 11:26:47] [Camera FFmpeg] [Garage] Snapshot requested: 1280 x 720
[30/12/2024, 11:26:47] [Camera FFmpeg] [Garage] Snapshot command: ffmpeg -i http://192.168.0.199:80/img/snapshot.cgi -frames:v 1 -f image2 - -hide_banner -loglevel error
[30/12/2024, 11:26:47] [Camera FFmpeg] [Garage] Fetching snapshot took 0.339 seconds.
[30/12/2024, 11:26:47] [Camera FFmpeg] [Garage] Failed to fetch snapshot.
[Garage 7F73] Snapshot request handler provided empty image buffer!
[30/12/2024, 11:26:48] [Camera FFmpeg] [Garage] Video stream requested: 1280 x 720, 30 fps, 299 kbps
[30/12/2024, 11:26:48] [Camera FFmpeg] [Garage] Starting video stream: 1280 x 720, 30 fps, 299 kbps
[30/12/2024, 11:26:48] [Camera FFmpeg] [Garage] Stream command: ffmpeg -i http://192.168.0.199:80/img/video.mjpeg -an -sn -dn -codec:v libx264 -pix_fmt yuv420p -color_range mpeg -r 30 -f rawvideo -preset ultrafast -tune zerolatency -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)*2:trunc(ih/2)*2 -b:v 299k -payload_type 99 -ssrc 13821384 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 24y7oGFvK4QdLq0+q2WtoahYwuh7uk64ou4lRPZb srtp://192.168.0.131:63238?rtcpport=63238&pkt_size=1316 -loglevel level -progress pipe:1
[30/12/2024, 11:26:49] [Camera FFmpeg] [Garage] FFmpeg exited with code: 1 and signal: null (Error)
[30/12/2024, 11:26:49] [Camera FFmpeg] [Garage] Stopped video stream.

Homebridge Config:

            "name": "Camera FFmpeg",
            "cameras": [
                {
                    "name": "Garage",
                    "manufacturer": "Sercomm",
                    "model": "OC835-ADT",
                    "unbridge": true,
                    "videoConfig": {
                        "source": "-i http://[camera IP]/img/video.mjpeg"
                    }
                }
            ],
            "_bridge": {
                "username": "[user name]",
                "port": 58981
            },
            "platform": "Camera-ffmpeg"

Screenshots:

IMG_1077

Environment:

  • Node.js Version: v22.12.0
  • NPM Version: 10.9.0
  • Homebridge Version: v1.8.5
  • Homebridge Camera FFmpeg Version: v3.1.4
  • Homebridge Config UI X Plugin Version: v4.66.0
  • Operating System: Raspbian GNU/Linux Bookworm (12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant