roleoroleo / yi-hack-Allwinner

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
445 stars 66 forks source link

9FUS - ONVIF Blackscreen #182

Closed Taranuka closed 3 years ago

Taranuka commented 3 years ago

I've bought a Yi Camera Home 3 1080P and I flashed your firmware.

I've added the camera into the NVR/DVR GRT-K1104A. The IP-Camera is recognized and connected. I can change some options but the screen is black. It's working with VLC-Player and RTSP-Stream.

Did I missed something or did wrong?

roleoroleo commented 3 years ago

Try to add the cam as rtsp (not onvif) and check if it works.

Taranuka commented 3 years ago

I've tested the camera on my laptop with ONVIF Device Manager (ODM) and the RTSP with VLC. Both worked fine. I'm new to ip cameras. This Camera is really strange to me.

I have a MikroTik RouterBoard and Fritzbox. The IP-Camera is switching between two IP-Addresses (192.168.88. and 192.168.178.). My DVR have a 192.168.88. IP. When I've connected it to my DVR/NVR with a 192.168.88. and try to show me a picture with my camera restarts and got IP-adress with 192.168.178.*. Could this be the issue?

Which username and password is used for SSH?

roleoroleo commented 3 years ago

I have a MikroTik RouterBoard and Fritzbox. The IP-Camera is switching between two IP-Addresses (192.168.88. and 192.168.178.). My DVR have a 192.168.88. IP. When I've connected it to my DVR/NVR with a 192.168.88. and try to show me a picture with my camera restarts and got IP-adress with 192.168.178.*. Could this be the issue?

I don't know but if there is a network problem, probably onvif does not respond at all. Not a blank screen

Which username and password is used for SSH?

root without password if you didn't change it.

Taranuka commented 3 years ago

Thank you. Both have now a IP-address with 192.168.88.* but it didnt solved my issue. The camera works fine with ONVIF Device Manager but shows only a blank screen if connected with the NVR. I did some research but didn't found anything than manuals for the GRT K1104A. ONVIF is backwards compatible?

NVR: ONVIF 2.2 Cam: ONVIF 2.0

roleoroleo commented 3 years ago

Does your NVR support RTSP?

Taranuka commented 3 years ago

I can access the analog cameras via RTSP looks like rtsp://NVR-Recorder:554/Streaming/Unicast/channels/401 but cant add a camera with rtsp-protocol. Only Grundig-1, Grundig-2 and ONVIF.

roleoroleo commented 3 years ago

Unfortunately onvif is a complicated protocol. Each manufacturer implements a part of it and there are lot of incompatibilities. If it works with odm I don't know how to help you.

roleoroleo commented 3 years ago

Are you able to make a dump of the tcp traffic between the cam and your DVR?

Taranuka commented 3 years ago

Do you know how I can do this? Could I make a dump with the Yi-Cam?

Am Sa., 21. Nov. 2020 um 20:41 Uhr schrieb roleo notifications@github.com:

Are you able to make a dump of the tcp traffic between the cam and your DVR?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/roleoroleo/yi-hack-Allwinner/issues/182#issuecomment-731626751, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARSVZGQJGQ7Z3D6AGFQYQVDSRAJWFANCNFSM4TF62AGQ .

roleoroleo commented 3 years ago

You need a tcpdump program. Like wireshark in windows or tcpdump in linux. This is the linux version for your cam: tcpdump.gz