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.
    • M Offline
      MMRIZE @plainbroke
      last edited by MMRIZE

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

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

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

        Slow learner. But trying anyways.

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

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

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

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

            @BKeyport @MMRIZE
            I went back to Buster (10) and my Mirror with rtspstream is working great now. Using OMXplayer. I will stick with buster until someone can get rtsp to work with bullseye (11) or whatever 12 is going to be called when it comes out…

            Slow learner. But trying anyways.

            BKeyportB 1 Reply Last reply Reply Quote 0
            • 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 2 / 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