MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Magic Mirror - RTSP not integrated

    Troubleshooting
    5
    31
    1576
    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.
    • Ronald
      Ronald last edited by Ronald

      My Magic Mirror works fine except for one part. I have an agenda, a birthday calendar, rain radar, a photo slideshow and a newsreader running without any problems. Now I also want to show an IP camera image via RTSP, but I am not able to integrate this into the whole. I can only show an overlay showing the top bar with menu. I can place it wherever I want on top of the other modules. The image itself (in VLC player) is completely frameless. Any suggestions?image-01.jpg image-02.jpg

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

        @Ronald video feeds in MM is one of the biggest issues known. People have tried and failed all over the place. Personally, I gave up myself on the modules, and load OMX (for now, as it’s dead software) on top of the MM with a blank space provided by MMM-Block. VLC for my feed is forced full screen and I can’t figure out how to shrink it and position it.

        If I could get a modern piece of software to play nicely with MM - I’d switch for sure.

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

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

          @BKeyport
          Where are you getting OMX so that it installs for MM?
          Everywhere I look it fails to install or has dead links to the program’s dependents.
          Please explain like you are talking to a child. I am still trying to figure this all out, one of these days it will hit me like a brick and I will not be bugging you all so much…

          I have the same issue with VLC it is out of control on the size issue on my screen.

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

            @plainbroke I don’t. Gave up on an internal solution, built a blank space module, and launch OMX independently so it sits on top of the blank space.

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

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

              @BKeyport Ok thanks for the information…

              1 Reply Last reply Reply Quote 0
              • M
                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
                  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
                    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)

                    BKeyport 1 Reply Last reply Reply Quote 1
                    • BKeyport
                      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"

                      P BKeyport 2 Replies Last reply Reply Quote 0
                      • P
                        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…

                        P 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy