• 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 @barnosch
    last edited by Jan 4, 2019, 3:56 PM

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

    Also your new VLC based module sounds great.
    But i guess, you maybe should create a whole new module for it?

    The plan right now was to just leave it as another option for the localPlayer. OMXPlayer will still be an option for now as well. I don’t know if I’ll have time to split it out completely, but that would be much cleaner.

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

      @cr4z33

      You’ll want the following settings which should give you 1 blank video box that does not show anything until you press play.

      autoStart: false,
      rotateStreams: true,
      rotateStreamTimeout: 0,
      localPlayer: 'omxplayer',
      remotePlayer: 'none',
      showSnapWhenPaused: false,
      remoteSnaps: false,
      

      I’m assuming you’re seeing the same glitch that is plaguing the last OMXPlayer version of this module. I’m working on it today to try and find what I broke. In the meantime, try reverting back and seeing if that fixes the issue. I just tested the following notification on the VLC version and it worked as expected, so it’s got to be something with omxplayer.

      {
      notification: "RTSP-PLAY",
      payload: "stream3"
      }
      
      C 3 Replies Last reply Jan 4, 2019, 4:07 PM Reply Quote 0
      • C Offline
        Cr4z33 @shbatm
        last edited by Cr4z33 Jan 4, 2019, 4:08 PM Jan 4, 2019, 4:07 PM

        @shbatm although I am not a developer I agree with you.
        Whenever I tried something different from normal module usage involving omxplayer it always ended up with a mess lol! :grinning_face_with_smiling_eyes:

        Going to try what you are suggesting here.

        Can’t wait to see the VLC implementation (it just works as intended). :smiling_face_with_heart-eyes:

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cr4z33 @shbatm
          last edited by Cr4z33 Jan 4, 2019, 4:39 PM Jan 4, 2019, 4:16 PM

          @shbatm nope the simultaneous streams have now dropped from 7 to 2, but still not what I want (aka a single stream). :smiling_face_with_open_mouth_cold_sweat:

          Gonna try the develop branch and see how it is doing right now.

          S 2 Replies Last reply Jan 4, 2019, 4:53 PM Reply Quote 0
          • S Offline
            shbatm Module Developer @Cr4z33
            last edited by Jan 4, 2019, 4:53 PM

            @cr4z33 Still looking into it, but I just thought of something… it doesn’t look like you’re calling RTSP-STOP on the old stream anywhere when changing channels so right now it’s going to keep starting streams every time–there’s no “1 at a time” method when controlling it from notifications… yet.

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cr4z33 @shbatm
              last edited by Jan 4, 2019, 5:05 PM

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • S Offline
                shbatm Module Developer @shbatm
                last edited by Jan 4, 2019, 5:12 PM

                @djuscha I’ve reverted the changes that I think broke the master channel. Please try updating your module to the current master branch and test.

                A 1 Reply Last reply Jan 4, 2019, 5:51 PM Reply Quote 0
                • S Offline
                  shbatm Module Developer @Cr4z33
                  last edited by shbatm Jan 5, 2019, 12:02 AM Jan 4, 2019, 5:44 PM

                  @cr4z33 Added something that might help. Please use the develop branch and update your change channel commands to :

                  {
                  notification: “RTSP-PLAY”,
                  payload: { stream:“stream1”, stopOthers: true }
                  }

                  EDIT: Nevermind, don’t do that. I fixed the glitch on the develop channel that was starting more than one stream when rotateStreams: true was set. Please try that and see if it works now.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    anthony6608 @shbatm
                    last edited by Jan 4, 2019, 5:51 PM

                    @shbatm Hey, I updated issue #33 with the errors I am seeing when you have a chance. Also, should I run this update although I am using the VLCplayer method? Let me know what you think. Thanks again for all your help!

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BKeyport Module Developer
                      last edited by Jan 4, 2019, 11:37 PM

                      I’m unable to get this module to load and run with FFMPeg anymore - as of 3PM 1/4/19 (Pacific Time (Seattle))

                      Update was applied as of that time.

                      I don’t know how to retrieve logs.

                      – Bug filed on github - https://github.com/shbatm/MMM-RTSPStream/issues/34

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

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 16
                      • 17
                      • 18
                      • 19
                      • 20
                      • 60
                      • 61
                      • 18 / 61
                      18 / 61
                      • First post
                        179/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