• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 8.1k 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.
  • R Offline
    Ronald
    last edited by Ronald Jun 1, 2022, 6:24 PM Jun 1, 2022, 5:25 PM

    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

    B 1 Reply Last reply Jun 2, 2022, 5:21 PM Reply Quote 0
    • B Offline
      BKeyport Module Developer @Ronald
      last edited by Jun 2, 2022, 5:21 PM

      @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 Jul 20, 2022, 9:41 PM Reply Quote 0
      • P Offline
        plainbroke @BKeyport
        last edited by plainbroke Jul 20, 2022, 9:58 PM Jul 20, 2022, 9:41 PM

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

        Slow learner. But trying anyways.

        B 1 Reply Last reply Jul 20, 2022, 11:00 PM Reply Quote 0
        • B Offline
          BKeyport Module Developer @plainbroke
          last edited by Jul 20, 2022, 11:00 PM

          @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 Jul 21, 2022, 1:32 AM Reply Quote 0
          • P Offline
            plainbroke @BKeyport
            last edited by Jul 21, 2022, 1:32 AM

            @BKeyport Ok thanks for the information…

            Slow learner. But trying anyways.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE
              last edited by Jul 21, 2022, 10:20 AM

              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 Jul 21, 2022, 3:36 PM Reply Quote 0
              • M Offline
                MMRIZE @MMRIZE
                last edited by Jul 21, 2022, 3:36 PM

                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 Jul 22, 2022, 2:40 PM

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

                  B 1 Reply Last reply Jul 22, 2022, 2:48 PM Reply Quote 1
                  • B Offline
                    BKeyport Module Developer @MMRIZE
                    last edited by Jul 22, 2022, 2:48 PM

                    @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 B 2 Replies Last reply Jul 23, 2022, 9:57 PM Reply Quote 0
                    • P Offline
                      plainbroke @BKeyport
                      last edited by Jul 23, 2022, 9:57 PM

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

                      P 1 Reply Last reply Jul 27, 2022, 11:33 PM 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