MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. mwoodage
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by mwoodage

    • RE: Unsuccessful video streaming - help please :)

      Hi everyone, thanks for your help so far.
      Yesterday i wiped my RP clean and started a fresh install - however I still can’t get the camera stream to show up in the VLC player.
      Is it because the camera is 5MP and therefore there’s too much data for the VLC player to process?
      The same stream works on my laptop?

      Thanks
      Martin

      posted in Utilities
      M
      mwoodage
    • RE: Unsuccessful video streaming - help please :)

      hi evroom, thanks for the help,
      I tried what you said (after installing PM2!) but i just get the following:-

      pi@raspberrypi:~ $ pm2 start omx_stream1
      [PM2][ERROR] script not found : /home/pi/omx_stream1
      script not found : /home/pi/omx_stream1
      ┌──────┬────┬──────┬────────┬───┬─────┬────────┐
      │ Name │ id │ mode │ status │ ↺ │ cpu │ memory │
      └──────┴────┴──────┴────────┴───┴─────┴────────┘
      Use pm2 show <id|name> to get more details about an app
      pi@raspberrypi:~ $

      Is that right?? I’m assuming not, as its saying script not found. I’ve un-installed omx player and re-installed it but get the same results.

      Sorry, i’m completely new to this so please be patient with me 🙂

      posted in Utilities
      M
      mwoodage
    • RE: Unsuccessful video streaming - help please :)

      Thanks shbatm - i’ve tried the stream several times on my laptop and it shows up without any problems. I’ve now installed VLC player on the Raspberry Pi and i can’t get the feed to work. I’m using exactly the same on both - any ideas?

      rtsp://admin:*******@192.168.1.77/h264Preview_01_main

      posted in Utilities
      M
      mwoodage
    • RE: Unsuccessful video streaming - help please :)

      Thanks @shbatm - that’s cured the errors but i’m still not getting the video feed. It could be my settings so will try that first and report back.

      Thanks again
      Martin

      posted in Utilities
      M
      mwoodage
    • RE: Unsuccessful video streaming - help please :)

      Hi evroom, thanks for the help - I’ve searched for “omxRestart” in the config but found nothing. 😞

      posted in Utilities
      M
      mwoodage
    • Unsuccessful video streaming - help please :)

      Hello, can anyone help, i’ve tried everything i can think of…

      I’m getting the following error when i start up Magic Mirror,

      Starting stream stream1 with args: [
      “–avdict”,
      “rtsp_transport:tcp”,
      “–win”,
      “334, 796, 686, 1038”,
      “–live”,
      “–video_queue”,
      “4”,
      “–fps”,
      “30”,
      “rtsp://admin:*******@192.168.1.77:554//h264Preview_01_main”
      ]
      Starting PM2 for omx_stream1
      PM2 started for omx_stream1
      Whoops! There was an uncaught exception…
      TypeError: Cannot read property ‘omxRestart’ of undefined
      at pm2.start (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:156:85)
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1017:21
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1088:19
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:473:16
      at iterateeCallback (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:992:24)
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:969:16
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1084:9
      at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10
      at Parser. (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8)
      at emitOne (events.js:116:13)
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Stopping stream stream1
      Stopping PM2 process: omx_stream1

      Any help would be gratefully received.
      Thanks
      Martin

      posted in Utilities
      M
      mwoodage
    • 1 / 1