-
Notifications
You must be signed in to change notification settings - Fork 24
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
The streaming-pr ffmpeg command doesn't work with the original Arlo cameras #27
Comments
Good to know, thanks for the info! I only have Arlo Pros myself, so it's hard to test. You're right it should be a relatively easy logic switch based on device capabilities. I haven't looked at this in awhile so I'll have to refresh my memory, but presumably the device type is buried in the device info. |
For some reason I don’t even see the cameras in Home app with master branch or this branch. The log shows the plugin found 3 cameras though. |
Cameras do not appear automatically in HomeKit. You need to add them manually via the + button in the top right-hand corner. Select "Add Accessory", then "Don't Have a Code or Can't Scan?" link. The cameras should appear as Nearby Accessories in the following screen. Use the HomeKit code for Homebridge itself to add each one. |
@Djelibeybi thank you! You saved my day. |
@Djelibeybi Is there anyway you can share your arlocamerasource.js with the changes you made? I tried to follow your suggestions on removing audio but I still can't get my stream to work properly. Any help would be appreciated. Thank you! |
They're up in there in the first post. :) But to be honest, I've removed the cameras from HomeKit as it was generally unstable and caused the cameras to be activated way too often, which kills the batteries. |
No worries. I hate to just abandon these cameras because they have been good to me over the past few years. I literally can’t get my streaming working. Thanks anyway!
… On Mar 9, 2019, at 6:22 PM, Avi Miller ***@***.***> wrote:
@Djelibeybi <https://github.com/Djelibeybi> Is there anyway you can share your arlocamerasource.js with the changes you made?
They're up in there in the first post. :) But to be honest, I've removed the cameras from HomeKit as it was generally unstable and caused the cameras to be activated way too often, which kills the batteries.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#27 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AhOy71EY2K1lE3yEftpNJMg3nCOU0hVrks5vVFAugaJpZM4ZbpOc>.
|
The streaming only ever worked the first time you access the camera(s) from HomeKit anyway. After that, it wouldn't reconnect. It also stopped grabbing stills after the first capture. So even once they were working, they didn't really work. |
Exactly what I am running into now. Thank you for helping me end my madness!
… On Mar 9, 2019, at 6:26 PM, Avi Miller ***@***.***> wrote:
The streaming only ever worked the first time you access the camera(s) from HomeKit anyway. After that, it wouldn't reconnect. It also stopped grabbing stills after the first capture. So even once they were working, they didn't really work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#27 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AhOy74X1xfBPPVNMakHRwoy2wcVFLtbVks5vVFEygaJpZM4ZbpOc>.
|
You're welcome, glad to (not really) help. :) |
Now I am able to repeatedly access video stream of original Arlo cameras with this commit. The snapshot is retrieved from device presigned last image instead of activating the camera, which might hit some rate limiting too quickly. Plus it doesn't drain battery much. |
Ping @cbpowell and @devbobo
The
ffmpeg
command generated byArloCameraSource.js
assumes there is both a video and audio stream delivered by Arlo. However, the original Arlo cameras do not have a microphone therefore there is no audio stream.If I change the video stream to
-map 0:0
and comment out the entire audio stream processing block then the live stream works* just fine:ffmpeg
. I run Homebridge on an Oracle Linux 7 box and I installedffmpeg-2.8.15-1.el7.nux.x86_64.rpm
from Nux Desktop but 2.8.15 is too old to handle the stream from Arlo as you require ffmpeg 3.4 or higher for the stream source.When I upgraded to
ffmpeg-3.4.2-1.el7_5.awel.0.x86_64.rpm
from AWEL Media Packages it progressed from theOperation Not Permitted
error I was getting initially. Once the stream actually started, then it barfed on the video/audio mismatch issue.So, some logic is needed to determine whether the camera has a microphone or not and build the
ffmpeg
command accordingly.BTW, I grabbed https://github.com/jeffreydwalter/arlo and tested with https://github.com/jeffreydwalter/arlo/blob/master/examples/arlo-streamingvideo.py and my original Arlo generates the following video:
Hope that helps! I'm not a node developer, but if I get a chance over the break I might try and fix this myself and submit a PR. But no guarantees I'll have the time, as I'm a (very) newly married man.
The text was updated successfully, but these errors were encountered: