<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unsuccessful video streaming - help please :)]]></title><description><![CDATA[<p dir="auto">Hello, can anyone help, i’ve tried everything i can think of…</p>
<p dir="auto">I’m getting the following error when i start up Magic Mirror,</p>
<p dir="auto">Starting stream stream1 with args: [<br />
“–avdict”,<br />
“rtsp_transport:tcp”,<br />
“–win”,<br />
“334, 796, 686, 1038”,<br />
“–live”,<br />
“–video_queue”,<br />
“4”,<br />
“–fps”,<br />
“30”,<br />
“rtsp://admin:*******@192.168.1.77:554//h264Preview_01_main”<br />
]<br />
Starting PM2 for omx_stream1<br />
PM2 started for omx_stream1<br />
Whoops! There was an uncaught exception…<br />
TypeError: Cannot read property ‘omxRestart’ of undefined<br />
at pm2.start (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:156:85)<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1017:21<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1088:19<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:473:16<br />
at iterateeCallback (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:992:24)<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/async/dist/async.js:969:16<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:1084:9<br />
at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10<br />
at Parser. (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8)<br />
at emitOne (events.js:116:13)<br />
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?<br />
If you think this really is an issue, please open an issue on GitHub: <a href="https://github.com/MichMich/MagicMirror/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues</a><br />
Stopping stream stream1<br />
Stopping PM2 process: omx_stream1</p>
<p dir="auto">Any help would be gratefully received.<br />
Thanks<br />
Martin</p>
]]></description><link>https://forum.magicmirror.builders/topic/9389/unsuccessful-video-streaming-help-please</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 10:53:50 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9389.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 Jan 2019 17:52:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Fri, 04 Jan 2019 15:50:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a> said in <a href="/post/49341">Unsuccessful video streaming - help please :)</a>:</p>
<blockquote>
<p dir="auto">Is it because the camera is 5MP and therefore there’s too much data for the VLC player to process?</p>
</blockquote>
<p dir="auto">That may be the case. Most cameras offer a second, lower-resolution stream that you could use for something like the mirror.</p>
]]></description><link>https://forum.magicmirror.builders/post/49356</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49356</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Fri, 04 Jan 2019 15:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Fri, 04 Jan 2019 10:31:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi everyone, thanks for your help so far.<br />
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.<br />
Is it because the camera is 5MP and therefore there’s too much data for the VLC player to process?<br />
The same stream works on my laptop?</p>
<p dir="auto">Thanks<br />
Martin</p>
]]></description><link>https://forum.magicmirror.builders/post/49341</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49341</guid><dc:creator><![CDATA[mwoodage]]></dc:creator><pubDate>Fri, 04 Jan 2019 10:31:33 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Thu, 03 Jan 2019 01:48:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a> - Not to worry, we’ll get you sorted out.</p>
<p dir="auto">For starters, you are missing the script <code>omx_stream1</code>. pm2 has nothing to run so it can’t monitor the process. Or at least, that script isn’t located in <code>/home/pi/</code></p>
]]></description><link>https://forum.magicmirror.builders/post/49183</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49183</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Thu, 03 Jan 2019 01:48:53 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Thu, 03 Jan 2019 00:06:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a> The stream didn’t work in VLC player either (e.g. VLC by itself, nothing to do with MagicMirror)? Have you tried on your regular computer?  Not playing in VLC may be signs of a bigger problem–unfortunately I can’t troubleshoot every camera out there… if you can get it working in VLC on the Pi, I can help try and get it working in the module.</p>
<p dir="auto">Also FYI to you and <a class="plugin-mentions-user plugin-mentions-a" href="/user/evroom" aria-label="Profile: evroom">@<bdi>evroom</bdi></a>, I am working on an update to the module to use VLC to play the videos instead of OMXPlayer – see details here: <a href="https://forum.magicmirror.builders/topic/2743/mmm-rtspstream-video-streaming-from-live-feeds-security-cameras/163">https://forum.magicmirror.builders/topic/2743/mmm-rtspstream-video-streaming-from-live-feeds-security-cameras/163</a></p>
]]></description><link>https://forum.magicmirror.builders/post/49169</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49169</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 03 Jan 2019 00:06:34 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 20:55:30 GMT]]></title><description><![CDATA[<p dir="auto">Did you setup auto start  according to this procedure?</p>
<p dir="auto"><a href="https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror</a></p>
<p dir="auto">Perhaps it worked for me because the omx_stream was already known by pm2 in my case.<br />
Perhaps it needs to run once for pm2 to be useful.<br />
No idea.</p>
<pre><code>pm2 list
</code></pre>
<p dir="auto">Only shows mm, or MagicMirror?</p>
]]></description><link>https://forum.magicmirror.builders/post/49160</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49160</guid><dc:creator><![CDATA[evroom]]></dc:creator><pubDate>Wed, 02 Jan 2019 20:55:30 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 20:35:28 GMT]]></title><description><![CDATA[<p dir="auto">hi evroom, thanks for the help,<br />
I tried what you said (after installing PM2!) but i just get the following:-</p>
<p dir="auto">pi@raspberrypi:~ $ pm2 start omx_stream1<br />
[PM2][ERROR] script not found : /home/pi/omx_stream1<br />
script not found : /home/pi/omx_stream1<br />
┌──────┬────┬──────┬────────┬───┬─────┬────────┐<br />
│ Name │ id │ mode │ status │ ↺ │ cpu │ memory │<br />
└──────┴────┴──────┴────────┴───┴─────┴────────┘<br />
Use <code>pm2 show &lt;id|name&gt;</code> to get more details about an app<br />
pi@raspberrypi:~ $</p>
<p dir="auto">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.</p>
<p dir="auto">Sorry, i’m completely new to this so please be patient with me :)</p>
]]></description><link>https://forum.magicmirror.builders/post/49157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49157</guid><dc:creator><![CDATA[mwoodage]]></dc:creator><pubDate>Wed, 02 Jan 2019 20:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 19:22:32 GMT]]></title><description><![CDATA[<p dir="auto">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?</p>
<p dir="auto">rtsp://admin:*******@192.168.1.77/h264Preview_01_main</p>
]]></description><link>https://forum.magicmirror.builders/post/49153</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49153</guid><dc:creator><![CDATA[mwoodage]]></dc:creator><pubDate>Wed, 02 Jan 2019 19:22:32 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 19:01:43 GMT]]></title><description><![CDATA[<p dir="auto">A few hours ago I was busy with this module too, as it stopped to work after I loaded the latest changes.<br />
I deleted and re-installed the module again; am on the origin/master branch.<br />
For me, the stream only started after this command:</p>
<pre><code>pm2 start omx_stream1
</code></pre>
<p dir="auto">Perhaps worth a try.</p>
<p dir="auto">With</p>
<pre><code>pm2 list
</code></pre>
<p dir="auto">you can see if omx_stream1 is online.</p>
<p dir="auto">Then I saved the pm2 config to make it boot resistant</p>
<pre><code>pm2 update
pm2 save
</code></pre>
<p dir="auto">Btw, I do not see the</p>
<pre><code>Starting stream stream1 with args
</code></pre>
<p dir="auto">in the pm2 logs anymore.</p>
]]></description><link>https://forum.magicmirror.builders/post/49148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49148</guid><dc:creator><![CDATA[evroom]]></dc:creator><pubDate>Wed, 02 Jan 2019 19:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 18:45:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a> Make sure you can reach the stream in VLC or something similar first. Then try using the args that were spit out in the log to run <code>omxplayer</code> by itself from the command line.  You may have to play with the arguments until you can get it work by itself, then you can change the module settings to match.</p>
<pre><code class="language-shell">omxplayer –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”
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/49146</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49146</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:45:57 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 18:42:35 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> - 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.</p>
<p dir="auto">Thanks again<br />
Martin</p>
]]></description><link>https://forum.magicmirror.builders/post/49145</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49145</guid><dc:creator><![CDATA[mwoodage]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:42:35 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 18:26:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a> There are some issues with the latest release of that module. Please try reverting to an older version and see if it works. I am in the process of working on a fix for it:</p>
<pre><code class="language-shell">cd ~/MagicMirror/modules/MMM-RTSPStream
git checkout f583553
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/49143</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49143</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 18:18:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi evroom, thanks for the help - I’ve searched for “omxRestart” in the config but found nothing. :(</p>
]]></description><link>https://forum.magicmirror.builders/post/49142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49142</guid><dc:creator><![CDATA[mwoodage]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to Unsuccessful video streaming - help please :) on Wed, 02 Jan 2019 18:04:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mwoodage" aria-label="Profile: mwoodage">@<bdi>mwoodage</bdi></a><br />
Do you have the parameter “omxRestart” in your MMM-RTSPStream config ?<br />
I assume you are using this module.<br />
If yes, I would try to comment out (//) this parameter.<br />
Or set it to 0 (omxRestart: 0,).</p>
]]></description><link>https://forum.magicmirror.builders/post/49140</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49140</guid><dc:creator><![CDATA[evroom]]></dc:creator><pubDate>Wed, 02 Jan 2019 18:04:43 GMT</pubDate></item></channel></rss>