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 no longer working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 224 Views 2 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
      dangerousden
      last edited by

      Hi All

      Since the update to version 4 of RTSPStream, I can no longer get my IP Camera to show on the screen. I have attempted a reinstall, and checked the settings. Just the outline of the module, with the heading, but no image. The best I have had was a still image in the centre of the screen which vanished shortly after.

      AFAIK my camera has had no firmware or software updates.

      Does the hive mid have any suggestions?

      Many thanks

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

        UPDATE

        After playing around with settings and various options, I could NOT find a way to get the image back where I wanted it. I also realised the RTSP feed was only picking up a single frame and nothing more.

        Reading into the options of the RTSP module I wondered if I would utilise WebRTC. So off I went at a complete tangent, and 5 hours of work…

        I installed MediaMTX and configured as suggested on a post I found inside this wonderful forum. Nothing! I could not see the stream at all. After lots of head scratching I realised I did not use the default name for my pi (pi) so I had to edit all the configs for MediaMTX and replace the home/pi with my username.

        I created an autostart for the MediaMTX service and configured that too.

        After lots of confusing back and forth between 2 different websites around the setup for this, one using RTSP stream, but the main one using a RaspberryPi Camera, I was getting close, but the feed was being rejected. I stepped away and had lunch. On my return, it was very obvious. I had used port 553 in the RTSP stream URL, instead of 554. Duh! Rookie mistake, but only spotted when I took a break. This allowed the MediaMTX service to connect to the RTSP stream.

        A little bit of jiggerypokery with the config.js file in MagicMirror, and I now have the WEBRTC feed into the Pi and also out to my remote browser on the network. The feed does indeed seem faster and so far, stabled. Time will tell, but I refused to be beaten :)

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          sdetweil @dangerousden
          last edited by

          @dangerousden have you tried MMM-Mplayer?

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dangerousden @sdetweil
            last edited by

            @sdetweil I apologise for the delay in replying. Not been well. I was trying to get some sort of webRTC feed from my HomeAssistant, but failed miserably. I will give the MPlayer plug in a try when I get home.

            Thanks for the suggestion

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @dangerousden
              last edited by

              @dangerousden never apologize for what goes on in your life. NOTHING here is more important than that

              I will try to help as your time allows…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                dangerousden @sdetweil
                last edited by sdetweil

                @sdetweil said:

                @dangerousden never apologize for what goes on in your life. NOTHING here is more important than that

                I will try to help as your time allows…

                Thank you. that is very much appreciated

                I managed to get the RTSPStream working again, by simply rebooting the camera. This is a guy who has worked 40 years in IT and I didn’t follow the golden rule. Switch it off and on again :D

                However, the image is now showing right bang in the middle of the screen, ignoring any of the config, and blocking the Background slideshow. I tried the MPlayer plugin but it refuses to connect and show anything. So I returned back to RTSPStream, tried updating ffmpeg, and changing the stream to that - nothing. So - best I can get is a rather annoying image where it should not be, or a blank box.

                Am I missing something simple??

                {
                    module: "MMM-RTSPStream",
                    position: "bottom_left",
                    config: {
                        autoStart: true,
                        rotateStreams: false,
                        moduleWidth: 354,
                        moduleHeight: 240,
                        localPlayer: 'ffmpeg',
                        remotePlayer: 'ffmpeg',
                        showSnapWhenPaused: true,
                        remoteSnaps: true,
                        shutdownDelay: 12,
                        stream1: {
                            name: 'DRIVE',
                            url: 'rtsp://un:pw@192.168.1.241:554/live/ch1',
                            width: undefined,
                            height: undefined,
                            ffmpegPort: 9999,
                            },
                        }
                },
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @dangerousden
                  last edited by

                  @dangerousden well that’s some good news. Amazing how many times we have to get used to rebooting something these days

                  I’m in the 50 year IT range from mainframes to microprocessors and everything in between.

                  Sadly I know nothing about RTSP other than other people also having trouble with the latest os releases.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Reply Quote 1
                  • S Offline
                    sdetweil @sdetweil
                    last edited by

                    Maybe one of them will be along shortly. But the forum gets quieter as the weather warms.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      UPDATE

                      After playing around with settings and various options, I could NOT find a way to get the image back where I wanted it. I also realised the RTSP feed was only picking up a single frame and nothing more.

                      Reading into the options of the RTSP module I wondered if I would utilise WebRTC. So off I went at a complete tangent, and 5 hours of work…

                      I installed MediaMTX and configured as suggested on a post I found inside this wonderful forum. Nothing! I could not see the stream at all. After lots of head scratching I realised I did not use the default name for my pi (pi) so I had to edit all the configs for MediaMTX and replace the home/pi with my username.

                      I created an autostart for the MediaMTX service and configured that too.

                      After lots of confusing back and forth between 2 different websites around the setup for this, one using RTSP stream, but the main one using a RaspberryPi Camera, I was getting close, but the feed was being rejected. I stepped away and had lunch. On my return, it was very obvious. I had used port 553 in the RTSP stream URL, instead of 554. Duh! Rookie mistake, but only spotted when I took a break. This allowed the MediaMTX service to connect to the RTSP stream.

                      A little bit of jiggerypokery with the config.js file in MagicMirror, and I now have the WEBRTC feed into the Pi and also out to my remote browser on the network. The feed does indeed seem faster and so far, stabled. Time will tell, but I refused to be beaten :)

                      S 1 Reply Last reply Reply Quote 1
                      • S Offline
                        sdetweil @dangerousden
                        last edited by sdetweil

                        @dangerousden AWESOME!!! thanks for the great post…

                        one thing from above,
                        when posting config content or log info, please use the code block wrapper

                        past the text, blank line above and below,
                        select the text you just pasted,
                        hit the </> button to use the wrapper…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved

                        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