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

      @BKeyport Ok thanks for the information…

      Slow learner. But trying anyways.

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

        Most browser doesn’t support RTSP protocol natively. There would be several plugins/extensions to enable that feature, but not for RPI (I have not found yet.)

        One available approach would be real-time transcoding RTSP to affordable formats (for example, MJPEG) to be handled by the browser itself. Maybe ffmpeg could do that in the background. I think it could be done as MagicMirror module, but I believe as an independent background daemon, it will work better.

        Hmmm. I have no RTSP device at this moment, so I cannot prove this by myself. Anyway, in my opinion, this method will work.

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

          I scratch up a very simple module to prove my theory;
          87b27c9f-2f45-4730-96d2-334b2be0c714-image.png

          It seems working.

          But;

          • There would be some delay. (even almost 2s on my M1MaxMBP. So in RPI, it would be more. not yet tested.)
            • Some old/weak SBCs might not have enough power to handle real-time converting.
            • multi cam’s streaming would be too burdensome, more tests be needed

          Anyway after some adjustment, I’ll release the module in a few days.

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

            @Ronald @plainbroke @BKeyport (or any others)
            Do you guys still have an interest in this issue? (RTSP implements on MM).

            4db42fbf-6b7f-4ab5-b597-da35b1bd9f68-image.png

            I build up a simple module, and It looks to be working, but my Home IP cams don’t support long-live RTSP streaming (Because it is not wire-powered, thus to protect from battery draining, the feature has limited.), And at this moment, I don’t have any RPI to test. (I tested this module on Mac, VIM3(Ubuntu) but not on RPI.

            So, I need the help of a real-world test. Anyone who has interests and has RTSP-streamable cams, Give me DM, please. (in this forum or eouia0819@ gmail. com)

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

              @MMRIZE I would be happy to test when I get back home in a week. I’m out of town on business.

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

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

                @MMRIZE
                I will be happy to test when I get back home. You have my email already.
                Send me a link or whatever so I can try it when I get back or if can get this chrome book changed over so i can run a MagicMirror on it…

                Slow learner. But trying anyways.

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

                  @MMRIZE
                  Hey I am back where I can test this RTSP module you have whipped up…
                  Heck I would be fine if I could get RTSPStream to work with vlc since I use full screen when the camera feeds come around in the MMM-Carousel module.
                  email same as user @gmail.com. What you are showing would be great if I can use it at full screen above or something like that…

                  Slow learner. But trying anyways.

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

                    @BKeyport
                    Where can I get your blank space module and the whatever Player you use?

                    Slow learner. But trying anyways.

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

                      @plainbroke the blank space module is “MMM-Block” - on the 3rd party module list.

                      I then use OMX, so you have to use either pre-current RPI OS, or figure out how to install it, as it’s abandon-ware.

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

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

                        @BKeyport
                        I have been looking at both and neither will work with my MM.
                        I thank you for the information though I thought for a bit I could make it work, but I finally just gave up. My head was hurting from all the reading and searching to get it all to work. You must have the patients of Job to get that to work. More likely you understand code WAY better than I do… All this code is way above my understanding…

                        Slow learner. But trying anyways.

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