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

stuck with MMM-RTSP module

Scheduled Pinned Locked Moved Utilities
4 Posts 3 Posters 3.1k Views 3 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.
  • J Offline
    Johans
    last edited by Oct 9, 2017, 7:40 PM

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

    I can’t get this working.
    So i’ll started to do some independent test.
    installed VLC player and then put my camera rtsp stream into VLC.
    Getting this message: vlc can’ t open rtsp://userxxxx:pwxxxxx%@192.168.1.241:xxxx/Videomain.

    next stream in VLC plays perfect
    rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov

    then I installed OMXplayer
    Loaded following stream:

    //sudo omxplayer -o hdmi rtsp://JSTAL:xxxxx@192.168.1.241:1052/videoMain
    
    

    This works fine, full videoscreen of my IPcam.

    then I modified config as follows

    //{
    		            module: 'MMM-RTSPStream',
    			    classes: 'default everyone',
    		            position: 'middle_center',
    		            config: {
    		                autoStart: true,
    		                rotateStreams: false,
    		                rotateStreamTimeout: 10,
    		                showSnapWhenPaused: false,
    		                moduleWidth: 354,
    		                moduleHeight: 240,
    				localPlayer: 'omxplayer',
    		                stream1: {
    		                    name: 'Webcam 1 Test Stream',
    		                    url: 'rtsp://JSTAL:xxxxxxxx@192.168.1.241:1052/videoMain',
    		                    snapshotUrl: '',
    		                    snapshotRefresh: 10, // Seconds
    		                    frameRate: "25",
    		                    port: 9999,
    		                }
    		            }
          		  },
    
    
    
    

    conclusion so far, installed software is OK

    ‘xxxxx’ in the rtsp stream is where i put my password.
    password contains special char ‘%’ - can the be the reason of VLC not showing the stream.

    so i’m stuck…
    any idea’s to solve are welcome.

    1 Reply Last reply Reply Quote 0
    • S Offline
      Shockwave
      last edited by Oct 11, 2017, 3:15 AM

      Maybe try changing the % to %25. This is the escape sequence for a percent sign in a url.
      rtsp://myname:my%pass@123.456.789.123:9876/videoMain
      becomes:
      rtsp://myname:my%25pass@123.456.789.123:9876/videoMain

      J 1 Reply Last reply Oct 12, 2017, 6:56 AM Reply Quote 0
      • J Offline
        Johans @Shockwave
        last edited by Oct 12, 2017, 6:56 AM

        @Shockwave

        thanks for the tip.
        indeed changing the URL like you mentioned works in VLC. I can see the video image.
        But still didn’t worked on the MM.
        So I adapted the passwords.
        Now all works fine.

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by Jan 27, 2019, 7:29 PM

          Guys,
          I was able to install and configure correctly the RTSP module but only one camera works.
          The second stream just show a black video.
          I tried out to open it via OMXPLAYER and I do not get eny error but the video isn’t displayed.
          Any suggestion?

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