Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
Hello, I’m Peter,
when I add RTSTStream to my MagicMirror, I have a little problem with RTSPStream module.When display is in normal mode on 27’ screen, everything is ok, picture from Cam is good, normal dimensions etc
https://photos.app.goo.gl/czoZvwryGmqfJRDg6But when in /boot/config.txt in rpi3 the display_rotation=1, picture form cam is cut like on screen.
https://photos.app.goo.gl/VRycUb7zMw9LQVxh6
Someone could help me with this problem?
Many thanks to You All
Peter -
Try using the GL driver to rotate…
https://github.com/michmich/magicmirror/wiki/configuring-the-raspberry-pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usageI’ll post my config.txt and autostart settings tonight, don’t have access to them right now.
-
Is it possible to define a stream for playing a local file (e.g. .mp4 or .avi)?
-
works with
{ module: "MMM-RTSPStream", position: "middle_center", config: { autoStart : true, rotateStreams : false, rotateStreamTimeout : 30, moduleWidth : 354, moduleHeight : 240, localPlayer : 'omxplayer', shutdownDelay : 0, stream1: { name: 'Test Stream', url: 'file:///home/pi/MagicMirror/modules/MMM-RTSPStream/Videos/Feuer.mp4', }, } },
but no sound !
in bash console works with: omxplayer -o alsa Feuer.mp4
How to set hdmi sound as default ? -
Just wanted to cross-post this in case people are looking in this thread for a way to monitor and restart streams that have stopped:
-
hello, I have a problem with this module, I have the displays which are truncated and this since the update.
bonjour, j’ai un probleme avec ce module, j’ai les affichages qui sont tronqué et ce depuis la mise a jour.
Merci.
-
nobody to tell me how to solve my cut image problem? Thank you
-
Perhaps you can share the config.js part for MMM-RTSPStream with us?
The pm2 log output for this module is useful too.
The part where it shows the applied coordinates. -
@evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
Perhaps you can share the config.js part for MMM-RTSPStream with us?
The pm2 log output for this module is useful too.
The part where it shows the applied coordinates.Thank you for your response, could you tell me the file I need to post to you?
{
module: “MMM-RTSPStream”,
position: “top_center”,
config: {
rotateStreamTimeout: 20, // Seconds
stream1: {
name: “Portail”,
url: “rtsp://MDP@192.168.1.16/MediaInput/h264”
},
stream2: {
name: “Dome”,
url: “rtsp://MDP@192.168.1.17/12”
},
}
}, -
Hi, bonjour, to be honest I do not see the problem right away. With truncated you mean you expect to see more? Of the top stream or the bottom stream, or both? What resolution(s) do you expect to see?
I suppose you followed the instructions from this repository:
https://github.com/shbatm/MMM-RTSPStream
Including the “To use this module, use the configuration builder tool included.” part to produce a recommended config for your stream(s).I think your config defaults to the vlc player. Could you please do:
ps -eaf | grep -v grep | egrep 'omxplayer|vlc'
If you (re)start MagicMirror (or mm), then you will find some MMM-RTSPStream module related info.
pm2 logs --lines 200
It will start with something like this:
Starting stream stream1 with args:
I personally use omxplayer, but standalone, without using MMM-RTSPStream. Since it is an overlay anyway, I feel I can control it more.
Good luck gathering the information.