<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/981" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2020-07-02T18:26:38+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/981</id>

		<entry>
		<author><name><![CDATA[zoldaten]]></name></author>
		<updated>2020-07-02T18:26:38+00:00</updated>

		<published>2020-07-02T18:26:38+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2125#p2125</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2125#p2125"/>
		<title type="html"><![CDATA[Re: how to stream to stereo-pi apk ?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2125#p2125"><![CDATA[
Hi!<br><br>As there is no dir named /opt/StereoPi/ in image with OpenCV, i copied it in from such image.<br>Then tried to start video-source.sh - seen no errors in cmd.<br>But no any video-streams on <a href="http://127.0.0.1:5000" class="postlink">http://127.0.0.1:5000</a> or 127.0.0.1:3000<br><br>After that i tried in cmd raw command:<br><em class="text-italics"><br>./bin/raspivid -t 0 $DEC_STR $UP_DOWN -w $video_width -h $video_height -fps $video_fps --bitrate $video_bitrate --profile $video_profile $VMOD_STR $PREVIEW3D --intra $video_fps --inline --flush --awb $video_wb --exposure $exposure --sharpness $sharpness --contrast $contrast --digitalgain $digitalgain -o - | ./bin/splitter -c 127.0.0.1:5000,127.0.0.1:3001$UDP_CLIENTS_LIST$USB_DST$MPEGTS_DST$RTMP_DST$REC_DST$SKYBOX_MPEGTS_DST -m 1400<br></em><br>but it asked me to put all the parameters - width, height, etc. - so no result.<br><br>More over tried just boot up using sd-card with SLP image installed - but surprisely booted from EMMC ( <br>As far as i remember - sd-card should have a priority in booting ? <br><br>Whats wrong ?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=60">zoldaten</a> — Thu Jul 02, 2020 6:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-07-01T16:09:18+00:00</updated>

		<published>2020-07-01T16:09:18+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2113#p2113</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2113#p2113"/>
		<title type="html"><![CDATA[Re: how to stream to stereo-pi apk ?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2113#p2113"><![CDATA[
Hi Zoldaten, <br>Actually mentioned pyimagesearch livestream solution is not so good. Try this way to get insights <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"> It is for another purposes, not for the real-time low-latency.<br>As for the scripts:<br>1. Take a look at the /opt/StereoPi/scripts/video-source.sh<br>The last row activates the livestream. Here is this code:<div class="codebox"><p>Code: </p><pre><code>    ./bin/raspivid -t 0 $DEC_STR $UP_DOWN -w $video_width -h $video_height -fps $video_fps --bitrate $video_bitrate --profile $video_profile $VMOD_STR $PREVIEW3D --intra $video_fps --inline --flush --awb $video_wb --exposure $exposure --sharpness $sharpness --contrast $contrast --digitalgain $digitalgain -o - | ./bin/splitter -c 127.0.0.1:5000,127.0.0.1:3001$UDP_CLIENTS_LIST$USB_DST$MPEGTS_DST$RTMP_DST$REC_DST$SKYBOX_MPEGTS_DST -m 1400</code></pre></div>2. Instead of PHP parameters you can use a digits you need (like replacing $video_fps with the 30). You can find all parameters description in this file (they are actually taken from the admin panel GUI).<br><br>3. Grab /opt/StereoPi/bin/splitter binary, put it in your Raspberry OS.<br><br>4. If you need a stereoscopic preview on HDMI - also take our fixed raspivid here: /opt/StereoPi/bin/raspivid. If you don't need it, use a system raspivid, but remove a key "-fs" (i.e. $PREVIEW3D variable). This key is supported by our version of raspivid only, it forces the stereoscopic preview on HDMI poutput.<br><br>5. Our application usually listening for the port 3000. So if you know the IP address of your Android device, put it in this line as a UDP client. This should work.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Jul 01, 2020 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zoldaten]]></name></author>
		<updated>2020-07-01T07:01:45+00:00</updated>

		<published>2020-07-01T07:01:45+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2108#p2108</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2108#p2108"/>
		<title type="html"><![CDATA[Re: how to stream to stereo-pi apk ?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2108#p2108"><![CDATA[
Thanks for fast answer.<br>I really dont need opencv at this point - i mean i just use image with openCV (not SLP).<br>Do you have any ready-to-use scripts to start streaming in stereomode to apk ?<br><br>ps. i dont use SLP image cause of ready-only system troubles, lack of opencv installed, etc.<br><br>pps.<br>As to opencv streaming - not bad solution is here - <br><a href="https://www.pyimagesearch.com/2019/04/15/live-video-streaming-over-network-with-opencv-and-imagezmq/" class="postlink">https://www.pyimagesearch.com/2019/04/1 ... -imagezmq/</a><br>But cameras work separately.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=60">zoldaten</a> — Wed Jul 01, 2020 7:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-06-30T13:21:41+00:00</updated>

		<published>2020-06-30T13:21:41+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2106#p2106</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2106#p2106"/>
		<title type="html"><![CDATA[Re: how to stream to stereo-pi apk ?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2106#p2106"><![CDATA[
Hi Zoldaten,<br>To say briefly - it is really difficult. OpenCV is not so good at live stream. And also our application is focused on RAW H264, not friendly for OpenCV.<br>You can use one special approach. Like capture a video, "split" it into two streams, and use one stream for the live stream, and another for the OpenCV processing. You need to use a pipe for this. We use this approach in SLP image, to do recording/live stream to the browser/live stream to the application simultaneously. If you'll look into our code, you can find a "splitter" binary. It does this works.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Jun 30, 2020 1:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zoldaten]]></name></author>
		<updated>2020-06-30T11:53:12+00:00</updated>

		<published>2020-06-30T11:53:12+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2103#p2103</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2103#p2103"/>
		<title type="html"><![CDATA[how to stream to stereo-pi apk ?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2103#p2103"><![CDATA[
hi!<br><br>i use python image opencv from your source.<br>cameras work well.<br>i simply want to stream in stereomode to stereopi application :<br><a href="https://play.google.com/store/apps/details?id=com.virt2real.stereopi&amp;hl=en" class="postlink">https://play.google.com/store/apps/deta ... eopi&amp;hl=en</a><br><br>how to do that without using SLP image ?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=60">zoldaten</a> — Tue Jun 30, 2020 11:53 am</p><hr />
]]></content>
	</entry>
	</feed>
