Read the statement by Michael Teeuw here.
MMM-RTSPStream with VLC issues
-
I had run my MM for a long time with no issues on a old Pi3b. Upgraded everything to a new Pi 4current, and have issues with showing video from the security camera outside. Found OMX player is no longer supported and switched to VLC. Video shows up, plays, all is good. However, it will only display on the top left side of the screen, and I want it back at top_center. No matter what I try to do, it always comes up top left. I can modify all the module and stream height/width settings but they have no effect. I’m guessing I am missing something here in the config, or there is an error that I just don’t see. Any thoughts/suggestions on what is wrong here:
{
module: “MMM-RTSPStream”,
disabled: false,
position: “top_center”,
config: {
debug: false,
autoStart: true,
rotateStreams: ‘false’,
rotateStreamTimeout: 10,
moduleWidth: 100,
moduleHeight: 100,
localPlayer: ‘vlc’,
remotePlayer: ‘none’,
showSnapWhenPaused: false,
remoteSnaps: false,
shutdownDelay: 1,
stream1: {
name: ‘Driveway’,
url: ‘rtsp://mmm:password@172.16.0.37:554/cam/realmonitor?channel=1&subtype=0’,
frameRate: ‘20’,
protocol: ‘tcp’,
width: 100,
height: 100,
ffmpegPort: 9999,
},
},
}, -
Hello, I think you can use the useVLC in embedded mode
In recent forks of MMM-RTSPStream, VLC can be embedded into the browser view with an iframe or HTML5 video tag, which respects DOM positioning. Check the fork you’re using. If it’s still spawning standalone VLC, look for configuration like:
localPlayer: ‘ffmpeg’ // instead of ‘vlc’Some forks added ffmpeg or jsmpeg options to push the stream into a element.