Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
@sdetweil Have you had any success with this module?
-
@KumarTRD I don’t have a need, so haven’t really tried. a year or so ago
-
@KumarTRD Honestly, I run OMXPlayer direct, and have a custom built module to cut out the space for it.
-
@BKeyport ahhh gotcha… i kinda got the module working last night but cant get t the configuration of it
that is the wall ive been running into. -
@BKeyport said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
@Cr4z33 Good answer. 🤣🤣
Then, again, I’m not sure how MMM-FreeboxTV is supposed to help with RTSP streaming - wanna comment, @Bugsounet ?
It is VERY similar to MMM-RTSPStream therefore you add the IP and options in a similar way. :)
I’ve got some hacked Xiaomi IP cams around the house and so far so good with MMM-FreeboxTV.
-
@Cr4z33 That sounds great. Could you share a screenshot how these camera’s looks like on the monitor/mirror?
-
@goprojojo I am away from home, but it is nothing different from how it looks in MMM-RTSPStream. ;)
-
-
@Hram2008 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
Any thoughts would be appreciated.
I am not able to respond to your settings right now, please remind me when I do not answer in a few days.
-
@Hram2008 Honestly, if it’s gonna work, you’ve got a good config. I don’t think “port” is valid (you’d put it on the URI)
Other than that…
Did you check the URI through https://www.ispyconnect.com/sources.aspx ?
iSpy is a great resource to get accurate URIs.
-
I’ve got a good one, just playing with RTPStream module… my MM is on a second monitor, and the box is shown on the MM screen, but the ffmpeg video is displayed in the same position on the 1st screen… oops…
-
@sdetweil whoops!
-
on my other two rpi I use the rpisurv program which has been doing great for a number of years
you can find it in ipcamtalk forum -
@BKeyport
I used Ispy to generate the URL… when tested in the VLC player it works. Just wont show on the MM screen. I only get Loading RTSP Stream displayed or a black box. -
@Hram2008 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
Please see below.
Hi,
I would first disable the module (
disabled: true,) and restart MM.
Check if there are no omx_streams running (pm2 status).
Stop them when present (pm2 stop omx_stream1/pm2 delete omx_stream1).Then verify if omxplayer works standalone (use your own user & password & IP address).
If it does not work standalone, then there is no need to continue trying the module.$ omxplayer --avdict rtsp_transport:tcp --win 85,65,725,425 --live --video_queue 4 --fps 30 --no-osd rtsp://user:password@192.168.178.55/axis-media/media.amp?resolution=640x360If that works you can try this verified config (use your own user & password & IP address):
$ vi ~/MagicMirror/config/config.js { module: "MMM-RTSPStream", //disabled: false, disabled: true, position: "middle_center", header: "Axis Security Monitor", config: { autoStart: true, rotateStreams: false, moduleWidth: 640, moduleHeight: 360, localPlayer: 'omxplayer', remotePlayer: 'none', showSnapWhenPaused: false, remoteSnaps: false, stream1: { name: 'Axis_P1448_LE', url: 'rtsp://user:password@192.168.178.55/axis-media/media.amp?resolution=640x360', frameRate: "30", protocol: "tcp", width: 640, height: 360, omxRestart: 1, hwAccel: true, } } },This works for Axis P1448-LE, M2026-LE Mk II and M1125-E.
Good luck.
-
@evroom
Thank you for the details, I am happy to report that the shared config also works for the Axis
Q3615. Thank you assist. -
@evroom thanks for this, I am trying to get my vivotek cameras working,
omxplayer --avdict rtsp_transport:tcp --win 85,65,725,425 --live --video_queue 4 --fps 30 --no-osd rtsp://user:password@192.168.1.###/live1s3.sdp
This works great, and I see the feed perfect in the OMX player,
However, my config in the plugin doesn’t. I just get a black box. Any ideas would be appreciated.
module: "MMM-RTSPStream", //disabled: false, //disabled: true, position: "top_right", header: "Cameras", config: { autoStart: true, rotateStreams: false, moduleWidth: 640, moduleHeight: 480, localPlayer: 'omxplayer', remotePlayer: 'none', showSnapWhenPaused: false, remoteSnaps: false, stream1: { name: 'Driveway', url: 'rtsp://user:password@192.168.1.###/live1s3.sdp', frameRate: "30", protocol: "tcp", width: 640, height: 480, omxRestart: 1, hwAccel: true, } } }, -
Can you check following ?
Process omx_stream1 present:
$ pm2 status $ ps -eaf | grep -v grep | grep omxplayerEntries in pm2 log:
$ pm2 logs --lines 100Might need to flush the logs and restart MM in order to show new RTSPStream log entries:
$ pm2 flush $ pm2 restart MagicMirror $ pm2 logs --lines 100omxplayer version:
$ omxplayer -versionMMM-RTSPStream git status
$ cd ~/MagicMirror/modules/MMM-RTSPStream $ git statusI am on the develop branch, you might need o switch to that too.
$ cd ~/MagicMirror/modules/MMM-RTSPStream $ git checkout develop $ npm install -
TLDR, I switched from VLC to omxplayer and my previously working config started working again
I’m using hikvision cameras,
I was having a similar issue, migrating from an working configuration on an old PI3 to a new fresh image on PI4,
fresh Magic Mirror/ and MMM-RTSPStream install, copied original config over but both VLC windows black.You can click pause on each window, (then shows correct window name) but when you resume it’s just black windows. I confirmed running VLC standalone, using the open network URL, pasted same URL in config and it worked fine. (Like I mentioned running on an older PI no problems)
Anyway, I changed player to omxplayer in the config and it worked immediately, not sure why VLC in MM not working…
my config:
{
module: “MMM-RTSPStream”,
position: “top_left”,
config: {
autoStart: true,
rotateStreams: false,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: ‘omxplayer’,
remotePlayer: ‘none’,
showSnapWhenPaused: true,
remoteSnaps: false,
shutdownDelay: 12,
stream1: {
name: ‘Driveway’,
url: ‘rtsp://admin:secret@10.99.98.101:554//Streaming/Channels/2’,
frameRate: ‘undefined’,
snapshotType: ‘url’,
snapshotRefresh: 10,
width: undefined,
height: undefined,
},
stream2: {
name: ‘Front Door’,
url: ‘rtsp://admin:secret@10.99.98.37:554//Streaming/Channels/2’,
frameRate: ‘undefined’,
snapshotType: ‘url’,
snapshotRefresh: 10,
width: undefined,
height: undefined,
},
}
}, -
Sometimes with this app you gotta jiggle the handle.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
