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

Http Stream

Scheduled Pinned Locked Moved Requests
10 Posts 4 Posters 1.4k Views 4 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.
  • W Offline
    wuermchen
    last edited by May 12, 2021, 2:22 PM

    Hello,
    I want to show a video stream when the doorbell rings. Unfortunately, the camera only sends an Http stream.

    http://192.168.168.6/media/?action=stream?user=test&pwd=testf&resolution=128

    I tried MMM-RTSPStream, the mirror only plays rtsp streams.

    1 Reply Last reply Reply Quote 0
    • J Offline
      JerryP
      last edited by JerryP May 12, 2021, 8:24 PM May 12, 2021, 7:54 PM

      This works whit a webcam online. so I think this wel work also. whits type of doorbell you use?

      		{
      		module: "MMM-RTSPStream",
      		disabled: false, //false, true
      		position: "middle",
      		config: {
      			autoStart: true,
      			rotateStreams: false,
      			rotateStreamTimeout: 20,
      			moduleWidth: 468,
      			moduleHeight: 320,
      			localPlayer: "vlc", // "omxplayer" or "vlc"
      			remotePlayer: 'none',
      			showSnapWhenPaused: false,
      			remoteSnaps: false,
      			  stream1: {
      			  name: 'DoorBell',
      			  url: 'http://192.168.168.6/media/?action=stream?user=test&pwd=testf&resolution=128',
      			  protocol: "tcp",
      			  frameRate: 25,
      			  muted: true,
      			},
      }},
      
      S 1 Reply Last reply May 12, 2021, 8:00 PM Reply Quote 1
      • S Away
        sdetweil @JerryP
        last edited by May 12, 2021, 8:00 PM

        @jerryp please use code blocks for config info

        mark the text, and then hit the </> button above the editor

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply May 12, 2021, 8:10 PM Reply Quote 0
        • J Offline
          JerryP @sdetweil
          last edited by May 12, 2021, 8:10 PM

          @sdetweil I know, and I use the code button. only I made a typ(O) so de code blok was not showing.

          S 1 Reply Last reply May 12, 2021, 8:22 PM Reply Quote 0
          • S Away
            sdetweil @JerryP
            last edited by May 12, 2021, 8:22 PM

            @jerryp no problem, thanks for fixing and it helps for others to see

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • W Offline
              wuermchen
              last edited by May 15, 2021, 1:48 PM

              I tried the settings. Unfortunately no success. I have a mini spy cam. The stream runs on VLC on the WinPC. But not on the Raspberry VLC. Unbenannt.JPG .

              1 Reply Last reply Reply Quote 0
              • W Offline
                wuermchen
                last edited by May 18, 2021, 2:54 PM

                I tried the stream on a Raspberry pi3 and it works. the settings are the same as on the Raspberry Pi4 (MagicMirror). I uninstalled and reinstalled VLC, unfortunately to no avail.
                Does anyone have any idea what the stream is not running on the Pi4?

                B 1 Reply Last reply May 18, 2021, 3:44 PM Reply Quote 0
                • B Offline
                  bugsounet Banned @wuermchen
                  last edited by May 18, 2021, 3:44 PM

                  @wuermchen

                  1. close MagicMirror and open VLC in your pi
                  2. open your link with vlc (in your pi)
                  3. verify if works ?
                  • if not works :
                    • catch error (if it say error) and solve it
                    • change output video setting in Tools > preferencies > Video > output
                    • close VLC and reopen it for retry play your link
                  • It 's work ?
                    • close VLC again
                    • Retry with magicmirror
                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wuermchen
                    last edited by May 19, 2021, 10:55 AM

                    following error message :

                    pi@raspberrypi:~ $ vlc http://admin:pass@192.168.188.6/media/?action=stream
                    VLC media player 3.0.12 Vetinari (revision 3.0.12-1-0-gd147bb5e7e)
                    [01273b58] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
                    libEGL warning: DRI2: failed to authenticate
                    qt5ct: using qt5ct plugin
                    qt5ct: D-Bus global menu: no
                    qt5ct: D-Bus system tray: no
                    [b391b6b0] mmal_codec decoder: VCSM init succeeded: CMA
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error 2 "ENOSPC"
                    [b391b6b0] mmal_codec decoder error: MMAL error reported by ctrl
                    [b391b6b0] main decoder error: buffer deadlock prevented
                    
                    
                    

                    I can’t do anything with the error message

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wuermchen
                      last edited by May 20, 2021, 6:33 AM

                      I tried all the settings. without success

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 / 1
                      • First post
                        5/10
                        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