Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
@BKeyport
Depends on what you want to stream and with what you want to stream it with.
I, for example, am streaming a single Axis IP cam (supposing it is h.264) using omxplayer. Standalone, controlled by pm2.
The MMM-RTSPStream does work, but I was having problems placing the stream on the screen to my likings.
You may need to check this list if there is a module that suites your needs:
https://github.com/MichMich/MagicMirror/wiki/3rd-party-modules#utility--iot--3rd-party--integration -
@kris1208 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
I redid an installation of the module but it is the same, the display is partial. Do you have another module to advise me?
So you got rid of the errors in the pm2 log?
pm2 flush pm2 restart mm pm2 logs --lines 200
Do you see an entry like this?
Starting stream stream1 with args:
If yes, what are the arguments?
Using vlc or omxplayer?
ps -eaf | grep -v grep | egrep 'omxplayer|vlc'
Still difficult to determine what you mean by partial.
I think it is looking good.
Perhaps you want to get rid of the white frame?vi ~/MagicMirror/css/custom.css
Add:
.MMM-RTSPStream .innerWrapper { border-style: none; //border: 1px solid red; }
-
Merci de votre aide,
J’ai mis quelques post plus avant le resultat du log pm2.
Pareil pour l’affichage on vois sur les copies ecran qu’il manque une partie de l’image sur la droite.
C’est VLC qui est utilisé mais j’ai mis omx et c’est pareil. -
Dear, I need help!
I am experiencing the following error while trying to start module configuration. When adding the line in config.js:
{ module: 'MMM-RTSPStream', position: 'middle_center', config: { initialSetup: true } },
I have the following error
[14:14:56.732] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/semver/semver.js:1 (function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { ! ^ SyntaxError: Invalid or unexpected token at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:678:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) [14:14:56.735] [LOG] Loading module helpers ...
-
@iorifly said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
'MMM-RTSPStream
Hi,
what do you expect to happen with this particular config?
Did you execute all the steps from the “Using the module” paragraph in
https://github.com/shbatm/MMM-RTSPStream
?
I would suggest to read the instructions once more and then let us know the result.Success.
-
@evroom Hello, how are you ?
Thanks for answering me.
So if I didn’t have the error. I was hoping to be able to access the URL:
http: // your-mirror-ip: 8080 / MMM-RTSPStream / config.html
and proceed with the setup. However, the server does not go up. I can’t access the url. I believe the error I described is preventing it.
If you can, help me.
-
@iorifly
Okay, that makes sense.
Has been a while since I set it up myself, but I will take a look.
Cannot promise anything :-)What are you trying / hoping to stream?
-
@evroom Thanks for trying to help me.
My intention is to stream the video stream from my UBIQUITI cameras. In particular I would like to call a camera.
-
Hi,
had troubles opening that config.html myself.
Try this:1/ Install the module using:
sh -c "$(curl -s https://raw.githubusercontent.com/shbatm/MMM-RTSPStream/develop/scripts/installer.sh)"
2/ Add the module to the config.js:
vi ~/MagicMirror/config/config.js
{ module: 'MMM-RTSPStream', disabled: false, position: 'middle_center', config: { initialSetup: true, } }
3/ Restart mm:
pm2 restart mm
4/ Start Chromium Web Browser on Pi (direct or using VNC).
Use URL:http://localhost:8080/MMM-RTSPStream/config.html
5/ Follow the instructions and save the config.
6/ Add the module to the config.js (replace the initial one):
vi ~/MagicMirror/config/config.js
7/ Flush the logs:
pm2 flush
8/ Restart mm:
pm2 restart mm
9/ Check the logs:
pm2 logs --lines 200
10/ Look for this line (when there are no blocking errors):
Starting stream stream1 using:
-
You can try this config for testing:
{ module: "MMM-RTSPStream", position: "middle_center", header: "MMM-RTSPStream Test", config: { autoStart: true, rotateStreams: false, rotateStreamTimeout: 10, moduleWidth: 640, moduleHeight: 360, localPlayer: 'omxplayer', remotePlayer: 'none', showSnapWhenPaused: true, remoteSnaps: true, stream1: { name: 'Buck Bunny', url: 'rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov', frameRate: 'undefined', snapshotType: 'url', snapshotRefresh: 10, width: 640, height: 360, }, } },