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.

    [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

    Scheduled Pinned Locked Moved Utilities
    602 Posts 67 Posters 1.9m Views 68 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.
    • D Offline
      dwburger
      last edited by

      Maybe I’m just a glutton for punishment, but I’d really like to get this to work. I went online looking for other RTSP players and found ContaCam (https://www.contaware.com/contacam.html). It’s Windows donateware and getting my Wyze RTSP stream up and viewing was simple. It’s been going for several hours. During the time the stream has been running on ContaCam I also accessed the stream with omxplayer on my Rpi4 and VLC on my Windows 10 machine. Both the omxplayer and VLC player stopped displaying live video after only a short time; the live stream on ContaCam is still going strong. Just wondering…are there settings in the ContaCam set-up that might be helpful in stabilizing the livestream video on the omxplayer? It seems apparent that the Wyze camera is working and my wifi network is OK, the weak link seems to be the player. Any suggestions on how to proceed down this path will be much appreciated.

      1 Reply Last reply Reply Quote 0
      • D Offline
        dwburger
        last edited by

        I thought I would put a close to my efforts here with the following:

        I believe I’ve found a solution. I decided to use ffmpeg from the RPi4 command line to save an image from the RTSP stream every 5 minutes. Every 5 minutes the new image overwrites the previous one, thus using the same filename. Then, I’m using mykle1’s MMM-EyeCandy module to display that sole image that’s housed in the /pix folder for that module. So, after several hours, ffmpeg continues to run (although it throws lots of “missed packet” errors), but it doesn’t abort. I’ll put ffmpeg under pm2 control next. Now, using MMM-EyeCandy, I’m getting a new image from my Wyze camera in the lower-right corner of my MM2 every 5 minutes. This is all I needed to stay reasonably up-to-date with what’s happening in front of that camera.

        1 Reply Last reply Reply Quote 0
        • Cr4z33C Offline
          Cr4z33
          last edited by

          @shbatm I’ve moved MagicMIrror to a brand new RPI 4.

          Can you see any reason why 1080i/1080p streams are not showing into your module?

          I can hear them, but not see them. :confused_face:

          This happens both if using omxplayer and VLC.

          Standard resolution streams show up normally.

          @evroom what about your experience?
          Did you get a RPI 4 too?

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

            That’s sounding like you’re plugged into the wrong HDMI port - make sure you’re using the port closest to the power supply.

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

            Cr4z33C 1 Reply Last reply Reply Quote 0
            • Cr4z33C Offline
              Cr4z33 @BKeyport
              last edited by

              @BKeyport it is already connected there. :D

              Fact is that 1080p videos, streams, etc. work perfectly if running in VLC as standalone.

              The same does NOT happen when using VLC (or OMXplayer) in this module.

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

                OK, that’s weird (but expected)

                I never could get VLC to work. I can’t recall if OMX was working or not in the last public release, the developer branch was opposite.

                I use OMX independently now, using @evroom 's method, however, that requires the may 2020 update to fix a number of bugs in my case.

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

                Cr4z33C 1 Reply Last reply Reply Quote 0
                • Cr4z33C Offline
                  Cr4z33 @BKeyport
                  last edited by

                  @BKeyport could you please share the link here?

                  I would like to give it a try because right now OMXplayer embedded streams are playing in a wrong resize (almost full screen lol). :D

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

                    @Cr4z33 It’s sprinkled throughout this post. This will take you to where I talk about it, Evroom’s convo is earlier, but there’s a link in my post about it. Feel free to use this post for help on this.

                    https://forum.magicmirror.builders/post/69779

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

                    1 Reply Last reply Reply Quote 0
                    • twosquirrelsT Offline
                      twosquirrels @dwburger
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • twosquirrelsT Offline
                        twosquirrels @dwburger
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 50
                        • 51
                        • 52
                        • 53
                        • 54
                        • 60
                        • 61
                        • 52 / 61
                        • 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