<br><br><div class="gmail_quote">On Tue, Jun 16, 2009 at 10:31 AM, Bibin joseph <span dir="ltr">&lt;<a href="mailto:josebibin1984@gmail.com">josebibin1984@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div></div><div class="im">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>
</div></div>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?<br>
<br>
Thanks and Regards,<br>
<font color="#888888">Bibin<br>
</font><div><div></div><div class="h5"><br>
</div></div></blockquote></div><br>Hi Bibin,<br><br>I mean to set the location, storing the stream for one hour, then change the location, and continue saving to another file (change location for filesink after one hour of PLAYING state). But it seams the location can be changed only in NULL state of pipeline. But whenewher NULL state is set, pipeline releases all elements (as someone posted). So, I think pipeline cannot be reused that way. It seams i have to make a new pipeline whenever I want to change filename (location).<br>

<br>Thanks,<br>Jura<br>