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

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

Scheduled Pinned Locked Moved Utilities
602 Posts 67 Posters 1.6m 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.
  • S Offline
    shbatm Module Developer @costascontis
    last edited by Jan 10, 2019, 10:17 AM

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

    C 3 Replies Last reply Jan 10, 2019, 1:11 PM Reply Quote 0
    • C Offline
      Cr4z33 @shbatm
      last edited by Jan 10, 2019, 1:11 PM

      @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
      • C Offline
        Cr4z33 @shbatm
        last edited by Cr4z33 Jan 14, 2019, 9:40 AM Jan 14, 2019, 9:38 AM

        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
        • C Offline
          Cr4z33 @shbatm
          last edited by Jan 16, 2019, 2:02 PM

          @shbatm you there mate? :smiling_face_with_open_mouth_cold_sweat:

          S 1 Reply Last reply Jan 17, 2019, 4:15 AM Reply Quote 0
          • S Offline
            shbatm Module Developer @Cr4z33
            last edited by Jan 17, 2019, 4:15 AM

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

            C 1 Reply Last reply Jan 17, 2019, 10:24 AM Reply Quote 0
            • D Offline
              djuscha
              last edited by Jan 17, 2019, 8:56 AM

              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
              • C Offline
                Cr4z33 @shbatm
                last edited by Jan 17, 2019, 10:24 AM

                @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
                • S Offline
                  swvalenti Project Sponsor
                  last edited by Jan 20, 2019, 9:23 PM

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

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BKeyport Module Developer
                    last edited by Jan 21, 2019, 3:56 AM

                    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
                    • C Offline
                      costascontis
                      last edited by Jan 21, 2019, 8:49 AM

                      i try to use develop branch module with vlc and it works fine but one thing.It crashes after an hour or so ,my Gassist (google assistant) that is running at the same pi.My noobish explanation is that vlc module is taking over mic after some time .If i turn off (comment at config.js) the module ,everything work fine for days.

                      K 1 Reply Last reply Jan 21, 2019, 10:04 PM Reply Quote 0
                      • 1
                      • 2
                      • 21
                      • 22
                      • 23
                      • 24
                      • 25
                      • 60
                      • 61
                      • 23 / 61
                      23 / 61
                      • First post
                        225/602
                        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