Read the statement by Michael Teeuw here.
Unsolved Magic Mirror - RTSP not integrated
-
@BKeyport Ok thanks for the information…
-
Most browser doesn’t support RTSP protocol natively. There would be several plugins/extensions to enable that feature, but not for RPI (I have not found yet.)
One available approach would be real-time transcoding RTSP to affordable formats (for example, MJPEG) to be handled by the browser itself. Maybe
ffmpeg
could do that in the background. I think it could be done as MagicMirror module, but I believe as an independent background daemon, it will work better.Hmmm. I have no RTSP device at this moment, so I cannot prove this by myself. Anyway, in my opinion, this method will work.
-
I scratch up a very simple module to prove my theory;
It seems working.
But;
- There would be some delay. (even almost 2s on my M1MaxMBP. So in RPI, it would be more. not yet tested.)
- Some old/weak SBCs might not have enough power to handle real-time converting.
- multi cam’s streaming would be too burdensome, more tests be needed
Anyway after some adjustment, I’ll release the module in a few days.
- There would be some delay. (even almost 2s on my M1MaxMBP. So in RPI, it would be more. not yet tested.)
-
@Ronald @plainbroke @BKeyport (or any others)
Do you guys still have an interest in this issue? (RTSP implements on MM).I build up a simple module, and It looks to be working, but my Home IP cams don’t support long-live RTSP streaming (Because it is not wire-powered, thus to protect from battery draining, the feature has limited.), And at this moment, I don’t have any RPI to test. (I tested this module on Mac, VIM3(Ubuntu) but not on RPI.
So, I need the help of a real-world test. Anyone who has interests and has RTSP-streamable cams, Give me DM, please. (in this forum or eouia0819@ gmail. com)
-
@MMRIZE I would be happy to test when I get back home in a week. I’m out of town on business.
-
@MMRIZE
I will be happy to test when I get back home. You have my email already.
Send me a link or whatever so I can try it when I get back or if can get this chrome book changed over so i can run a MagicMirror on it… -
@MMRIZE
Hey I am back where I can test this RTSP module you have whipped up…
Heck I would be fine if I could get RTSPStream to work with vlc since I use full screen when the camera feeds come around in the MMM-Carousel module.
email same as user @gmail.com. What you are showing would be great if I can use it at full screen above or something like that… -
@BKeyport
Where can I get your blank space module and the whatever Player you use? -
@plainbroke the blank space module is “MMM-Block” - on the 3rd party module list.
I then use OMX, so you have to use either pre-current RPI OS, or figure out how to install it, as it’s abandon-ware.
-
@BKeyport
I have been looking at both and neither will work with my MM.
I thank you for the information though I thought for a bit I could make it work, but I finally just gave up. My head was hurting from all the reading and searching to get it all to work. You must have the patients of Job to get that to work. More likely you understand code WAY better than I do… All this code is way above my understanding…