I’ve updated the develop branch of the module, please see the main MMM-RTSPStream Thread and update to the latest version on the develop branch.
Read the statement by Michael Teeuw here.
Posts
-
RE: RTSP Stream error since last Update
-
RE: MMM-RTSPStream - omxplayer issue - MM v.2.4.1
@australo @mlhote – I’ve been working with @evroom in the main MMM-RTSPStream thread, but saw this and wanted to let you both know the module has been updated on the
developbranch, and should be working with omxplayer and the OpenGL Fake KMS driver, as well as with the new hardware-accelerated VLC on the most recent version of Raspbian. -
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@djuscha Use the latest
developbranch version if you still want to use omxplayer with OpenGL (Fake KMS). I was stumbling around and found that omxplayer requires the--no-osdflag to work properly with the OpenGL (Fake KMS) driver. -
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@swvalenti said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
How do I make that switch and implement? Sorry for the noob question.
Look back at previous posts in this thread, there should be several posts from the past month about switching and upgrading.
-
RE: [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²
@bugman61 said in [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²:
Thanks for the great module, it has solved a lot of the issues I had when I was using carousel to organize my modules.
Is there a way to set a default hidden/displayed for each module in the menu when starting? I have my MM set up with the clock and a photo slideshow to always be displayed, and then I have 4 ModuleToggles set to show other information when needed (calendar, weather, etc). I would like to be able to start MM with these other modules hidden as opposed to having everything open automatically and having to close each one manually. Alternatively a timer to close modules automatically after XX seconds would work as well. That would also allow us to open a module and see the info and walk away without having to close it manually.
My recommendation would be to use something like MMM-Carousel w/ Navigation to put everything in different slides. You can set the timeout to 0 to keep it on the slide you have chosen, and then add menu items to jump to each slide (this is what I use on one of my mirrors, combined with MMM-KeyBindings to allow control from a bluetooth remote).
@bugman61 said in [MMM-OnScreenMenu] Simple On-Screen Menu for controlling the MagicMirror²:
Alternatively a timer to close modules automatically after XX seconds would work as well.
You can look at MMM-Module-Scheduler to implement this now, or create an issue on GitHub for this module and when I get a chance, I will add the ability to allow multiple actions assigned to a single menu item. This module already has the ability to send delayed actions–multiple actions would allow you to (1) send a switch to slide X action and then a (2) delayed action–after x seconds switch back to home slide.
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@djuscha said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
I found that on my troubleshooting on the internet maybe that helps us?
RTSP-Stream-ViewerThanks for the link. Bits of that script look like the script I saw which originally inspired me to use omxplayer, but it has some additional options (like pushing a video off the screen instead of stopping it) that seem promising. I ended up using
pm2instead ofscreenbecause that’s what most MM users were already using, and it had the auto restart feature built in.I don’t have much time for the next month or so to keep playing with the omx version, so if you wouldn’t mind, please open an issue on GitHub, and if you or anyone has time/skills to implement, I’ll be happy to take a PR.
To-do (notes to myself or anyone that works on this):
- Implement dbus control to move the video off-screen instead of stopping it when we need to hide it: Example dbuscontrol.sh; npm dbus Package
- Implement ffmpeg & vlc’s shutdownDelay option for omx player (e.g. move the video off-screen and stop it after x seconds instead of stopping it immediately when hiding a stream).
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@swvalenti That could be. OMX player doesn’t switch very easily. VLC switching was working well on the newest version of Rasbian with OpenGL (Fake KMS) enabled.
-
RE: [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates
@dazza120 said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:
Can this also update modules like MMM-Remote-Control-Repositories, in just this one module?
Yes. This version pulls the list of modules from the Wiki and updates the modules.json file when its started (at most 1x per day).
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
i tested the bunny rtsp and another camera that output a “rtsp://ipcamera:554/ch0.h264” link and both work,so i think the camera i want to use that output the “rtsp://ipcamera:554/12” link has a problem with omxplayer.I will look at pm2 logs and i ll get back to you,thanx
edit : the links that worked for me did not auto started but i had to press pause and play again.pm2 log :
/home/pi/.pm2/logs/mm-out.log last 15 lines: 0|mm | Starting stream stream1 with args: [ 0|mm | "--avdict", 0|mm | "rtsp_transport:tcp", 0|mm | "--win", 0|mm | "738, 63, 1090, 305", 0|mm | "--live", 0|mm | "--video_queue", 0|mm | "4", 0|mm | "--fps", 0|mm | "30", 0|mm | "rtsp://admin:@192.168.1.108/12.h264" 0|mm | ] 0|mm | PM2: omx_stream1 already running. Stopping old instance... 0|mm | Starting PM2 for omx_stream1 0|mm | PM2 started for omx_stream1i see no error but no streaming,only the name of the cam and black screen…
Looks like you’re using an older version of the module based on the log. Try pulling the new version and switching to the develop branch… you should see the full omxplayer command line output to the logs, which you can use to test your camera outside of MM and the module.
-
RE: MagicMirror doesn't start with 'npm start' electron not found
@Stevo Please provide a little more info about your installation:
Are you on a Raspberry Pi or something different
How did you install the MM?
Have you runnpm install?
Are you trying to start it from SSH or on the computer directly? -
RE: Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0)
@bhepler said in Library error after full reinstallation (full version Raspbian and MagicMirror version 2.5.0):
I would advise against using the Magic Mirror installation script at this time. It hasn’t been tested as well as the rest of the system. Perform a manual installation for better results.
Second this.
For anyone who comes across this error:
/home/pi/MagicMirror/node_modules/electron/dist/electron: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.27’ not found (required by /home/pi/MagicMirror/node_modules/electron/dist/electron) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR!
It may be caused by npm trying to install electron v4.0.0, this version has some reference errors on the Pi: https://github.com/electron/electron/issues/16205 and a lower version (v3.0.13) should be used.
-
RE: [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates
@nobita said in [MMM-Remote-Control](v2-dev) Extensible REST API, Dynamic Menus, and Socket Communications, plus other updates:
I have to Remove from jopyth or not
You can checkout my fork/branch without removing @Jopyth’s by adding a remote:
$ cd ~/MagicMirror/modules/MMM-Remote-Control $ git remote add shbatm https://github.com/shbatm/MMM-Remote-Control.git $ git fetch shbatm $ git checkout -b shbatm-develop shbatm/develop $ npm installAfter that you can switch back and forth using
git checkout masterandgit checkout shbatm-develop -
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
For the first one:
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
error: object file .git/objects/0a/340d5d575f5675a19c2108bb1acc9f20576259 is empty
That’s a new one by me… maybe time for Google on that one.
For the blank screen: watch all of the PM2 logs (
pm2 logscommand) and see if you see something like this:1|omx_stre | * failed to add service - already in use? 1|omx_stre | /usr/bin/omxplayer: line 67: 15281 Aborted (core dumped)If you do, you probably have the latest version of Raspbian with the OpenGL driver enabled in
raspi-config– omxplayer isn’t working properly with the OpenGL driver enabled, if you want to use omxplayer, you’ll have to enable the legacy driver: https://www.raspberrypi.org/forums/viewtopic.php?t=204794If you see anything else in the PM2 logs, let me know.
-
RE: HELP to use a cam with MM PLEASE
@axel said in HELP to use a cam with MM PLEASE:
bind:Address already in use.
The default port is the same as the Mirror, 8080. Try adding
-p 8081to your command to change the port. -
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@cr4z33 Can you please post (or send in chats) your current config. I’m curious if we’re missing something obvious.
@evroom I’m sorry you can’t get it working again. I’m at a loss as to why it’s not starting the streams properly. Everything in your config you sent looks like it should be working from the module’s end. The only thing I can think of is something else is interfering and preventing the module from starting. (Would show up as a “MMM-RTSPStream is suspended…” in the DevTools (web browser) console logs.
-
RE: [MMM-Logging] Module for better Node.js console logging with Timestamps and Function Calls
Updated to version [1.0.1] - now includes browser methods for formatting the DevTools console (disabled by default) and ability to echo Module Notifications and Errors from the web browser back to the Node (back-end) console and logs.
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@cr4z33 @evroom the last things I can suggest to try:
- @Cr4z33 Make sure you have
autoStart: falsein your config. @evroom yours should betrue. - Update the module one more time:
cd ~/MagicMirror/modules/MMM-RTSPStream git fetch --al && git pull rm -R node_modules/ npm install- Nuke and update your pm2:
pm2 kill rm ~/.pm2/dump.pm2 sudo npm i -g pm2- Restart the MM script (you’ll have to redo
pm2 saveBEFORE you run any streams if you want the MM to start on boot).
- @Cr4z33 Make sure you have
-
RE: [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server
@citizendevpi said in [octomirror-module] Monitor & Control an OctoPrint 3D Printer Server:
how do i fix it?
Update the module. You shouldn’t need to add anything else.
cd ~/MagicMirror/modules/octomirror-module git fetch git pull