<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Use the &quot;location&quot; property to set the file name, such as:<BR>
<BR>
 source&nbsp;&nbsp; = gst_element_factory_make (&quot;filesrc&quot;,&quot;file-source&quot;);<BR>
 g_object_set (G_OBJECT (source), &quot;location&quot;, &quot;outputfromgst.ogg&quot;, NULL);<BR>
<BR>
If you are only using the cmd line then<BR>
<FONT COLOR="#000000">alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink</FONT> location=outputfromgst.ogg<BR>
<BR>
<BR>
On Tue, 2009-06-16 at 08:37 +0200, Juraj Kubelka wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Hi,</FONT><BR>
    <BR>
    <FONT COLOR="#000000">i am newbie with GStreamer and I would like to save an audio stream from microphone to OGG file and moreover to change filename every hour without loosing data. I found out a pipeline should be composed like: alsasrc ! audioconvert ! vorbisenc ! oggmux ! filesink. What is the procedure for changing output file? How can I do it properly without loosing any data?</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Thank you for any idea!</FONT><BR>
    <FONT COLOR="#000000">Jura</FONT>
<PRE>
<FONT COLOR="#000000">------------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">Crystal Reports - New Free Runtime and 30 Day Trial</FONT>
<FONT COLOR="#000000">Check out the new simplified licensing option that enables unlimited</FONT>
<FONT COLOR="#000000">royalty-free distribution of the report engine for externally facing </FONT>
<FONT COLOR="#000000">server and web deployment.</FONT>
<FONT COLOR="#000000"><A HREF="http://p.sf.net/sfu/businessobjects">http://p.sf.net/sfu/businessobjects</A></FONT>
<FONT COLOR="#000000">_______________________________________________ gstreamer-devel mailing list <A HREF="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</A> <A HREF="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Mike Stute &lt;<A HREF="mailto:mrstute@gmail.com">mrstute@gmail.com</A>&gt;
</TD>
</TR>
</TABLE>
</BODY>
</HTML>