RTSP for V3

I made the assumption that RTSP would be coming out shortly after the v3 release. I use Blue Iris also. Now I’m using BlueStacks for my single v3 camera and Blue Iris for the rest of them, which is very annoying. Thinking of going with another brand that has RTSP right out of the box, especially since we aren’t given an expected release date.

1 Like

Is there any way to switch the encoding that the TinyCam web server uses for live feeds? I’m using it with Wyze v3 cameras and I noticed that TinyCam receives the video at approx 160KB/s but the TinyCam web server streams the same video feed at approx 4300KB/s. I’m guessing this is because the TinyCam web-server uses mjpg/mjpeg codec (Google Chrome says the video is fed from “/axis-cgi/mjpg/video.cgi”). I currently consume the TinyCam mjpg feed into my BlueIris and I would prefer not to have BlueIris have to transcode from mjpg, but if I don’t then a 15min clip takes up 4GB of space. Just makes most sense for TinyCam to do the transcoding to a better format since it’s already doing some sort of encoding for the web server

Yes, I’m running a Android X86 VM on my Blue Iris Server with Tinycam, I have 2 V3 cams and the new Wyze Doorbell all being brought into Blue Iris with my 8 other Pan & V2 cams. Rube Goldberg would be proud!

Another possible alternative to RTSP:
https://n1ckyrush.com/en/blog/3-how-to-make-wyzecam-stream-stable-hls-instead-of-rtsp
Prerequisite: wyzehacks, now available for v3, too.

3 Likes

Interesting stuff, but I wonder why he didn’t just point VLC at the NFS share instead of throwing in FFMPEG to interface with Shinobi. VLC would have no problem treating the folders as a stream directly (reportedly).

I like this but wish there was a way to get real time streams on home assistant. The minute delay is kinda a deal breaker

It is SO possible! All someone, anyone has to do is take the time to re-implement the Wyze authentication code Alexey of TinyCam already donated to the public.

1 Like

Link?

Argh, I know I posted this here before in response to the same question but after 10 minutes I still couldn’t find it. Tagging “Alexey”, “TinyCam”, “source code”, “donated”, “open source”, “reverse engineered”, “API”, “authentication”. Direct link and evidentiary screenshot from Alexey’s Reddit post below.

1 Like

My apologies, all this time I had credited Alexey directly for the reverse engineering effort. Apparently that credit goes to a team led by Nicolas Boulet-Lavoie, and Alexey simply implemented it.

2 Likes

Thanks, and in Github, too. Helps a lot.

2 Likes

Is there a way to use this with home assistant?

Man, I REALLY hope the new v3 cameras get RTSP firmware implemented soon. I have managed to kludge this together to get it to work in iSpy by combining a few posts from this thread. I have set up MEMU on the same computer running iSpy and bridged the network connection in MEMU. I installed TinyCam Pro, and activated the webserver and THEN set up a camera in iSpy using MJPEG with this URL - http://192.168.xx.xx:8083/axis-cgi/mjpg/video.cgi?user=&pwd=&camera=1 SHEESH, this should prove very stable… ;/ C’mon WYZE, get the RTSP firmware for v3 released… image|690x358

3 Likes

Nice find, thanks for sharing!

I’ve been working on this method with no luck. I have it writing mp4 files to my NFS share and I’ve been able to get wyzecam-hls running. The problem is the HLS stream runs until it rolls from one mp4 file to the next. iOS plays the HLS stream perfectly but VLC, Chrome and Shinobi all hang when it reaches the end of the minute. Such a bummer because I got object detection and everything working. It just doesn’t last more than a minute. The author of wyzecam-hls has literally never responded to anyone on GitHub so I’m not holding my breath on getting any help from him. I’m excited at least to get WyzeHacks working on my v3 and was able to update to the latest firmware and it survived the update.

1 Like

Finally, I solved the issue with wyzecam-hls! I have stable video into Shinobi (or anything that can accept an HLS stream). The only downfall is it is ~65 secs lagged. The cloud stream is still intact so you can still use the Wyze app if you want to monitor in realtime. I’m going to put in a pullrequest to patch up wyzecam-hls so others can also use it with the V3.

3 Likes

I have a pull request to fix wyzecam-hls here: fixes for v3 cam by noelhibbard · Pull Request #8 · n1ckyrush/wyzecam-hls · GitHub

I’ve got this thing working perfectly in Shinobi now. Object detection works well even at night.

2 Likes

Trying to get my v3 working in BI. So you got it to work as shown in the screenshot, with no other software?
Going through the camera numbers in my browser now. I have the older version of BI.

That only works if you already have TinyCam Pro in web server mode and the V3 configured in TinyCam. The address is that of TinyCam, not the camera.

2 Likes

Thank you. Purchased Tinycam Pro today and will work on config later!

2 Likes