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

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2020-11-26T09:22:40+00:00</updated>

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

		<entry>
		<author><name><![CDATA[jonititan]]></name></author>
		<updated>2020-11-26T09:22:40+00:00</updated>

		<published>2020-11-26T09:22:40+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2370#p2370</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2370#p2370"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2370#p2370"><![CDATA[
Upon further inspection i do still get lots of unreadable files when I set the duration for 5min or more.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=626">jonititan</a> — Thu Nov 26, 2020 9:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jonititan]]></name></author>
		<updated>2020-11-21T22:30:21+00:00</updated>

		<published>2020-11-21T22:30:21+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2367#p2367</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2367#p2367"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2367#p2367"><![CDATA[
Thats great to hear.  i'll look forward to trying it out.  I'm also looking forward to Stereopiv2  <br><br>It seemed to happen no matter what settings i choose.<br>However I must admit I went to check it just now and after resetting everything to their defaults it started working....<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=626">jonititan</a> — Sat Nov 21, 2020 10:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-10-23T09:32:10+00:00</updated>

		<published>2020-10-23T09:32:10+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2308#p2308</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2308#p2308"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2308#p2308"><![CDATA[
jonititan, which settings are you using for the video recording?<br>Also, JFYI, we are planning to start beta-tests of our updated SLP image soon. The Video recording part was fully rewritten, and this issue should be solved.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Fri Oct 23, 2020 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jonititan]]></name></author>
		<updated>2020-10-21T11:32:32+00:00</updated>

		<published>2020-10-21T11:32:32+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2303#p2303</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2303#p2303"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2303#p2303"><![CDATA[
I am also having this issue.  Out of the box recording results in unplayable files 90+% of the time<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=626">jonititan</a> — Wed Oct 21, 2020 11:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-06-19T10:47:30+00:00</updated>

		<published>2020-06-19T10:47:30+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2091#p2091</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2091#p2091"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2091#p2091"><![CDATA[
May be on-the-go conversion from raw H264 to the readable MP4 is an issue. But raw264 is very uncomfortable for the viewing (no scroll, etc). We need to investigate this issue.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Fri Jun 19, 2020 10:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomii]]></name></author>
		<updated>2020-06-18T19:44:49+00:00</updated>

		<published>2020-06-18T19:44:49+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2089#p2089</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2089#p2089"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2089#p2089"><![CDATA[
<blockquote class="uncited"><div>....  And I am quiet delighted to see that there are almost no recording error anymore. (decreased from sometimes more than 50% to almost nothing)<br>.....</div></blockquote>I was a bit too optimistic  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_sad.gif" width="15" height="17" alt=":(" title="Sad"> . Recording long (&gt;10 minutes) videos still give occasional unplayable files, although a lot less than it used to be  <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":)" title="Smile"> .<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=93">stereomii</a> — Thu Jun 18, 2020 7:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2020-06-10T16:29:31+00:00</updated>

		<published>2020-06-10T16:29:31+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2045#p2045</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2045#p2045"/>
		<title type="html"><![CDATA[Re: Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2045#p2045"><![CDATA[
Hi Stereomii,<br>Welcome back, we missed you here! <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"><br>Thank you for your catch! We'll test this approach. I also added this post to the list of improvements for the <a href="https://forum.stereopi.com/viewtopic.php?f=10&amp;t=896" class="postlink">upcoming SLP update topic</a>.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Jun 10, 2020 4:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stereomii]]></name></author>
		<updated>2020-06-10T12:32:36+00:00</updated>

		<published>2020-06-10T12:32:36+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2042#p2042</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2042#p2042"/>
		<title type="html"><![CDATA[Unreadeable recorded video in SLP]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2042#p2042"><![CDATA[
I wonder if I am the only one having problems recording videos with the SLP image. I mentioned it last year in <a href="https://forum.stereopi.com/viewtopic.php?p=252#p252" class="postlink">https://forum.stereopi.com/viewtopic.php?p=252#p252</a> problems recording videos. Realizator suggested videos being not correctly closed.<br><br>Alas no real solutions came up. The problems continued what resulted in me losing interest in the StereoPi.<br><br>Recently I picked up StereoPi with a fresh SLP image (version 0.2.4), only to find out that no reliable video capture was possible. I tried to get some idea why and noticed that running /opt/StereoPi/run.sh in a ssh-terminal (after first stopping relevant processes with stop.sh) logged a lot of information on the termial screen.<br><br>Next lines seem to confirm that Gstreamer not correctly closing the recordings is indeed the reason why the recordings can not be played<div class="codebox"><p>Code: </p><pre><code>Recording enabledRecording without audio to  20200604-165655Setting pipeline to PAUSED ...Pipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClockERROR: from element /GstPipeline:pipeline0/GstQTMux:qtmux0: Could not multiplex stream.Additional debug info:gstqtmux.c(3391): gst_qt_mux_add_buffer (): /GstPipeline:pipeline0/GstQTMux:qtmux0:Buffer has no PTS.EOS on shutdown enabled -- waiting for EOS after ErrorWaiting for EOS...ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data stream error.Additional debug info:gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:streaming stopped, reason error (-5)ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data stream error.Additional debug info:gstqueue.c(989): gst_queue_handle_sink_event (): /GstPipeline:pipeline0/GstQueue:queue0:streaming stopped, reason error (-5)Need to stop recordinghandling interrupt.Interrupt: Stopping pipeline ...Interrupt while waiting for EOS - stopping pipeline...Execution ended after 0:00:28.678193959Setting pipeline to PAUSED ...Setting pipeline to READY ...Recording parts by 30 secondsSetting pipeline to NULL ...Freeing pipeline ...Recording stopped</code></pre></div>So I tried to make sure Gstreamer (recorder) has time enough to shut down before a new recording is started. I modified /opt/SterePi/scripts/loop-record.sh by adding:<br>     killall -q -INT recorder<br>     sleep 2<br>before starting a new recording (after line 20)<div class="codebox"><p>Code: </p><pre><code>...    if [ "$record_enabled" = "1" ] ; thenecho "Recording enabled"elsesleep 1continue    fi#next two lines added:     killall -q -INT recorder     sleep 2    if [ "$audio_enabled" = "1" ] ; thenecho "Recording with audio"...</code></pre></div>And I am quiet delighted to see that there are almost no recording error anymore. (decreased from sometimes more than 50% to almost nothing)<br><br>So, after that I added a record button to the SLP, I will describe this in a new post.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=93">stereomii</a> — Wed Jun 10, 2020 12:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
