telmomarques / xiaomi-360-1080p-hacks

Hacks for the Xiaomi Mi 360 1080p camera (MJSXJ02CM).
761 stars 129 forks source link

No rstp #85

Open panoskpv opened 2 years ago

panoskpv commented 2 years ago

I have 4.0.9 firmware and used this https://gist.github.com/belkone/fb63376a9b6b6ebe969e9c8f96c0defb. I used files in the latest release. The ones in "download zip" option not working at all. I can access the web UI but no rstp. In web UI I get a loading circle like YouTube, and when I go to rstp URL using VLC I get an error. Also, if I add onvif support I can move camera using ptz, but I have no image. Any ideas?

developergray commented 2 years ago

Exact same issues with mine too. I used the programmer with same guide. Can access the webpage, but stuck at loading spinner. App streams ok.

Is it possible the newer firmware is blocking the access? If so, is it possible to downgrade to older versions?

L337C0D3R commented 2 years ago

same here as well

KuznetsovIvan commented 2 years ago

I did the same and have the same issue. But author of this method specified it in this comment: https://github.com/telmomarques/xiaomi-360-1080p-hacks/issues/65#issuecomment-857015177

Maybe i was able to figure out what the problem is in missing libraries.

When i run

cd /mnt/sdcard/hacks/rtsp-server/meta/service/
./framegrabber-mainstream &

I have the error:

./framegrabber: error while loading shared libraries: libshbf.so.0.1: cannot open shared object file: No such file or directory

In this issue: https://github.com/telmomarques/xiaomi-360-1080p-hacks/issues/18 said that for version MJSXJ05CM some people recompile framegrabber. Unfortunately, I don't know if this will help or not.

I found 2 repositories that may help somehow solve this problem with framegrabber: https://github.com/telmomarques/mija-framegrabber/ https://github.com/telmomarques/x360h1080p-rtsp-server/

if someone could run RTSP on 4.0.9 firmware it was awesome.

dannylin0711 commented 1 year ago

Got solution. You need first install the hack and setup ssh first.

cd /mnt/data/lib
cp libshbf.so libshbf.so.0.1
cp libshbfev.so libshbfev.so.0.1

After that, restart the device and head into web config server, turn on rtsp server and select H.265. In case that doesn't work, restart device after rtsp turn on.