Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
Getting closer. Hoping to get some help based on the new info below.
I was able to get a video stream, but…
It only works in the middle_center position and the video orientation is rotated 90 deg.
I tried using the rotateDegree switch, and it does rotate it, but the video frame stays in the portriat oreintation.
I am using the below config file.
modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Family Calendar", position: "top_left", config: { colored: "true", calendars: [ { symbol: "calendar-check-o ", color: "#34a95f", url: "https://calendar.google.com/calendar/ical/xxx/basic.ics" }, { symbol: "calendar-check-o ", color: "#b1002c", url: "https://calendar.google.com/calendar/ical/xxx/basic.ics" }, ] } }, { module: "MMM-DarkSkyForecast", header: "Weather", position: "top_right", classes: "default everyone", disabled: false, config: { apikey: "xxx", latitude: "33.481613", longitude: "-117.061959", iconset: "5c", concise: false, forecastLayout: "table", units: "us" } }, { module: 'MMM-RTSPStream', position: 'middle_center', config: { autoStart: true, moduleWidth: 642, moduleHeight: 362, localPlayer: 'omxplayer', stream1: { name: '', url: 'rtsp://xxx:xxx@192.168.x.xxx:554/Streaming/Channels/102/', snapshotUrl: '', snapshotRefresh: 10, // Seconds frameRate: "30", width: 640, height: 360, port: 9999, } } }, { module: "compliments", position: "bottom_center" }, { module: "newsfeed", position: "bottom_center", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module: 'MMM-GoogleMapsTraffic', position: 'bottom_center', config: { key: 'xxx', lat: xxx, lng: -xxx, height: '360px', width: '360px', styledMapType: "", disableDefaultUI: true, backgroundColor: 'hsla(0, 0%, 0%, 0)', } }, ] };
-
@imdickie said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
but the video frame stays in the portriat oreintation
In
/home/pi/MagicMirror/css/custom.css
add
.MMM-RTSPStream .innerWrapper { border-style: none; }
to remove the frame altogether.
Or find a way using css to rotate the frame.I tried the positions top_left, top_right, bottom_left and bottom_right.
All work.
It can be that your other modules are pushing it down.
Try to have the module positioned a bit earlier in your config. -
@shbatm Do you think it could be possible to run this on another plateform, like pine64 with armbian where omxplayer is not available?
The npm install part is not working as omxplayer is not available…
-
Has anyone had success getting this module to work with Lorex security cameras? The is the only module preventing my magic mirror being “complete”
-
1st, have you tried the URL string at https://www.ispyconnect.com/man.aspx?n=Lorex ?
2nd, have you verified that the video player you want is able to run the video stream?
-
i am using vlc as local player to play my stream locally just fine.When i try to access MM from my pc (chrome) using http://mmip:8080 ,my stream is not starting at all.Using ffmpeg for remote player and i also test my stream using ffplay and it works just fine at my rpi3b.What is wrong ???
-
@costascontis Try a different local player. In testing of the last version I used, VLC had an invalid command line. I honestly have abandoned the module totally in favor of an external approach for the camera.
-
@BKeyport i dont have any problem with vlc as local player ,my issue is with remote player,ffmpeg.I am trying to see the feed from windows pc with chrome.Every other module is working fine ,the live feed is starting but i only see black,no camera image.
-
@costascontis oh, sorry, I misunderstood.
-
I’m assuming if i just have 1 stream, it will most likely cause a burn-in issue? any good idea? like transition between a black backgroup ever minute or so for couple of seconds?
Thanks,