@imdickie If you were on the Master branch it makes sense now why you were getting duplicate views, it was using ffmpeg
and looking at only the first port for both cameras. The work-in-progress branch does not use websockets/ports for local playback since OMXPlayer just draws directly on top of the MM’s browser window.
For the black screen: I forgot the wip
branch has an additional node package required. This should take care of your problem:
cd ~/MagicMirror/modules/MMM-RTSPStream
git checkout wip
git pull
npm install
You may or may not need to also add a moduleOffset
config option: see the posts above for pictures, if the video doesn’t line up with the border, you can add moduleOffset: X
to shift the video over (where X is a number of pixels).
For more information about the wip
branch, there is an updated README on the Github page: https://github.com/shbatm/MMM-RTSPStream/tree/wip
For pm2
: it’s definitely not a requirement, but I find it’s nice to have; I included in the note above just in case you were already using it. It will automatically run the MM script for you on startup. See this page if you want more information.
To all using the module: Thanks for bearing with me, I haven’t had a lot of time this past month to finish out the hardware-accelerated version (wip
/development branch) but I hope to get it done in the next month or so. I really do appreciate any feedback / issues you have to help me improve this module.