MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Niggich
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 4
    • Followers 0
    • Topics 6
    • Posts 72
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      Hey Guys,

      any Solution to install the Modul at Ubuntu without Omxplayer? The option with vlc sounds good…

      posted in Utilities
      NiggichN
      Niggich
    • RTSP Stream error since last Update

      Hallo @shbatm, hallo everybody,

      since I install the last update of your Module I get the following error. Maybe you can help me…

      0|mm       |     TypeError: Cannot read property 'omxRestart' of undefined
      0|mm       |     at pm2.start (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:155:85)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1017:21
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1088:19
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:473:16
      0|mm       |     at replenish (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:1006:25)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:1016:9
      0|mm       |     at Object.eachLimit$1 (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:3196:24)
      0|mm       |     at startApps (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1033:11)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1015:14
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:473:16
      0|mm       |     at iterateeCallback (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:992:24)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:969:16
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1007:16
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1342:19
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:473:16
      0|mm       |     at iterateeCallback (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:992:24)
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:969:16
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1338:16
      0|mm       |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10
      0|mm       |     at Parser.<anonymous> (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8)
      0|mm       |     at emitOne (events.js:116:13)
      0|mm       |     at Parser.emit (events.js:211:7)
      

      THX

      posted in Troubleshooting
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm The installation of the “Graceful Shutdown” fails.

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm At first, thx for your great work. I finally tried to update the module but after npm installI get an Error message like this.

      > MMM-RTSPStream@1.2.1 postinstall /home/pi/MagicMirror/modules/MMM-RTSPStream
      > ./install_sd_patch.sh && sudo npm i -g http-server
      
      Applying Graceful Shutdown patch to MagicMirror.
      error: Anwendung des Patches fehlgeschlagen: js/electron.js:96
      error: js/electron.js: Patch konnte nicht angewendet werden
      
      npm ERR! Linux 4.9.48-v7+
      npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
      npm ERR! node v4.3.2
      npm ERR! npm  v2.14.12
      npm ERR! code ELIFECYCLE
      npm ERR! MMM-RTSPStream@1.2.1 postinstall: `./install_sd_patch.sh && sudo npm i -g http-server`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the MMM-RTSPStream@1.2.1 postinstall script './install_sd_patch.sh && sudo npm i -g http-server'.
      npm ERR! This is most likely a problem with the MMM-RTSPStream package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     ./install_sd_patch.sh && sudo npm i -g http-server
      npm ERR! You can get their info via:
      npm ERR!     npm owner ls MMM-RTSPStream
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/MagicMirror/modules/MMM-RTSPStream/npm-debug.log
      
      

      I tried to update and a Fresh install but at both ways I get the same Error.

      posted in Utilities
      NiggichN
      Niggich
    • RE: After update to Mirror to 2.1.3 - no working Whitlist

      I put my config like this:

      {
      	port: 1103,
      	address: '0.0.0.0',
      	electronOptions: {
      		
      	},
      	ipWhitelist: [
      		"127.0.0.1",
      		"::ffff:127.0.0.1",
      		"::1",
      		"::ffff:192.168.113.60",
      		"::ffff:192.168.113.22",
      		"::ffff:192.168.113.97",
      		"::ffff:192.168.113.29",
      		"::ffff:192.168.113.103",
      		"::ffff:192.168.113.66"
      	],
      

      The Remote-Control says “This device is not allowed to acces your mirror”. The IP-Adresses are correct.

      posted in Troubleshooting
      NiggichN
      Niggich
    • RE: layer definition: here MMM-Globe overlaps left panel

      @schlachtkreuzer6 hmm… try to re-install the modul!

      posted in Troubleshooting
      NiggichN
      Niggich
    • RE: layer definition: here MMM-Globe overlaps left panel

      @schlachtkreuzer6 This is my Entry at the custom.css.

      .region.lower.third {
      	z-index: 0;
      	position: absolute;
      }
      

      Maybe you have to change the position in the custom.css like .region.top.center.

      posted in Troubleshooting
      NiggichN
      Niggich
    • RE: layer definition: here MMM-Globe overlaps left panel

      @schlachtkreuzer6 Without this in your custom.css the Globe is working?

      posted in Troubleshooting
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm To show/hide the modules I using MMM-remote-Control.

      Here’s the server log.

      Starting stream stream1 with args: [
      0|mm       |     "--avdict",
      0|mm       |     "rtsp_transport:tcp",
      0|mm       |     "--win",
      0|mm       |     "203.390625, 1491.390625, 523.390625, 1731.390625",
      0|mm       |     "--live",
      0|mm       |     "--video_queue",
      0|mm       |     "4",
      0|mm       |     "--fps",
      0|mm       |     "30",
      0|mm       |     "rtsp://192.168.113.125:554/live/ch1"
      0|mm       | ]
      0|mm       | Starting stream stream2 with args: [
      0|mm       |     "--avdict",
      0|mm       |     "rtsp_transport:tcp",
      0|mm       |     "--win",
      0|mm       |     "553.390625, 1491.390625, 873.390625, 1731.390625",
      0|mm       |     "--live",
      0|mm       |     "--video_queue",
      0|mm       |     "4",
      0|mm       |     "--fps",
      0|mm       |     "30",
      0|mm       |     "rtsp://192.168.113.103:554/live/ch1"
      0|mm       | ]
      
      
      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm thank you for the fast answer, but this doesn’t fix the problem.

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm - The stream is working. Now I have another question/problem. When I hide the module an show it again the Video picture is in Fullscreen. Any fix for this? thx a lot…

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @barnosch thx this works fine for me…

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @Drooneyef I put the port of my cam behind the IP-adress…

      module: 'MMM-RTSPStream',
      position: 'bottom_center',
      config: {
      		autoStart: true,
              rotateStreams: false,
              showSnapWhenPaused: false,
              moduleWidth: 704,
              moduleHeight: 240,
              moduleOffset: { top: 212, left: 0 },
              localPlayer: 'omxplayer',
              	stream1: {
                      name: '',
                      url: 'rtsp://192.168.113.125:554/live/ch1',
                      shutdownDelay: 0,
                      width: 320,
                      height: 240,
                      frameRate: "20",
                      port: 9999,
      			},
      			stream2: {
                      name: '',
                      url: 'rtsp://192.168.113.103:554/live/ch1',
                      shutdownDelay: 0,
                      width: 320,
                      height: 240,
                      frameRate: "20",
                      port: 10000,
      			},
      
      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      The stream works fine with the omx… finally, after 4 weeks playing…

      Another question. Is any way to remove the little white Frame around video picture?

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @xblackdemonx ok, almost the same like my config. Just the Framerate is different. I change it like it is in your config and will see.

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @xblackdemonx how you did this? I try everything… how is your config?

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @xblackdemonx The ffmpeg have a time difference from live to stream about 10 seconds.

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm I try everything to get stream working with omxplayer but I always get a black blank screen. I don’t know what can I try anymore. When I change it back to ffmpeg the stream is working…

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm I change back everything and its working again. I also changed my config file to the setting you said. It’s a bit better now. In the Log I doesn’t have any errors.

      posted in Utilities
      NiggichN
      Niggich
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @shbatm Hello, I found the time to try this tweak but after I changed everything the Stream doesn’t start.

      posted in Utilities
      NiggichN
      Niggich
    • 1 / 1