From: Viraj K. <vi...@gm...> - 2009-06-17 08:29:45
|
Hi Jura, I guess to have this functionality you will have to write C code for creating a pipeline. And after every hour you will have to: pause the pipeline, create new filesink, disconnect old filesink, connect new filesink and close old filesink. You can do above things in another independent thread which will just wait till 1 hour is complete. Regards, Viraj Date: Tue, 16 Jun 2009 14:01:44 +0530 From: Bibin joseph <jos...@gm...> Subject: Re: [gst-devel] Save a stream to different file every hour To: Discussion of the development of GStreamer <gst...@li...> Message-ID: <4A3...@gm...> Content-Type: text/plain; charset=UTF-8; format=flowed Juraj Kubelka wrote: > Hi, > > 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? > > Thank you for any idea! > Jura > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > What you mean by "changing" the output file? You want to change the output location where the file is to be stored, or something else? Thanks and Regards, Bibin -- - Viraj Reality is merely an illusion, albeit a very persistent one. |