Read the statement by Michael Teeuw here.
Magic Mirror - RTSP not integrated
-
@plainbroke
I’m still testing for optimal setting of rpi3. My approach(real time transcoding rtsp 2 mpeg to be implemented on html) seems somewhat burden for weak/old SBCs. Other more powered devices have enough to deal however. I’m not using rpi3 anymore, but not everyone.
Anyway I’m in summer leaves, so not have time at this moment. Maybe after 2 weeks I’ll continue. Plz wait a while. -
@MMRIZE
That is great to know. Thanks for the update, no worries.
I actually have RTSPStream up and running now using VLC.
So I am in no rush. -
@mmrize It working perfectly within my mirror, other than occasional pauses in stream… I use a PI4, and I’m currently in a heat wave, so it’s not running at full bore (I don’t have AC where the mirror is)
– edit:
OK - after a bit of burn-in, it’s falling all over itself. :(I think I’d be better off using snapshots. Problem is, only module I can find that can work with the snapshot system of my camera is RTSPStream, which just blows chunks otherwise.
-
-
@plainbroke I’m on Buster. RTSPStream blows chunks all over the place. MMRize’s module is better, but sadly, I don’t think the Pi’s have enough power to handle my stream effectively, and I can’t turn it down.
If I could do the re-encoding on a dedicated pi or something, it could work…
-
@BKeyport
Yup, My approach has looked so quite promising, but the usual RPI has not had enough power to deal. I haven’t tested RPI4 yet, but even RPI3B+ couldn’t; this approach would not be a general solution at that point. I was so disappointed.The dead points I found were these;
- HTML5 on Chrome(Chromium) cannot handle any standard LIVE Streaming format itself by default. (What a surprise!), It means additional player components are needed.(I tried to use JSMPEG and WebSocket.) It takes some resources.
FFmpeg
(or VLC) is needed to transcode RTSP to MPEG in the background. It is not light process for RPI.
Normal PC (and some modern powerful SBCs) easily handle these works, but not RPI3. So I am stopping the project at this moment. I wish I have a better idea about this thing.
Thanks guys.
-
@MMRIZE Thanks for the attempt. We’ll get there, somehow.
-
@MMRIZE
Darn, I am on a RPi 4 with 8gb ram, it has a 120gb ssd on a x825 expansion board. I think it should have enough umph to run a lot more than it does. Any chance I can get a preview of the module you where working on.?
@BKeyport
Maybe my setup is why RTSPStream seems to work well for my 5 different wyze cams that I am streaming from. I only stream one at a time and only for 45 seconds at a time, but they show up in a few seconds running MMM-Carousel as the page viewer. VLC works ok but takes way too long to populate and then I can’t control the size/zoom not sure which, So I only get part of the cameras view.So I guess I will stick with RTSPStream until one of these guinues coders come up with something that works better…
I appreciate the effort @MMRIZE -
@plainbroke https://github.com/MMRIZE/MMM-RTSP is where he kept his attempt.
It’s still there for now. :)
-
@BKeyport
Thank you.