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.
    • BKeyportB Offline
      BKeyport Module Developer @costascontis
      last edited by

      @costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      can someone use vlc instead of omxplayer with your module?If yes whats the pro and con on that?

      I know on the develop branch you can.

      Pro: it kept the original aspect ratio.
      con: it didn’t work more than once.

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        shbatm Module Developer @costascontis
        last edited by

        @costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

        can someone use vlc instead of omxplayer with your module?If yes whats the pro and con on that?

        Yes, its still experimental but was working fine for me. If you’re on a Raspberry Pi, it works best if you’re using the newest distro of Raspbian because VLC has Hardware Acceleration enabled.

        Your mileage may vary between omxplayer and VLC. OMXPlayer is finicky and doesn’t rotate streams well (will be working on that)–VLC should in theory be much more stable and easy to use, but some people have had issues getting it to respond correctly on the Pi.

        Back up a few pages on this thread to find out how to install the develop branch.

        Cr4z33C 3 Replies Last reply Reply Quote 0
        • Cr4z33C Offline
          Cr4z33 @shbatm
          last edited by

          @shbatm I hope your module will be perfect one day until then I have unfortunately to give up with the channel switching function and set a static Radio/TV stream. :thumbs_up_medium-light_skin_tone:

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

            Hi @shbatm ,

            how is the bug fixing job doing right now? :)

            I’ve done in the meantime some testing both with VLC and OMXplayer options by using different streaming sources like mp3 podcasts, mp4 live channels & some IP cameras (that I’ve got at home).

            I can confirm that something is wrong in the module code because the EXACT same issue (wrong stream selected while switching) is happening with the above sources. :confused_face:

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

              @shbatm you there mate? :smiling_face_with_open_mouth_cold_sweat:

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                shbatm Module Developer @Cr4z33
                last edited by

                @cr4z33 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                you there mate?

                Gotta earn some money to pay for all my expensive hobbies… Currently 100 miles from land for the next week so debugging will be… Slow.

                In the meantime, can you please send/share/chat me a copy of your config with both this module and the controlling module sections at least? Also, have you tried using a different module, like my branch of MMM-Remote-Control w api to control the streams? Is it always the same number of streams wrong, or is it for sure random?

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

                  Have now made everything new. Raspe new SD card new. MagicMirror Software nue and RTSP module made new. I had 2 cameras. That ran for a few hours and then a camera picture was black, although PM2 status was online. After rebooting everything went again for a few hours.

                  have omxRestart set to 2 hours in both cameras that did not help synonymous.
                  Raspberry Pi 3 RTSP Stream Viewer
                  Now I’ve configured according to the instructions and this is stable for 3 days. Is independent of Magicmirror running in the foreground.
                  have a Raspi and there runs Raspberry Pi 3 RTSP Stream Viewer with 4 cameras for 5 days very stable. I also tested on Raspi zero, and it worked.

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

                    @shbatm I’ve sent you the config link by private chat. ;)

                    Honestly I don’t want to use MMM-Remote-Control or other solutions but voice control in the end so no I didn’t try.

                    All I can say is that the issue happens with whatever source I use and the chosen (wrong) stream is ALWAYS random.
                    If using VLC multiple streams start at the same time while if using OMXplayer a single (wrong) stream is selected.
                    Last thing I am using your dev version of the module.

                    You should get the issue if using the same config and modules. :slightly_smiling_face:

                    1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      swvalenti Project Sponsor
                      last edited by

                      Switched to VLC but issue is now the stream doesn’t fit window…0_1548019379662_VLC.PNG

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

                        I recommend in your custom.css file:

                        .MMM-RTSPStream .innerWrapper {
                        border: 0;
                        }

                        No more border. :)

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

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 21
                        • 22
                        • 23
                        • 24
                        • 25
                        • 60
                        • 61
                        • 23 / 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