<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 <<a href="mailto:josebibin1984@gmail.com">josebibin1984@gmail.com</a>><br>Subject: Re: [gst-devel] Save a stream to different file every hour<br>
To: Discussion of the development of GStreamer<br> <<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>Message-ID: <<a href="mailto:4A375870.7040208@gmail.com">4A375870.7040208@gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8; format=flowed</div>
<p>Juraj Kubelka wrote:<br>> Hi,<br>><br>> i am newbie with GStreamer and I would like to save an audio stream<br>> from microphone to OGG file and moreover to change filename every hour<br>> without loosing data. I found out a pipeline should be composed like:<br>
> alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink. What is the<br>> procedure for changing output file? How can I do it properly without<br>> loosing any data?<br>><br>> Thank you for any idea!<br>> Jura<br>
> ------------------------------------------------------------------------<br>><br>> ------------------------------------------------------------------------------<br>> Crystal Reports - New Free Runtime and 30 Day Trial<br>
> Check out the new simplified licensing option that enables unlimited<br>> royalty-free distribution of the report engine for externally facing<br>> server and web deployment.<br>> <a href="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</a><br>
> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br>What you mean by "changing" 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>