Closed schliemann closed 2 years ago
@schliemann
Hi,
the video I get from the station is untouched, there is no post-processing done like probably with the "Eufy Cloud". I think it has nothing to do with the IR Night Vision. You can easily edit the RAW stream you get with ffmpeg through filters (brightness, contrast etc.).
I believe you are correct. The night vision mode does indeed kick in. However it is still extremely difficult to make anything from the stream when it is enabled. I'm not an expert, but I don't see how filters in ffmpeg can fix this.
Eufy cloud
Station stream with ffmpeg filter eq=brightness=0.1:saturation=2
Night vision enabled
Night vision disabled
@schliemann I have already tested the livestream extensively with my Eufycam 2 some time ago and had no problem with night vision on or off. Therefore, I can not understand your image "night vision enabled".
@bropat The device I'm using in this test is T8210_Video Doorbell 2K. When I write that night vision is enabled it is because it can be set in the device settings:
The stream is most of the day a bit dark. But when night vision kicks in at around 9 pm UTC the stream goes more or less black.
I'll gladly share the doorbell with you through guest access.
@schliemann I will get back to you in about 2 weeks
@schliemann
I just tested it with my ioBroker adapter, which also uses eufy-security-client, and the video is fine:
The problem must lie somewhere else, not with the library eufy-security-client
@bropat Interesting. Your ioBroker works slightly different, since you use fluentffmpeg and save files to the disk. Can you see anything that looks completely off here?
I use ffmpeg-for-homebridge - not sure if this could be a problem. The rtsp stream looks normal when using it however.
@schliemann Have you tried removing these?
Apart from the filter parameters, I don't see any difference.
@bropat I finally figured out why my snapshots didn't utilize night vision. Apparently it is not present in the first frame(s) of a started livestream. When I added seeking (-ss) of half a second the night vision is turned on.
Bug Using the station livestream returns a stream which is rather dark and doesn't make use of the IR night vision
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Station livestream makes use of IR night vision and is comparable in colour to cloud livestream.
Screenshots & Logfiles![StationLiveStream](https://user-images.githubusercontent.com/10818044/124092890-9e6ebf00-da57-11eb-86d0-1efde8b87ad8.png)
Snapshot from station livestream:
Snapshot from eufy app![EufyApp](https://user-images.githubusercontent.com/10818044/124092897-a0388280-da57-11eb-8d95-e070660f22f7.png)
Video shows cloud livestream and then a very dark snapshot. The livestream uses IR night vision the stream from the station doesn't:
https://user-images.githubusercontent.com/10818044/124093016-bcd4ba80-da57-11eb-922e-a0665c10962c.mp4