Hi,

I need to dump an input stream to a 5 minutes segemented files.

I can dump a file every minutes :
output.file(
     %wav(stereo=true),
     "/tmp/%Y-%m-%d-%H_%M_%S.wav",
     on_close=fun(s)->system("qwavheaderdump -F #{s}"),
     reopen_when={0s},
     input
)

Or every hours :
output.file(
     %wav(stereo=true),
     "/tmp/%Y-%m-%d-%H_%M_%S.wav",
     on_close=fun(s)->system("qwavheaderdump -F #{s}"),
     reopen_when={0m0s},
     input
)

But i don't see how dump every 5 minutes.

If you have any idea...

Thk

Yoann

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to