stuck with MMM-RTSP module



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



  • 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



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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.