samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: no video issues #318

Closed singas77 closed 2 years ago

singas77 commented 2 years ago

What happened?

[1/1/2022, 4:37:00 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Front Doorbell [1/1/2022, 4:37:03 PM] [EufySecurity] Getting the first frames took 5.709 seconds. Front Doorbell [1/1/2022, 4:37:05 PM] [EufySecurity] Getting the first frames took 5.039 seconds. Front Doorbell [1/1/2022, 4:37:06 PM] [EufySecurity] Stopped video stream. Front Doorbell [1/1/2022, 4:37:27 PM] [EufySecurity] Stopped video stream. Front Doorbell [1/1/2022, 4:37:28 PM] [EufySecurity] Starting video stream: 1920 x 1080, 30 fps, 802 kbps (AAC-eld) Front Doorbell [1/1/2022, 4:37:36 PM] [EufySecurity] Stopped video stream. Front Doorbell [1/1/2022, 4:37:55 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Front Doorbell [1/1/2022, 4:37:56 PM] [EufySecurity] Stopped video stream. Front Doorbell

Device Type

Doorbell (Supported)

Plugin Version

v0.2.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

other (UnSupported)

Operating System

Mac OS X 11+ (Supported)

Relevant log output

[1/1/2022, 4:37:00 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Front Doorbell
[1/1/2022, 4:37:03 PM] [EufySecurity] Getting the first frames took 5.709 seconds. Front Doorbell
[1/1/2022, 4:37:05 PM] [EufySecurity] Getting the first frames took 5.039 seconds. Front Doorbell
[1/1/2022, 4:37:06 PM] [EufySecurity] Stopped video stream. Front Doorbell
[1/1/2022, 4:37:27 PM] [EufySecurity] Stopped video stream. Front Doorbell
[1/1/2022, 4:37:28 PM] [EufySecurity] Starting video stream: 1920 x 1080, 30 fps, 802 kbps (AAC-eld) Front Doorbell
[1/1/2022, 4:37:36 PM] [EufySecurity] Stopped video stream. Front Doorbell
[1/1/2022, 4:37:55 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Front Doorbell
[1/1/2022, 4:37:56 PM] [EufySecurity] Stopped video stream. Front Doorbell
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

singas77 commented 2 years ago

that's correct even installed ffmpeg in home bridge and macOS

schliemann commented 2 years ago

And the ffmpeg binary is in the ffmpeg-for-homebridge folder?

singas77 commented 2 years ago

I believe so I have folder in ~/.homebridge for FFmpeg

singas77 commented 2 years ago

[1/1/2022, 7:28:12 PM] [EufySecurity] Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld) Front Doorbell [1/1/2022, 7:28:12 PM] [EufySecurity] Stopped video stream. Front Doorbell

schliemann commented 2 years ago

What version are you using?

singas77 commented 2 years ago

I’m using the latest update homebridge plugin and from ffmpeg.org I grabbed the latest also

singas77 commented 2 years ago

Has anyone run this with out installing ffmpeg ?

fullphat commented 2 years ago

Has anyone run this with out installing ffmpeg ?

Yes. I was going to install ffmpeg, but macOS complained about it not being trusted so I reverted to the version that ships with the plugin. I had to change the video codec to "copy" and then it worked fine for me.

singas77 commented 2 years ago

I’ll check that out cheers

singas77 commented 2 years ago

Has anyone run this with out installing ffmpeg ?

Yes. I was going to install ffmpeg, but macOS complained about it not being trusted so I reverted to the version that ships with the plugin. I had to change the video codec to "copy" and then it worked fine for me.

further instruction please

singas77 commented 2 years ago

I can not get this working at all 👎

Screen Shot 2022-01-04 at 13 20 23
singas77 commented 2 years ago

tried ffmpeg reinstall tried the codec = copy nothing working for me macOS home bridge

schliemann commented 2 years ago

I have installed the ffmpeg plugin. Will send the installation command later when at a pc.

schliemann commented 2 years ago

Please also provide your logs.

singas77 commented 2 years ago

I won't have any logs now done full uninstall / delete of all associated home bridge and reinstall funny thing when full uninstall everything stayed in HomeKit app Eufy_Homebase and camera

schliemann commented 2 years ago

Ok. So you don't need any help?

singas77 commented 2 years ago

oh I need some help I would love this to work

singas77 commented 2 years ago

Ok. So you don't need any help?

Screen Shot 2022-01-04 at 15 24 07
schliemann commented 2 years ago

@singas77 Can you set enableDetailedLogging to 2?

singas77 commented 2 years ago

homebridge.log.txt

schliemann commented 2 years ago

Also. I could only get ffmpeg to install the binary by running npm install --unsafe-perm ffmpeg-for-homebridge in the plugin folder.

singas77 commented 2 years ago

I used home-brew brew install ffmpeg

singas77 commented 2 years ago

Also. I could only get ffmpeg to install the binary by running npm install --unsafe-perm ffmpeg-for-homebridge in the plugin folder.

so you have doorbell video stream working?

schliemann commented 2 years ago

You can try this https://github.com/samemory/homebridge-eufy-security/issues/313#issuecomment-1002976535

singas77 commented 2 years ago

![Uploading Screen Shot 2022-01-04 at 15.24.07.png…]()

singas77 commented 2 years ago

You can try this #313 (comment) I have done that also

singas77 commented 2 years ago
Screen Shot 2022-01-04 at 15 24 07
singas77 commented 2 years ago
148012995-ba9618c2-f627-4f01-833b-e9bf167ca4da
schliemann commented 2 years ago

The plugin uses ffmpeg-for-homebridge. Pretty sure you will experience issues if you use vanilla ffmpeg.

singas77 commented 2 years ago

You can try this #313 (comment) I have done that also

can you please confirm if it is ffmpeg issue

singas77 commented 2 years ago

The plugin uses ffmpeg-for-homebridge. Pretty sure you will experience issues if you use vanilla ffmpeg.

so it is ffmpeg trouble;es

singas77 commented 2 years ago

[Uploading homebridge.log-2.txt…]()

schliemann commented 2 years ago

@singas77 Can't read your last log.

singas77 commented 2 years ago

homebridge.log-2.txt

schliemann commented 2 years ago

I think that's the log you have attached a couple of times before.

singas77 commented 2 years ago

what you want another

singas77 commented 2 years ago

I think that's the log you have attached a couple of times before.

there's 2 one is more than the first can you see any issues thou

singas77 commented 2 years ago

I think that's the log you have attached a couple of times before.

try this debug mode 2 homebridge.log-3.txt

schliemann commented 2 years ago

Very odd that there is no error log when the streaming crashes.

singas77 commented 2 years ago

Very odd that there is no error log when the streaming crashes.

It's god dam anoyying got any advice

schliemann commented 2 years ago

Are you on 1.0.8 or beta?

singas77 commented 2 years ago

v1.0.8 and HB v1.3.9 nom v8 node.js v16 macos monterey

singas77 commented 2 years ago

The plugin uses ffmpeg-for-homebridge. Pretty sure you will experience issues if you use vanilla ffmpeg.

Is that the actual ffmpeg-for-homebridge I don't have that installed what's the config

singas77 commented 2 years ago

Like the hb plug in or ffmpeg codec

lenoxys commented 2 years ago

can you test on beta ? https://github.com/samemory/homebridge-eufy-security/wiki/Beta-Version

singas77 commented 2 years ago

homebridge.log-4.txt

singas77 commented 2 years ago
Screen Shot 2022-01-04 at 23 21 00
lenoxys commented 2 years ago

can you provide access admin guest access to that account ? So I can confirm if it's related to your env or it's an issue with the plugin : eufy-plugin-test@secugrator.com

singas77 commented 2 years ago

can you provide access admin guest access to that account ? So I can confirm if it's related to your env or it's an issue with the plugin : eufy-plugin-test@secugrator.com

any further info