-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Ffmpeg not found #211
Comments
Identical problem - using HOOBS. Having an issue with Ring cameras - will show the snapshot, but not the live video. Log shows that it cannot find ffmpeg. Used terminal to install using "sudo npm install ffmpeg" and it appeared to install - restarted service, restarted appletv hub, restarted iPhone, added ring camera to Home app again. Didn't work - log still showing that it cannot find ffmpeg. The error in the Home app is "No Response. This camera is not responding." All the doorbell cams, spotlight cams, & inside cams work fine on Ring app. Using Eero Pro mesh system w/ ethernet backhaul. Raspberry Pi 3. |
Use the wiki for installing FFMPEG |
Eero must of changed something. Because ever since 3.17 I think. I haven’t had live stream |
Live stream still works in ring app for you though? Does for me, just not in Home app. |
sudo apt-get install ffmpeg |
Thank you. Log shows ffmpeg found now, but still no live stream [Homebridge] [12/30/2019, 17:51:09] [Ring] Snapshot for Pond Received (3.754s) |
You need follow the wiki for FFMPEG, so it is your eero. |
Opened most of the ports for a ring camera based on this - https://support.ring.com/hc/en-us/articles/205385394-What-Ports-Do-I-Need-to-Open-in-My-Firewall-for-Ring-Doorbells-and-Chimes- Ports | Traffic type | Protocol 15063/15064 | SIP | TCP/UDP Restarted iPhone, appletv, Pi, deleted & added that ring camera - no live view. |
Opening up these port towards the machine on which the software of this repository is running, works for me. |
Same here when I opened up the ports that the cameras are on that HomeBridge assigns it works |
Nvm, worked once and then stopped. |
Did some digging and ugly hacking, eventually in node_modules/ring-client-api/lib/api/rtp-utils.js to This enabled the number of open UDP ports to be forwarded to be a smaller range e.g. 18000-18100 I might be breaking other things here in the source, so please do not change your source this way, and accept this to be only informational. |
@rixxka2000 Wanted to add something else to this discussion. ffmpeg needs to be present for audio in the live feed. For video-only live feed, the plugin can provide that 'out of the box'. If you can't even get live video feed, ffmpeg isn't your problem. It's likely a network issue. Besides reading the troubleshooting wiki for networking configurations, check out Issue #191. We should have an update soon that resolves my problem from #191. |
@SeminolesFan78 is spot on with his response. FFMPEG is not required to do live streaming, only if you want audio. If you want audio in homebridge, With ffmpeg aside, live streaming failures come down to network related issues. The most common issue so far has been that the users router does not properly open the port for UDP traffic to flow in for the live stream. #191 has a lot of detail about why this happens, but the simplest explanation is that the requests to open a port were not always being sent to your default gateway, just a preset list of common default gateway ip address. This has been fixed in v There is still a possibility that live streams won't work, even on v |
So did you open 100 ports like 16500 to 16599? I only did 10 to see if I could get it to work, but I get this. The screen goes black and then it disconnects. When I don't have to ports open it spins on the snapshot picture and then says it is disconnected. So, I am thinking that it is kinda working but I just need to open more ports?
|
@arejay73 please try v |
So, how do I verify that I have installed v5.12.1? I ran the following commands:
I removed the doorbell, restarted Homebridge and then add the doorbell back. I am able to see the snapshot updating, but no live feed. I get the message it trying to start. My network router is an Eero. Should I try opening the UDP Ports and try again? |
I think this is an Eero issue! I turned of UPnP under Advanced in Eero App and Live Video works once. I try again and it doesn't work. Then I turn UPnP on and it works again. I try again after a little bit and it stops working. |
Ok. I will talk to eero support and see if we can find a resolution. |
Having the same issue here - I also use eero.
Thank you!
Bradley Ward
…________________________________
From: arejay73 <[email protected]>
Sent: Friday, January 3, 2020 5:10 PM
To: dgreif/ring
Cc: Subscribed
Subject: Re: [dgreif/ring] Ffmpeg not found (#211)
Ok. I will talk to eero support and see if we can find a resolution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#211?email_source=notifications&email_token=AMTPLOTQYJSUVDSQG7S5GRTQ36ZWFA5CNFSM4KA2BG4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICGL4A#issuecomment-570713584>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMTPLOT3J5QIQIA7PPXP2ULQ36ZWFANCNFSM4KA2BG4A>.
|
Had no luck with eero support. They swapped my eero’s around. Did some tinkering with UPNP on their end. Determined that if my Plex server was using UPNP ok it must be a Ring issue. |
I opened 16500 - 16599 along with all the other ports specified. Doesn’t work - same as before I opened the ports. |
@EarthRise626 @arejay73 @burnusgas If you all have eero? Do you have eero secure on at all? |
I do. |
Turn it all completely off and see if live stream works |
Nope. Got similar behavior to toggling the UPNP setting. Turned Off advanced security and tested - Got a blank screen
Tried again - Hung at snapshot says No response - This camera is not responding
Toggled UPNP - Hung at snapshot says No response - This camera is not responding
|
Turn ever single eero secure setting off? Advanced Security, Ad blocking, and safe filters? Because It has all worked since I turned that off |
Bummer, didn’t work. Tried with Everything turned off. Still got same behavior as not turning off safe filters. My iot devices are not on an eero profile So I left the safe filters alone and with my family disabling For other devices won’t be an option at this time. |
Ok, I finally broke down and implemented external port configuration. To give it a try, install v
LOTS OF NOTES/ASTRICTS on this
Thank you all for your patience. Hopefully this is the finally step to get streaming working for everyone! 🤞 |
Just upgraded to 5.13.0-alpha.0, still struggling with live video with a Ring Doorbell 2. I think this might be a separate issue but I keep getting:
However, if I use two devices and use the Ring app on the first device to view the live stream and then open the Home app on the second, it works fine every time. I can repeat this over and over. |
@htims1989 the 480 errors happen when you start/stop/start the stream for a camera repeatedly in a short period of time. I have spent hours try to fix it, but no luck so far. I can't quite pin down what Ring is doing differently with their SIP requests compared to ours. @arejay73 @rixxka2000 @burnusgas @EarthRise626 can some of you try out |
Hi @dgreif I am more than happy to try the Alpha release , can you let me know how to upgrade to it as the homebridge config x won't show alpha releases, sorry noob question :-) |
@rixxka2000 assuming your homebridge setup is like most, you can run |
I had guessed that but just wanted to check , ill do it now , |
still nothing sorry [1/10/2020, 15:09:50] [Ring] Preparing Live Stream for Front Door |
@rixxka2000 did you try locking the ports using |
no my network is all apple airport extremes and expresses |
Can you try turning on |
nat-pmp is enabled on the main router , I don't have a default host ip specified but it should be auto configured in that case |
Man, that's really odd that it still won't work. Is it possible that the stream is passing through multiple airport devices to get to your homebridge server? If so, you would need to make sure that all except your main router are as transparent as possible (no DHCP enabled, etc). I will take another look at the NAT punching setup when I get a chance. There must be a better way to do it that isn't so reliant on networks being properly configured 🤞 |
I agree , and no it’s a direct route , the main router is right beside the ring pro (about 2meters away) and it is hardwired up to an unmanaged 16 port switch and into the pc where Homebridge is running , |
Same issue here. |
I wanted to debug my random "only sound" issue so I tried to run it without docker. Installed ffmpeg, installed node 10 and ran the record example. Unfortunately, now I'm back to the 286 bytes video problem. I also tried node 10, but that doesn't work either. Anybody an idea? |
I just released v |
I took another run at Eero to fix this without any success. I can confirm for my situation that I ended up leaving my previous Airport Extreme as my main router with WiFi turned off and then have 3 Eero Pros hardwired into a common switch with the Eero in bridge mode and the Airport Extreme with NatPMP enabled and my live stream consistently work. When I put the Eero in the router spot, even with uPNP enabled, I had hit or miss success opening a stream which proves the Eero is handling things differently. Here's the question I have. The Ring App never misses a beat and stream always open. Is that because the stream is coming from a Ring server in the cloud and not directly from the camera? Part of me keeps thinking if it works in the Ring app, then it's still an issue with the Ring HB code and not the Eero. |
Is anyone else having an issue with streaming video, i can get motion alerts , doorbell alerts and screenshots but no live feed, i installed ffmpeg and verified that it is working by typing ffmpeg into command prompt with admin access.
When i check my homebridge log it shows “ffmpeg cannot be found”
Probably a stupid mistake on my part ,
I am using a ring pro , and don’t have 2fa
Thanks
The text was updated successfully, but these errors were encountered: