Closed MarkyMarkn closed 2 years ago
Can anyone help?
Having this issue as well, also with Reolink cameras. Koush must be busy.
Can anyone help? This seems to be an issue with RTMP. I can sort of get it to work if I use an RTSP stream but it's finnicky.
Mark, Try this...in the camera stream settings, reduce the resolution of the Clear stream to 2304x1296, or whatever is the lowest setting. Use this for the config: "forcePrebuffering": false, "prebufferLength": 4, "videoConfig": { "source": "-rtsp_transport tcp -re -i rtsp://user:password@10.xxx:554/h265Preview_01_main", "subSource": "-rtsp_transport tcp -re -i rtsp://user:password@10.xxx:554/h264Preview_01_sub", "stillImageSource": "-i http://10.xxx/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=abc&user=user&password=password", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 20, "forceMax": true, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true, "debug": true },
Thanks for the reply. I'm trialling on one camera using RTSP and it's seems to be working ok, and with audio. I'll see how this goes but it looks more promising. Many thanks for the suggestion!
So this broke HKSV recording for me...
On Feb 15, 2022, at 12:02 PM, MarkyMarkn @.***> wrote:
Thanks for the reply. I'm trialling on one camera using RTSP and it's seems to be working ok, and with audio. I'll see how this goes but it looks more promising. Many thanks for the suggestion!
— Reply to this email directly, view it on GitHub https://github.com/seydx/homebridge-camera-ui/issues/429#issuecomment-1040531193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGEJ6AB2CDAYIBQQCSLIGWDU3KBL7ANCNFSM5NKFGAZQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.
Thanks for the reply. I'm trialling on one camera using RTSP and it's seems to be working ok, and with audio. I'll see how this goes but it looks more promising. Many thanks for the suggestion!
Hello Mark, did you find any solution for this? using RTMP ..
Same issue here. No audio when using the camera.ui https web interface. I have audio in my recordings but not in the web app.
Same issue here. No audio when using the camera.ui https web interface. I have audio in my recordings but not in the web app.
Same issue here, recordings have audio but streams do not. Direct camera feeds to ffplay have audio as well. I believe my recordings may have been silent prior to using libfdk_aac.
Hi, hope you can help.
I'm not getting any audio from either of my cameras (both Reolink) within HSV or the camera.ui dashboard.
I've tried setting libfdk_aac and aac in the audio codec option but no change. Video playback is fine, as is iCloud recording. (and the volume is turned up!)
Note: If I use the Homebridge Camera FFmpeg plug-in audio works fine.
Any ideas? Otherwise this plug-in is, frankly, awesome :-)
Thanks. I'm a newbie to GitHub so please point me in the right direction if the answer lies elsewhere!
Snippet of my config, if needed: { "name": "CameraUI", "port": 8081, "atHomeSwitch": false, "debug": false, "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": "/usr/local/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg" }, "cameras": [ { "name": "Front", "manufacturer": "Reolink", "model": "RLC-512W", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtmp://10.xxx/bcs/channel0_main.bcs?channel=0&stream=0&user=xxx&password=xxxx", "subSource": "-i rtmp://10.xxx/bcs/channel0_sub.bcs?channel=0&stream=0&user=xxxx&password=xxxxx", "stillImageSource": "-i rtmp://10.xxx/bcs/channel0_main.bcs?channel=0&stream=0&user=xxxx&password=xxxx", "maxStreams": 2, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true, "debug": true }, "smtp": { "email": "Front" }, "videoanalysis": { "active": true }, "mqtt": {}, "recordOnMovement": false }, { "name": "Garage", "manufacturer": "Reolink", "model": "RLC-520", "motion": true, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": true, "prebufferLength": 4, "videoConfig": { "source": "-i rtmp://10.xxx/bcs/channel0_main.bcs?channel=0&stream=0&user=xxx&password=xxx", "subSource": "-i rtmp://10.xxx/bcs/channel0_sub.bcs?channel=0&stream=0&user=xxx&password=xxx", "stillImageSource": "-i rtmp://10.xxx/bcs/channel0_main.bcs?channel=0&stream=0&user=xxx&password=xxx", "maxStreams": 2, "forceMax": false, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true, "debug": true }, "smtp": { "email": "Garage" }, "videoanalysis": { "active": true }, "mqtt": {}, "recordOnMovement": false } ], "platform": "CameraUI"