colinbendell / homebridge-blink-for-home

Blink For Home Camera Homebridge plugin
MIT License
88 stars 27 forks source link

LiveView doesn't work for XT2, Blink, new indoor, new outdoor cameras #20

Open nektus opened 3 years ago

nektus commented 3 years ago

Hello,

I cannot display the video stream of a camera.

I get the following message in the console.

Video] ffmpeg exited with code: null and signal: SIGILL (Video stream stopped!)

shahzib111 commented 3 years ago

any update on this issue?

colinbendell commented 3 years ago

I've added a better interstitial for modern cameras to give a better idea of what's going on.

The good news is that I've made progress reverse engineering the immis protocol. The bad news is that I haven't been able to yet coerce ffmpeg to accept the streaming of these mpegts fragments. But the new CLI tool bin/blink liveview --save mycamera will work

sentocv commented 3 years ago

I've added a better interstitial for modern cameras to give a better idea of what's going on.

The good news is that I've made progress reverse engineering the immis protocol. The bad news is that I haven't been able to yet coerce ffmpeg to accept the streaming of these mpegts fragments. But the new CLI tool bin/blink liveview --save mycamera will work

Then, in the new version, the liveview doesnt work?

colinbendell commented 3 years ago

If you use the CLI you should see the liveview being saved. In HomeKit, no it doesn't yet work. I need to do more reverse engineering of the RTP protocol that they have wrapped with their own custom bits

monteroman commented 3 years ago

Hi Colin. Is this the same issue I'm having with pulling up a live stream:

LiveView Stream: rtsps://lv3-app-u002.immedia-semi.com:443/somelongstringhere?client_id=247&blinkRTSP=true listening on 0.0.0.0:43031 [11/21/2020, 8:48:00 AM] [Blink Cameras] [Video] ffmpeg exited with code: 1 and signal: null (error)

Mine are all XT2's except for 2 indoor ones, but they all throw the same error. HomeBridge version 1.2.3 Plugin version 3.6.1 Node version: 14.14.0

Homebridge is running within Docker under Unraid.

Ryamonster10 commented 3 years ago

Any updates on this issue?

tale commented 3 years ago

I've added a better interstitial for modern cameras to give a better idea of what's going on.

The good news is that I've made progress reverse engineering the immis protocol. The bad news is that I haven't been able to yet coerce ffmpeg to accept the streaming of these mpegts fragments. But the new CLI tool bin/blink liveview --save mycamera will work

This doesn't work anymore. I've attempted my own bits of research by dumping the iOS app to see how Blink themselves do it. So far I've discovered something called WalnutPlayer, which seems to handle decoding the stream. Unfortunately, I haven't yet reached a point where I can conclusively recreate a decoder, but I will let you know when that happens.

tale commented 3 years ago

It's a tiny bit modified but yeah this is the error you get. image

lcslouis commented 2 years ago

any update on this issue?