potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
140 stars 17 forks source link

ERROR Failed to start stream: input to ffmpeg was provides as stdin, but the process does not support stdin #62

Closed tealtwo closed 1 year ago

tealtwo commented 1 year ago

It records too late because of the error in the title, which results in no hksv recordings.

psdl-dev commented 1 year ago

I have the same problem.

jrbaker87 commented 1 year ago

Same problem here too. Still trying to find a solution. I have noticed it sometimes is followed by:

Failed to start stream: input to ffmpeg was provides as stdin, but the process does not support stdin.

[HDS ::ffff:IP ADDRESS] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.

Don't know if it is coincidence or the two errors are related but more often than not, I get the two messages together. The IP address for the second error is for my appleTV not my doorbell.

tealtwo commented 1 year ago

The ip address is their so your apple tv can analyze the clip to see if there was any motion there to record hksv. IMO Starling Home Hub Is better, you should just bite the bullet and buy one.

jrbaker87 commented 1 year ago

An ok thanks. Relatively new to all this. I'll check that out.

potmat commented 1 year ago

What environment are you running the plugin on?

jrbaker87 commented 1 year ago

I'm running homebridge in a docker container on an Unraid server.

potmat commented 1 year ago

We've seen problems like this in the past with that exact setup that were resolved by running Homebridge on a host directly (such as an RPi) on the local network. It seems that the WebRTC stream has problems with the networking associated with such as setup: https://github.com/potmat/homebridge-google-nest-sdm/issues/43

jrbaker87 commented 1 year ago

Ok I'll give that a try. Thanks for the assistance.

jrbaker87 commented 1 year ago

We've seen problems like this in the past with that exact setup that were resolved by running Homebridge on a host directly (such as an RPi) on the local network. It seems that the WebRTC stream has problems with the networking associated with such as setup: https://github.com/potmat/homebridge-google-nest-sdm/issues/43

This fixed the issue. Many thanks.