EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

Can't see "big" preview in Synology Surveillance Station #755

Closed ghost closed 5 years ago

ghost commented 6 years ago

Hi!

I hacked my Xiaomi Dafang to add it to Synology Surveillance Station. It works perfectly but there's a problem in Surveillance Station.

image

As you can see, the little preview works but not the big one, it's the same for the "live view" app (where you can watch multiples camera). I tried the H264 and MJEPG RTSP Server, auto/UDP/TCP, turn off audio, nothing works. The test connection is ok. All features about detection seems works.

Thanks in advance for your help!

sergeymaysak commented 6 years ago

Sounds as connection to camera is dropped or not established by SS. Can you see stream using VLC? I have made it working by using the following setup:

Again - make sure you can see stream in VLC. If you cannot see stream in VLC - change video settings (say lower resolution).

ghost commented 6 years ago

Absolutely no problem to stream with VLC. I tried with your settings (and lower video size to try) but it's the same, grey screen.

Karunamon commented 6 years ago

I ran into this recently - in your Synology settings, make sure that your security settings are set to "Intermediate". (DSM -> Control Panel -> Security -> Advanced).

ghost commented 6 years ago

It is, and even with the lowest settings the live view doesn't works.

jdbeitz commented 6 years ago

I have had troubles with Synology when audio is enabled...

ghost commented 6 years ago

It was the first thing I disabled. @jdbeitz Could you show me your settings if it's working for you? In the hack UI and in Surveillance Station, thanks.

tesnic commented 5 years ago

I have the same problem @Adrimau , can you finally fix it? thanks

ghost commented 5 years ago

Nop @tesnic, I gave up the idea. I manage my camera in Mi Home, too bad.

cmol1 commented 5 years ago

Sounds as connection to camera is dropped or not established by SS. Can you see stream using VLC? I have made it working by using the following setup:

  • video settings: H264 RTSP, 1600x900, CBR 100 kb bitrate
  • audio settings: does not matter - to make stream with SS working I disabled audio for camera in SS

Again - make sure you can see stream in VLC. If you cannot see stream in VLC - change video settings (say lower resolution).

Hi,

To fix the audio, please change the format to PCM, then it should work. According to Synology, "Surveillance Station supports G.711, G.726, AAC, AMR and PCM audio formats. The actual supported audio formats depends on the camera specification."

I'm using PCM and all my issues went away :).

Cheers

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.