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 2.1m 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.
    • evroomE Offline
      evroom
      last edited by

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

      but the video frame stays in the portriat oreintation

      In

      /home/pi/MagicMirror/css/custom.css
      

      add

      .MMM-RTSPStream .innerWrapper {
        border-style: none;
      }
      

      to remove the frame altogether.
      Or find a way using css to rotate the frame.

      I tried the positions top_left, top_right, bottom_left and bottom_right.
      All work.
      It can be that your other modules are pushing it down.
      Try to have the module positioned a bit earlier in your config.

      MagicMirror version: 2.33.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.33.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      1 Reply Last reply Reply Quote 0
      • PointPubMediaP Offline
        PointPubMedia
        last edited by

        @shbatm Do you think it could be possible to run this on another plateform, like pine64 with armbian where omxplayer is not available?

        The npm install part is not working as omxplayer is not available…

        1 Reply Last reply Reply Quote 0
        • K Offline
          KumarTRD
          last edited by

          Has anyone had success getting this module to work with Lorex security cameras? The is the only module preventing my magic mirror being “complete”

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

            1st, have you tried the URL string at https://www.ispyconnect.com/man.aspx?n=Lorex ?

            2nd, have you verified that the video player you want is able to run the video stream?

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

            1 Reply Last reply Reply Quote 0
            • C Offline
              costascontis
              last edited by

              i am using vlc as local player to play my stream locally just fine.When i try to access MM from my pc (chrome) using http://mmip:8080 ,my stream is not starting at all.Using ffmpeg for remote player and i also test my stream using ffplay and it works just fine at my rpi3b.What is wrong ???

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

                @costascontis Try a different local player. In testing of the last version I used, VLC had an invalid command line. I honestly have abandoned the module totally in favor of an external approach for the camera.

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

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  costascontis @BKeyport
                  last edited by

                  @BKeyport i dont have any problem with vlc as local player ,my issue is with remote player,ffmpeg.I am trying to see the feed from windows pc with chrome.Every other module is working fine ,the live feed is starting but i only see black,no camera image.

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

                    @costascontis oh, sorry, I misunderstood.

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

                    1 Reply Last reply Reply Quote 0
                    • Z Offline
                      zzricezz
                      last edited by

                      I’m assuming if i just have 1 stream, it will most likely cause a burn-in issue? any good idea? like transition between a black backgroup ever minute or so for couple of seconds?

                      Thanks,

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

                        @zzricezz burn in is mostly a non-issue in modern screens, however, I severely doubt a stream isn’t gonna do anything like that, unless you’re streaming a closet… there’s enough movement on most streams that even things that are locked into place move around (due to encoding bugs, etc)

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

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

                          I’ve got this module working with my Wyze camera, but the connection drops and the image freezes after a few minutes. Is there a way to automatically reconnect to the camera from within the module? I can do it by stopping and starting MM2 using PM2, but I’d rather not have to do that every few minutes. Thanks for any help or guidance!

                          BKeyportB twosquirrelsT 2 Replies Last reply Reply Quote 0
                          • evroomE Offline
                            evroom
                            last edited by evroom

                            Hi,

                            You can try adding this line to the config:

                            omxRestart: 1,
                            

                            Automatically restart the OMX Stream every X hours.
                            Default: 24 (hours).

                            Btw. Assuming you use omxplayer. Do not have experience with other players.

                            localPlayer: 'omxplayer',
                            

                            But getting rid of the root cause of connection dropping and image freezing after a few minutes seems better time invested.

                            MagicMirror version: 2.33.0
                            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            Test environment:
                            MagicMirror version: v2.33.0
                            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            evroomE D 2 Replies Last reply Reply Quote 0
                            • evroomE Offline
                              evroom @evroom
                              last edited by

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

                              Btw. Assuming you use omxplayer. Do not have experience with other players.

                              I use omxplayer ‘standalone’, not within MM, but under control of pm2.
                              When I restart my camera, the omxplayer is connecting to the stream automatically.
                              No restart of the omxplayer stream needed.
                              Just FYI.

                              MagicMirror version: 2.33.0
                              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

                              Test environment:
                              MagicMirror version: v2.33.0
                              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                              Raspbian GNU/Linux 12 (bookworm)

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

                                @evroom Thanks! I haven’t been able to get OMXplayer to work, only VLC. However, if I can’t get the auto-restart to work with VLC, I’ll see if I can’t get OMXplayer to work.

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

                                  @dwburger I was having a ton of trouble streaming anything on my Pi 4. if you’re on a Pi 4, make sure to install the May 2020 update. Streaming is rock solid now.

                                  https://www.raspberrypi.org/documentation/raspbian/updating.md

                                  I will note, I’m also using OMX Player independently from MM - the last releases of RTSPStream broke everything, and I couldn’t bother to get things working again. I wrote a little module I kept private because it’s not configurable to cut the desired space out of the MM workspace.

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

                                  S D BKeyportB 3 Replies Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @BKeyport
                                    last edited by

                                    @BKeyport that link is for PI OS… does it apply to raspian buster?

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @BKeyport Yes, I’m using an RPi4. Thanks for the link for updating!

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

                                        @sdetweil If you read it, They’re renaming the OS.

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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @BKeyport
                                          last edited by

                                          @BKeyport yes, I knew they were renaming… but also that s mostly applied tot he 64 bit version.
                                          whatever, commands in progress on my 4

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

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

                                            @sdetweil I read it as “Going forward” - meaning all releases after the date of announcement. But, as it’s still debian based under the hood, the commands would be the same (Or apt-get instead)

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

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 2
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 30
                                            • 31
                                            • 25 / 31
                                            • 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