What’s your CSS look like to make the grey background, shouldn’t be anything more than this:
.module {
background-color:rgba(0,0,0,0.5);
border-radius: 5px;
padding:5px;
}
What’s your CSS look like to make the grey background, shouldn’t be anything more than this:
.module {
background-color:rgba(0,0,0,0.5);
border-radius: 5px;
padding:5px;
}
More info needed - what modules are you running?
Is there any modules configured to “fullscreen_above” or “fullscreen_below”?
@costascontis said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
can someone use vlc instead of omxplayer with your module?If yes whats the pro and con on that?
I know on the develop branch you can.
Pro: it kept the original aspect ratio.
con: it didn’t work more than once.
I’m unable to get this module to load and run with FFMPeg anymore - as of 3PM 1/4/19 (Pacific Time (Seattle))
Update was applied as of that time.
I don’t know how to retrieve logs.
– Bug filed on github - https://github.com/shbatm/MMM-RTSPStream/issues/34
Does the config.js file pass the internal config check? This will help you determine that:
Run:
cd ~\MagicMirror
npm run config:check
@michael5r - Actually, I don’t get scrollbars at all. If I don’t subtract back from the 100vh/100vw or 100% - It’ll just run off the edge of the screen as if the system is seeing the screen (In this case, the RasPi’s 7" touchscreen) bigger than it is. With it set the way I have it, everything is dead on edge, giving the maximum use of the screen.
I’d support trying VLC over OMXPlayer - OMXPlayer barely works - and crashes so much, I had to switch to FFMpeg(?) – and even that crashes on my Pi 3+
@sdetweil so, then because I have to use the following:
body {
margin: 0px;
height: calc(100vh - 10px);
width: calc(100vw - 5px);
}
am I correct in assuming that magicmirror sees the screen a few pixels bigger than it really is - and that’s being expressed by running off the right and bottom of the screen when I don’t have the 10px subtract from height, and the 5px subtract from width?
This is the part that’s getting me…
width: calc(100vh - var(–body-margin) * 2);
height: calc(100vw - var(–body-margin) * 2);
If I’m reading this correctly - it’s taking the calculation of 100% of the viewpoint(direction) - the margin defined in the varible multiplied by 2?
100% of the viewport height minus 40 pixels in your example?
@sean Can you explain your body code a bit? I’m not quite following it.