Hi David,

>From what I can figure out, what you're suggesting is the dump.start
and dump.stop commands inside a source?
Thats a possibility, but my sources can switch. In some instances I
will be mainly collecting from ALSA input, and on a failure of that
source I switch to a local .pls.
Using the dump function, I am thinking that the source is just written
out as it comes in, so coming from ALSA I'd just be writing out raw
PCM data, but the local .pls might be an any format?

What I need to do is make sure that the files are always saved in MP3,
so I need to transcode the stream into MP3 and then I was thinking of
using output.file to write the files out. output.file would then have
to be switchable. The files we log need to be in MP3 because there are
some shows that are recorded and edited for re-play at a later date,
and some made available on the web site for 'listen again'.

Is it possible to switch the output.file somehow? I can't get my head
around the logic at the moment (it is early in the morning!!).
If anyone could give a simple example I'm sure I can figure out the rest.

Many thanks,

Ian


On 28 February 2011 02:38, David Baelde <[email protected]> wrote:
> Hi Ian,
>
> From what you've achieved, it looks like you should be able to write a
> source that plays what should be recorded when something needs to be
> recorded, and is just unavailable otherwise. From there all you need is
> output.file with fallible=true. Make sure to check out the doc, in
> particular on how to choose filenames based on time and metadata.
>
> Hope this helps,
>
> David

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to