Read the statement by Michael Teeuw here.
Magic Mirror - RTSP not integrated
-
@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. -
I also have a problem displaying the flow from the MMM-RTSPStream module after turning on the screen on the motion sensor. The stream image does not return to the frame of the desired location. Was it possible to somehow defeat the image shift? I know that the module is no longer supported, but maybe who was able to find a solution? ((
This is the kind of screen I have after the motion sensor is triggered… ((( -
@Laz If you’re using VLC, likely not. There’s too many programs being run to make it work.
-
@BKeyport said in Magic Mirror - RTSP not integrated:
@plainbroke https://github.com/MMRIZE/MMM-RTSP is where he kept his attempt.
It’s still there for now. :)
Hey,
I pulled that to my mirror but all I get is the header. Which tells me I have something wrong in my config file but, He did not put much for how to setup the config file… I know the module is working since it shows the header on my mirror, just not the actual rtsp of the camera.
Do you have time to show me what I need to setup in the config file?
Here is what I put in my config.js file.{ module: "MMM-RTSP", position: "middle_center", header: "RTSP - Garage", config: { streams: [ { rtsp: "rtsp://admin:admin@192.168.1.35:554/live", } ], wsPort: 2000, // should be unique. startStreamId: 1, } },
-
@plainbroke sorry, unsupported due to excessive load on Pi.
I’d recommend something else. What that else is, I have no clue.