<div>Hi Jura,</div>
<div>I guess to have this functionality you will have to write C code for creating a pipeline.</div>
<div>And after every hour you will have to: pause the pipeline, create new filesink, disconnect old filesink, connect new filesink and close old filesink.</div>
<div>You can do above things in another independent thread which will just wait till 1 hour is complete.</div>
<div> </div>
<div>Regards,</div>
<div>Viraj</div>
<div> </div>
<div><br clear="all">Date: Tue, 16 Jun 2009 14:01:44 +0530<br>From: Bibin joseph &lt;<a href="mailto:josebibin1984@gmail.com">josebibin1984@gmail.com</a>&gt;<br>Subject: Re: [gst-devel] Save a stream to different file every hour<br>
To: Discussion of the development of GStreamer<br>       &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>Message-ID: &lt;<a href="mailto:4A375870.7040208@gmail.com">4A375870.7040208@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8; format=flowed</div>
<p>Juraj Kubelka wrote:<br>&gt; Hi,<br>&gt;<br>&gt; i am newbie with GStreamer and I would like to save an audio stream<br>&gt; from microphone to OGG file and moreover to change filename every hour<br>&gt; without loosing data. I found out a pipeline should be composed like:<br>
&gt; alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink. What is the<br>&gt; procedure for changing output file? How can I do it properly without<br>&gt; loosing any data?<br>&gt;<br>&gt; Thank you for any idea!<br>&gt; Jura<br>
&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; Crystal Reports - New Free Runtime and 30 Day Trial<br>
&gt; Check out the new simplified licensing option that enables unlimited<br>&gt; royalty-free distribution of the report engine for externally facing<br>&gt; server and web deployment.<br>&gt; <a href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a><br>
&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br>What you mean by &quot;changing&quot; the output file? You want to change the<br>
output location where the file is to be stored, or something else?</p>
<div>Thanks and Regards,<br>Bibin</div>
<div> </div>
<div></div><br>-- <br>- Viraj<br>Reality is merely an illusion, albeit a very persistent one.<br>