<?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[Using USB HUB to use two web cameras]]></title><description><![CDATA[<p dir="auto">I need to project two WEB cameras at the same time, based on the example <a href="https://onion.io/streaming-video-over-wifi/" rel="nofollow">https://onion.io/streaming-video-over-wifi/</a>, I can see one of the cameras but when using the mjpeg-streamer command for the second camera it generates mistake. I add the output of the command.</p>
<pre><code>mjpg_streamer -i "/usr/lib/input_uvc.so -d /dev/video1 -r 640x480 -f 15" -o "/usr/lib/output_http.so -p 8081 -w /www/webcam1"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video1
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 15
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
o: www-folder-path...: /www/webcam1/
o: HTTP TCP port.....: 8081
o: username:password.: disabled
o: commands..........: enabled
Unable to start capture: No space left on device
i: Error grabbing frames
</code></pre>
]]></description><link>http://community.onion.io/topic/4977/using-usb-hub-to-use-two-web-cameras</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 13:33:58 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4977.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Apr 2023 18:09:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Tue, 18 Apr 2023 18:09:13 GMT]]></title><description><![CDATA[<p dir="auto">I need to project two WEB cameras at the same time, based on the example <a href="https://onion.io/streaming-video-over-wifi/" rel="nofollow">https://onion.io/streaming-video-over-wifi/</a>, I can see one of the cameras but when using the mjpeg-streamer command for the second camera it generates mistake. I add the output of the command.</p>
<pre><code>mjpg_streamer -i "/usr/lib/input_uvc.so -d /dev/video1 -r 640x480 -f 15" -o "/usr/lib/output_http.so -p 8081 -w /www/webcam1"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video1
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 15
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
o: www-folder-path...: /www/webcam1/
o: HTTP TCP port.....: 8081
o: username:password.: disabled
o: commands..........: enabled
Unable to start capture: No space left on device
i: Error grabbing frames
</code></pre>
]]></description><link>http://community.onion.io/post/25389</link><guid isPermaLink="true">http://community.onion.io/post/25389</guid><dc:creator><![CDATA[kamiloade]]></dc:creator><pubDate>Tue, 18 Apr 2023 18:09:13 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Thu, 20 Apr 2023 04:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> How much space do you have available? use df -h</p>
]]></description><link>http://community.onion.io/post/25395</link><guid isPermaLink="true">http://community.onion.io/post/25395</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 20 Apr 2023 04:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Thu, 20 Apr 2023 14:08:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a> <img src="/assets/uploads/files/1681999605366-screen-shot-2023-04-20-at-9.06.27-am.png" alt="Screen Shot 2023-04-20 at 9.06.27 AM.png" class="img-responsive img-markdown" /><br />
I only have mjpg-streamer installed. The application runs in C, it uses very little memory.</p>
]]></description><link>http://community.onion.io/post/25396</link><guid isPermaLink="true">http://community.onion.io/post/25396</guid><dc:creator><![CDATA[kamiloade]]></dc:creator><pubDate>Thu, 20 Apr 2023 14:08:30 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Thu, 20 Apr 2023 19:47:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> might be a memory issue</p>
<p dir="auto">Try running <code>free -h</code> at 3 different times and comparing:</p>
<ol>
<li>baseline - before you start mjpg-streamer for the first webcam</li>
<li>after starting mjpg-streamer for the first webcam</li>
<li>after mjpg-streamer for the second webcam</li>
</ol>
<p dir="auto">Maybe also check how much space is available in <code>/tmp</code> at each of those points</p>
]]></description><link>http://community.onion.io/post/25397</link><guid isPermaLink="true">http://community.onion.io/post/25397</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Thu, 20 Apr 2023 19:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Thu, 20 Apr 2023 21:52:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a></p>
<p dir="auto">This is with streaming turned off<br />
<img src="/assets/uploads/files/1682026714011-screen-shot-2023-04-20-at-4.32.39-pm.png" alt="Screen Shot 2023-04-20 at 4.32.39 PM.png" class="img-responsive img-markdown" /><br />
This is with streaming from the first camera<br />
<img src="/assets/uploads/files/1682026763452-screen-shot-2023-04-20-at-4.34.57-pm.png" alt="Screen Shot 2023-04-20 at 4.34.57 PM.png" class="img-responsive img-markdown" /><br />
This is with streaming from the second camera<br />
<img src="/assets/uploads/files/1682026848074-screen-shot-2023-04-20-at-4.36.34-pm.png" alt="Screen Shot 2023-04-20 at 4.36.34 PM.png" class="img-responsive img-markdown" /></p>
<p dir="auto">The consumption is approximately 5MB and 6.2MB. the available memory is much higher so I don't think the problem is RAM.</p>
<p dir="auto">I did the same test on an Omega 2+ and the error persists.</p>
]]></description><link>http://community.onion.io/post/25398</link><guid isPermaLink="true">http://community.onion.io/post/25398</guid><dc:creator><![CDATA[kamiloade]]></dc:creator><pubDate>Thu, 20 Apr 2023 21:52:50 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Mon, 24 Apr 2023 14:26:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> Hmm yeah, I agree, RAM is probably not the problem here.<br />
Is there any way to get more verbose output from mjpg streamer? Maybe that will point you in a better debugging direction</p>
]]></description><link>http://community.onion.io/post/25402</link><guid isPermaLink="true">http://community.onion.io/post/25402</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Mon, 24 Apr 2023 14:26:27 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Tue, 25 Apr 2023 13:14:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a><br />
I can't find a way to debug mjpg_streamer unless I do a clean build.<br />
According to the official page, the program supports multiple cameras and I see that it does not present a problem.<br />
I found in several forums the same problem and apparently it could be a problem when compiling the kernel with respect to the USB driver. Is there a way to validate the USB port configuration of the Onion omega 2?</p>
]]></description><link>http://community.onion.io/post/25407</link><guid isPermaLink="true">http://community.onion.io/post/25407</guid><dc:creator><![CDATA[kamiloade]]></dc:creator><pubDate>Tue, 25 Apr 2023 13:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Tue, 25 Apr 2023 15:04:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> said in <a href="/post/25407">Using USB HUB to use two web cameras</a>:</p>
<blockquote>
<p dir="auto">Is there a way to validate the USB port configuration of the Onion omega 2?</p>
</blockquote>
<p dir="auto">Definitely! Our build system is 100% open source and available at <a href="https://github.com/OnionIoT/source" rel="nofollow">https://github.com/OnionIoT/source</a></p>
<p dir="auto">Follow <a href="https://github.com/OnionIoT/source#step-1-preparing-the-build-system" rel="nofollow">Step 1 from the README</a> to setup the build system, and then you can run <code>make menuconfig</code> to look at all of the configuration in depth.</p>
]]></description><link>http://community.onion.io/post/25409</link><guid isPermaLink="true">http://community.onion.io/post/25409</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Tue, 25 Apr 2023 15:04:01 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Wed, 24 Jan 2024 04:05:15 GMT]]></title><description><![CDATA[<p dir="auto">I am facing the similar issue as <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> . It says no space left on device when using two usb cameras. Did anyone find the solution to this please??</p>
]]></description><link>http://community.onion.io/post/25794</link><guid isPermaLink="true">http://community.onion.io/post/25794</guid><dc:creator><![CDATA[oscar]]></dc:creator><pubDate>Wed, 24 Jan 2024 04:05:15 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB HUB to use two web cameras on Wed, 24 Jan 2024 08:23:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9121">@kamiloade</a> my first suspicion is that it is writing to the same file for both cameras, do you know where the files are being written? Or otherwise the two cameras are trying to create files/temp file that do exceed the device capacity. Have you looked at where these files are being written?</p>
]]></description><link>http://community.onion.io/post/25795</link><guid isPermaLink="true">http://community.onion.io/post/25795</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 24 Jan 2024 08:23:08 GMT</pubDate></item></channel></rss>