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

Homebridge Camera FFmpeg hikvision NVR DS 7716 NI I1 16P configuration issue #1357

Open
slpdpcl opened this issue Dec 10, 2022 · 2 comments
Open
Labels
tested config A new tested configuration

Comments

@slpdpcl
Copy link

slpdpcl commented Dec 10, 2022

Manufacturer/Model:
HIKVISION DS 7716NI-I4/16P firmware4.21.008 build 190625

Homebridge Config:
Loaded plugin: homebridge 1.0.6 camera-ffmpeg@3.1.4

  {
            "name": "Camera FFmpeg",
            "videoProcessor": "/Program Files (x86)/ffmpeg/bin/ffmpeg",
            "porthttp": "81",
            "cameras": [
                {
                    "name": "Rue3",
                    "videoConfig": {
                        "source": "-re -i rtsp://user:pwd@192.168.XX.XX:554/Streaming/Channels/101",
                        "stillImageSource": "-i http:/user:pwd@192.168..XX.XX:00/ISAPI/Streaming/Channels/101/picture",
                        "motion": false,
                        "mapvideo": "101",
                        "maxStreams": 2,
                        "maxWidth": 640,
                        "maxHeight": 480,
                        "maxFPS": 20,
                        "vcodec": "h264_omx",
                        "audio": false
                    }
                }
            ],
            "platform": "Camera-ffmpeg"
        },



**Additional Information:**
Camera screen shot and live are not available under homekit and I have the following message in debug mode
[10/12/2022 15:16:13] [Camera FFmpeg] [XXX] Video stream requested: 1280 x 720, 30 fps, 299 kbps
[10/12/2022 15:16:13] [Camera FFmpeg] [XXX] Starting video stream: 640 x 480, 20 fps, 299 kbps
[10/12/2022 15:16:13] [Camera FFmpeg] [XXX] Stream command: /Program Files (x86)/ffmpeg/bin/ffmpeg -re -i rtsp://usr:pwd@192.168.0.XX.XX/Streaming/Channels/101 -map 101 -codec:v h264_omx -pix_fmt yuv420p -color_range mpeg -r 20 -f rawvideo -filter:v scale='min(640,iw)':'min(480,ih)':force_original_aspect_ratio=decrease,scale=trunc(iw/2)*2:trunc(ih/2)*2 -b:v 299k -payload_type 99 -ssrc 16634739 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params V47A/yC0B+iXdKXvVqmkfPZxvlAlxGLwAXzezRov srtp://192.168.XX.XX:52904?rtcpport=52904&pkt_size=1316 -loglevel level -progress pipe:1
[10/12/2022 15:16:14] [Camera FFmpeg] [XXX] FFmpeg exited with code: 1 and signal: null (Error)
[10/12/2022 15:16:14] [Camera FFmpeg] [XXX] Stopped video stream.
@slpdpcl slpdpcl added the tested config A new tested configuration label Dec 10, 2022
@slpdpcl
Copy link
Author

slpdpcl commented Dec 20, 2022

Hi someone has got an idea ?
Thanks,

Stephane

@costispavlou
Copy link

did you manage to find a solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested config A new tested configuration
Projects
None yet
Development

No branches or pull requests

2 participants