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.

    How do I display an RTSP camera stream?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    16 Posts 4 Posters 4.8k Views 4 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.
    • S Do not disturb
      sdetweil @SteveMann
      last edited by

      @SteveMann see

      https://github.com/evroom/MMM-MPlayer

      a search on rtsp in the 3rd party list linked above
      returned 4 choices

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        SteveMann
        last edited by

        Thanks for the info. Perhaps I was using the wrong search term. I was looking for RTSP here:
        https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules

        Is there a better place to search for Modules?

        My home office has no window facing the front of my house and I had been using a tablet running a browser to watch the stream, but MagicMirror is shaping up to be a better solution.
        Is this another rabbit hole? (Home Assistant was the first). I am already planning my next MM location…

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

          @SteveMann RTSP isn’t directly compatible with MagicMirror. The only solution I ever found to work, and what I’ve stuck with, is load up an old Pi 4 with MotionEyeOS - and use that to convert over to web, then use something like MMM-EmbedURL to show the stream provided by MotionEye.

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

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @SteveMann
            last edited by

            @SteveMann in the header here

            IMG_0803.png

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              SteveMann @BKeyport
              last edited by

              @BKeyport said in How do I display an RTSP camera stream?:

              I’ve stuck with, is load up an old Pi 4 with MotionEyeOS

              Thanks for the tip, but I don’t see how MotionEye would serve my cameras RTSP stream?

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

                @SteveMann MotionEyeOS will take in the RTSP stream and push out a web compatible stream. At that point, you can take MMM-Embed URL and show the stream. I use the older non-supported MotionEyeOS because the newer versions of MotionEye don’t want to work reliably yet in the way I want.

                My motion eye settings - note, I have the low setting in use to save the Pi4 from working too hard:
                a30e3633-316d-4654-902f-7da58a9a4024-image.png

                c711b0f4-77fc-46b7-beed-7f8290180606-image.png

                the embed URL is http://192.168.X.X/picture/1/frame/

                		{
                			module: "MMM-EmbedURL",
                			position: "top_left",
                			classes: "camera1",
                			config: {
                				updateInterval: 0,
                				animationSpeed: 0, 
                				appendTimestamp: false,
                				attibutes: [],
                				embed: [
                					"http://192.168.X.X/picture/1/frame/"
                				],
                			},
                		},
                

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

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  SteveMann @BKeyport
                  last edited by

                  @BKeyport
                  I always thought that MotionEyeOS was a DVR for webcams.
                  Thanks for the feedback. I know what I will be doing tonight.

                  Today I’ve been experimenting with mplayer and VLC on the Pi (not on MagicMirror), and no matter what I do the stream freezes after a few minutes. I know that the camera stream is still streaming because I see it on Frigate on a separate PC.

                  Could it be as simple as the Pi3 running out of resources?

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

                    @SteveMann Pi3 is likely being choked to death with that. It’s hard on the Pi4. If I could get it to run the way I wanted on a Pi 5, I’d upgrade to that myself.

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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SteveMann @BKeyport
                      last edited by

                      @BKeyport said in How do I display an RTSP camera stream?:

                      MotionEyeOS will take in the RTSP stream and push out a web compatible stream.

                      I wanted to try MotionEyeOS, but I can’t find anything recent. The git was archived five years ago and the only binary that I could find was for the Pi2. Is there a supported version somewhere that I’ve missed?

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

                        @SteveMann That’s the rough part - the original author abandoned the project - and they’re rebuilding…

                        https://github.com/motioneye-project/motioneyeos/releases - use the pi image there to get started - will work on everything up to Pi 4. Does not work on Pi 5.

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

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          hrmax23
                          last edited by

                          Also looking to stream a camera feed from Frigate. It looks like MMM-FreeboxTV would have worked but can’t find that anywhere.

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

                            @hrmax23 I have a feeling that was a module by an author that has pulled all his work and left the community over hurt feelings.

                            Thanks to poorly thought out everything (outside of our control), we’re in a kind of hole and have to patch together a solution - just the way it is.

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

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @BKeyport
                              last edited by

                              @BKeyport outside our control,

                              MagicMirror is NOT significant project for any of our dependencies on OS, Electron, node, and on and on

                              Os, node and electron are coming of age with tons of backlog changes which WILL be disruptive here. and the pi hardware is changing too

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil yes. Of course it’s not significant. What is significant is that features get removed without a replacement, or the replacement not being able to do the same thing the original did. Short sighted things like that. I get it, onward and upward, but fill out the replacement before eliminating the original.

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

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @BKeyport
                                  last edited by

                                  @BKeyport yeh, sadly continuity is no longer valued. Time to market is everything. If something breaks, the consumer will refactor or their usage will die, and not be a problem after all.

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • 1 / 1
                                  • 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