MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic Mirror - RTSP not integrated

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    31 Posts 5 Posters 9.9k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • BKeyportB Offline
      BKeyport Module Developer @plainbroke
      last edited by

      @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…

      The "E" in "Javascript" stands for "Easy"

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MMRIZE @BKeyport
        last edited by

        @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.

        BKeyportB 1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @MMRIZE
          last edited by

          @MMRIZE Thanks for the attempt. We’ll get there, somehow.

          The "E" in "Javascript" stands for "Easy"

          plainbrokeP 1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @BKeyport
            last edited by plainbroke

            @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

            Slow learner. But trying anyways.

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @plainbroke
              last edited by

              @plainbroke https://github.com/MMRIZE/MMM-RTSP is where he kept his attempt.

              It’s still there for now. :)

              The "E" in "Javascript" stands for "Easy"

              plainbrokeP 2 Replies Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @BKeyport
                last edited by

                @BKeyport
                Thank you.

                Slow learner. But trying anyways.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  Laz
                  last edited by

                  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… (((

                  https://forum.magicmirror.builders/topic/17389/the-problem-of-displaying-the-flow-from-the-mmm-rtspstream-module-after-turning-on-the-screen-by-the-motion-sensor

                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • BKeyportB Offline
                    BKeyport Module Developer @Laz
                    last edited by

                    @Laz If you’re using VLC, likely not. There’s too many programs being run to make it work.

                    The "E" in "Javascript" stands for "Easy"

                    1 Reply Last reply Reply Quote 0
                    • plainbrokeP Offline
                      plainbroke @BKeyport
                      last edited by

                      @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,
                                      }
                      },
                      

                      Slow learner. But trying anyways.

                      BKeyportB 1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer @plainbroke
                        last edited by

                        @plainbroke sorry, unsupported due to excessive load on Pi.

                        I’d recommend something else. What that else is, I have no clue.

                        The "E" in "Javascript" stands for "Easy"

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy