Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
-
@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.
-
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???
-
@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.
-
@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]
-
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:Where am I wrong?
Thank you all.
-
@Egnos - Have you checked to make sure there is something at that URL? I punched it into VLC and got connection failed.
-
@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.
-
Try this link:
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
-
Many thanks @evroom, the link works in VLC but still doesn’t work in MM.
Below what I see on the terminal:
[10:58:31.986] [LOG] Starting stream stream1 using: omxplayer --avdict rtsp_transport:tcp --win 786,238,1138,480 --live --video_queue 4 --fps 30 --no-osd rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov [10:58:32.033] [LOG] Starting PM2 for omx_stream1 [10:58:43.404] [LOG] PM2 started for omx_stream1
Are there any errors in config.js?
{ 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://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov', frameRate: 'undefined', width: undefined, height: undefined, }, } },
Thanks for your patience!