• 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.7m 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.
  • E Offline
    evroom @Egnos
    last edited by Feb 27, 2020, 10:20 PM

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

    Can you help me?

    What platform are you on.
    Raspberry Pi with Debian?

    lsb_release -a
    
    sudo apt-get install omxplayer
    

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

    Test environment:
    MagicMirror version: v2.30.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
    • E Offline
      Egnos
      last edited by Feb 28, 2020, 9:44 PM

      @BKeyport and @evroom this is my environment:

      • PC Hp Intel I5.

      • Raspbian on Virtual Box (using Debian…).

      First I try to make everything work on the virtual machine and then I transfer everything to PI.

      Many thanks.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      1 Reply Last reply Reply Quote 0
      • B Offline
        BKeyport Module Developer
        last edited by Feb 29, 2020, 3:07 AM

        @egnos you might never get OMX working in a virtual environment. It works directly with the hardware to show the picture.

        I would highly recommend setting it up on the pi now, and setting up SSH to communicate.

        I also have SAMBA (https://www.juanmtech.com/samba-file-sharing-raspberry-pi/) running on my pi, so I can use Geany for Windows (https://www.geany.org/) to directly edit the raspberry files.

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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hram2008
          last edited by Mar 20, 2020, 11:18 AM

          Has anyone been able to get this working with Axis camera products? VLC will pull and display the video stream outside of MM but will not display the same stream on MM when configured.

          Any thoughts???

          E B 2 Replies Last reply Mar 20, 2020, 4:58 PM Reply Quote 0
          • E Offline
            evroom @Hram2008
            last edited by Mar 20, 2020, 4:58 PM

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

            Has anyone been able to get this working with Axis camera products?

            Yes, I have.

            Please show your MMM-RTSPStream part from config.js.

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

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

            H 1 Reply Last reply Sep 26, 2020, 8:29 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer @Hram2008
              last edited by Mar 20, 2020, 6:59 PM

              @Hram2008 have you tried running the URL straight with OMX to see if it works, if it does, you may have issues with the plugin itself, and as the author seems to have disappeared, you could just replace the plugin with OMX cutting the proper hole out of the window (It’ll go in front of whatever is running, so you run it independently, and it just works.

              omxplayer --no-osd --no-keys --avdict rtsp_transport:tcp --live --fps 30 --orientation 0 --win "640 0 1280 360" [URL]
              
              -or- 
              
              omxplayer --no-osd --no-keys --avdict rtsp_transport:udp --live --fps 30 --orientation 0 --win "640 0 1280 360" [URL]
              
              

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

              1 Reply Last reply Reply Quote 0
              • E Offline
                Egnos
                last edited by Egnos Apr 2, 2020, 1:16 PM Apr 2, 2020, 1:16 PM

                Hello everybody!
                I’m trying to set up the module by doing some tests.

                I am using this configuration, using the test stream recommended by the developer “rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov”:

                {
                		   module: "MMM-RTSPStream",
                		   //position: "middle_center",
                		   pages: {Security: "middle_center"},
                		   header: "Test",
                		   config: {
                				autoStart: true,
                				rotateStreams: false,
                				rotateStreamTimeout: 10,
                				moduleWidth: 354,
                				moduleHeight: 240,
                				localPlayer: 'omxplayer',
                				remotePlayer: 'none',
                				showSnapWhenPaused: false,
                				remoteSnaps: false,
                				stream1: {
                					name: 'BigBuckBunny',
                					url: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov',
                					frameRate: 'undefined',
                					width: undefined,
                					height: undefined,
                						},
                					}
                		},
                

                The module starts but I don’t see anything.
                Below is a screen shot of the MM:

                2020-04-02-144902-1920x1080-scrot

                Where am I wrong?

                Thank you all.

                My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                B 1 Reply Last reply Apr 2, 2020, 4:01 PM Reply Quote 0
                • B Offline
                  bhepler Module Developer @Egnos
                  last edited by Apr 2, 2020, 4:01 PM

                  @Egnos - Have you checked to make sure there is something at that URL? I punched it into VLC and got connection failed.

                  E 1 Reply Last reply Apr 2, 2020, 5:05 PM Reply Quote 0
                  • E Offline
                    Egnos @bhepler
                    last edited by Apr 2, 2020, 5:05 PM

                    @bhepler thanks for the answer.
                    I thought it was just my problem.
                    I found the link on the gitHub page.
                    The developer recommends using this link for testing and I thought it worked.

                    Do you know any public links to test the module?

                    Regards.

                    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      evroom
                      last edited by Apr 2, 2020, 5:32 PM

                      Try this link:

                      rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

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

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

                      E 1 Reply Last reply Apr 3, 2020, 9:09 AM Reply Quote 0
                      • 1
                      • 2
                      • 46
                      • 47
                      • 48
                      • 49
                      • 50
                      • 60
                      • 61
                      • 48 / 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