<?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/1247" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2021-11-02T14:27:40+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2021-11-02T14:27:40+00:00</updated>

		<published>2021-11-02T14:27:40+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2918#p2918</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2918#p2918"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2918#p2918"><![CDATA[
chbla, your use case is new for us <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":)" title="Smile"><br>Could you please share a few photos taken with and without this mirror glass?<br>Also, could you please share a few details about this glass? Is this specific item (with some IR/UV filter features)?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Tue Nov 02, 2021 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chbla]]></name></author>
		<updated>2021-10-31T20:31:37+00:00</updated>

		<published>2021-10-31T20:31:37+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2917#p2917</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2917#p2917"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2917#p2917"><![CDATA[
Thanks a lot for the help!<br><br>I've rebooted, and the exposure settings seem to work again. However, the changes are very small only.<br>The problem is, I'm using a case (of a robot like vehicle) with a semi transparent mirror glass for protection, a kind of lidar look.<br>It's from an old smart mirror.<br><br>I previously used an USB camera which adapted very fast if I put it behind the glass, there is only a small noticeable difference in brightness.<br>If I use my phone camera, there is almost no difference with or without glass.<br><br>If I use the stereopi, the image is almost completely dark and only the light sources are visible.<br>I'm unsure if the cameras are really that bad or if I can change the settings somehow so it is brighter?<br>I've tried setting ISO to max, Exposure to Auto, and AV to the highest setting, I believe it's 24.<br>But there is not really a noticeable change.<br><br>Any hints how I could improve this?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1012">chbla</a> — Sun Oct 31, 2021 8:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2021-10-29T12:00:38+00:00</updated>

		<published>2021-10-29T12:00:38+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2910#p2910</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2910#p2910"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2910#p2910"><![CDATA[
Huh, exposure should definitely work.<br>Have you assembled the kit with the screen? The best way to see how exposure works is to look at the screen whilst changing the light conditions.<br><br>BTW, our experience says that mp4mux is often doing the bad files. We used this approach first, but later switched to ffmpeg post-processing. <br><br>As for the vidseo settings - keep 1280x720/30fps/3Mbit first to adjust your quality and brightness issue. You can increase the bitrate to 5 or 10Mbit for the higher recording quality, but in this case livestream can be affected.<br><br>After getting the result you need, try with the FullHD settings.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Fri Oct 29, 2021 12:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chbla]]></name></author>
		<updated>2021-10-29T11:29:53+00:00</updated>

		<published>2021-10-29T11:29:53+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2909#p2909</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2909#p2909"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2909#p2909"><![CDATA[
Another thing I noticed: If the light is getting darker in the room, the camera doesn't adjust. I tried closing the blinds while turning the light on, and the image is almost dark. Exposure settings don't seem to have any effects?<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1012">chbla</a> — Fri Oct 29, 2021 11:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chbla]]></name></author>
		<updated>2021-10-29T10:06:08+00:00</updated>

		<published>2021-10-29T10:06:08+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2908#p2908</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2908#p2908"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2908#p2908"><![CDATA[
Hi, and thanks for the detailed answer!<br><br>What I figured out in the meantime is the -e flag for gstreamer, I can save the video like this:<br><div class="codebox"><p>Code: </p><pre><code>gst-launch-1.0 -e udpsrc port=3000 ! h264parse ! queue ! mp4mux ! filesink location=out.mp4</code></pre></div>My goal is to record high quality video in 3D, save it, and later view it in an oculus go/quest.<br>The camera is stationary, and the focus really is quality with a natural framerate. Right now I'm testing it in the office.<br><br>I will look into the decimation feature. Any hints for settings to use with an oculus Go? Somehow I'm not sure about the right settings on the StereoPi side as well as the settings on the ocolus for playing back the video - looks like I need to adjust the offsets a bit.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1012">chbla</a> — Fri Oct 29, 2021 10:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2021-10-29T09:23:48+00:00</updated>

		<published>2021-10-29T09:23:48+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2907#p2907</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2907#p2907"/>
		<title type="html"><![CDATA[Re: Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2907#p2907"><![CDATA[
Hi Chiba,<br>Looks like you are getting the raw h264 stream, which has no video information inside. That's why you can face difficulties with FPS and even scrolling the video file in VLC. To "normalize" the recorded file you should put it into a container (like mp4). This is a very fast process with no encoding/decoding, and we are doing this onboard for every video file recorded.<br><br>To do this you can use this simple command:<br><div class="codebox"><p>Code: </p><pre><code>ffmpeg -i file_in.h264 -c copy file_out.mp4</code></pre></div>p.s. And if you want YouTube to recognize the 3D format of the recorded video, use this code:<div class="codebox"><p>Code: </p><pre><code>ffmpeg  -i file_in.h264 -map 0 -c copy -metadata:s:v stereo_mode=left_right %s.3d.mkv</code></pre></div>After that the processed file can be shown in a few 3D formats by youtube, like anaglyph in the browser on the desktop computer or side-by-side in the mobile YouTube application. Pro tip: do not forget to turn on "decimation" on the StereoPi, and this will increase the FOV you are getting.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Fri Oct 29, 2021 9:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chbla]]></name></author>
		<updated>2021-10-28T22:18:39+00:00</updated>

		<published>2021-10-28T22:18:39+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2906#p2906</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2906#p2906"/>
		<title type="html"><![CDATA[Saving high quality 3D video on linux with gst-launch?]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2906#p2906"><![CDATA[
Hi there,<br><br>I've got a StereoPi V2 camera kit and I want to save high quality 3D video. I figured it's best to stream it via UDP and use gst-launch on the remote (linux) machine.<br>To view the stream I use:<br><div class="codebox"><p>Code: </p><pre><code>gst-launch-1.0 -v udpsrc port=3000 buffer-size=300000 ! h264parse ! avdec_h264 ! autovideosink sync=false</code></pre></div>While this is working, I'm not sure how to save the video. Played around with different filesink settings but I cannot play it back in VLC or mplayer.<br><br>Can anyone give me a hint?<br>Also looking for the best settings to save highest quality video "normal" framerates of 30/40 in case anyone has some inputs.<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=1012">chbla</a> — Thu Oct 28, 2021 10:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
