[App_rpt] Recording repeater audio
Jon Richardson
jon at richardson.net
Sun Oct 5 05:18:29 UTC 2008
Hey Jim,
Ever the voice of controversy - I disagree with you. LAME encodes at
faster than real-time on reasonable spec hardware (P3 2.4Ghz for example
will do 2x 48Khz streams). For example, to capture directly from a sound
device and write to MP3 natively you can use sox to do the I/O and pipe
it to lame, as below.
sox -t ossdsp -w -s -r 44100 -c 2 /dev/dsp -t raw - | lame -x -m s -
.filename`date +%b%d_%H%M%P_%Y`.mp3
I don't know how "accessible" the raw commands are to app_rpt but it
shouldn't be too tricky to do...
73 Jon G7PFT
Jim Duuuude wrote:
> convert to MP3 in real time on a telecom system? Surely you jest :-).
> The cpu time required for that (especially on smaller systems) would
> be MOST prohibitive.
> Therefore, its *really* designed to have a queue of native format
> messages (and log files, also) get copied to a larger server on a
> periodic basis and let the
> large server with big CPU's handle the MP3 crunching.
>
> ------------------------------------------------------------------------
> Date: Sat, 4 Oct 2008 22:10:11 +0100
> From: g4rky at yahoo.co.uk
> To: app_rpt at lists.illiana.net
> Subject: Re: [App_rpt] Recording repeater audio
>
> Thanks to everyone who replied.
>
> I've found it now and it works a treat!
>
> Are there any other options I can use with that command, for example,
> to change to MP3 format or something?
>
> If not, no problem - its working well and seems to require about 8Kb /
> sec of disc space, which equates to almost 700 hours for a 20Gb
> partition..
>
> Cool! Thanks,
>
> Matt
> G4RKY
>
> 2008/10/4 Steven Henke <steve.w9sh at gmail.com
> <mailto:steve.w9sh at gmail.com>>
>
> Rodger,
>
> The 'locate' command can be used to find it.
> It's in
> /usr/src/EVB/ast_base/asterisk-1.4.21.2/configs/rpt.conf.sample
> You're right that we should make an obvious link to it in the web
> based documentation
>
> 73,
>
> Steve
>
> On Sat, Oct 4, 2008 at 8:46 AM, Roger F. Jordan Sr.
> <w4rfj at comcast.net <mailto:w4rfj at comcast.net>> wrote:
> > Hey Steve,
> >
> > I did not find rpt.conf.sample in the /etc/asterisk
> directory of the
> > network install... We could make it available in the XIPAR
> downloads...
> >
> > VR
> > Roger W4RFJ
> > Xipar Application Engineer Extraordinaire
> >
> >
> > -----Original Message-----
> > From: app_rpt-bounces at lists.illiana.net
> <mailto:app_rpt-bounces at lists.illiana.net>
> > [mailto:app_rpt-bounces at lists.illiana.net
> <mailto:app_rpt-bounces at lists.illiana.net>] On Behalf Of Steven Henke
> > Sent: Thursday, October 02, 2008 5:52 PM
> > To: Asterisk Repeater Controler
> > Subject: Re: [App_rpt] Recording repeater audio
> >
> > It's already in there. Check out the rpt.conf sample file...
> > 73, Steve W9SH
> >
> >
> > On Thu, Oct 2, 2008 at 3:57 PM, Matt Beasant <g4rky at yahoo.co.uk
> <mailto:g4rky at yahoo.co.uk>> wrote:
> >> Hi everyone,
> >>
> >> Does anyone know a way of recording the traffic (audio) in /
> out of the
> >> node and saving it as a file ( MP3 or whatever ) on the node
> hard drive?
> >>
> >> Something along the lines of Scanrec, which is a windows
> application with
> >> built in Vox and timestamps, would be ideal but I wanted to
> avoid having
> >> another machine involved.
> >>
> >> Anyone any ideas or thoughts on how this could be done - I
> should add that
> >> I'm a complete newbie!
> >>
> >> Thanks in advance for any replies.
> >>
> >> 73,
> >>
> >> Matt
> >> G4RKY
> >> _______________________________________________
> >> App_rpt mailing list
> >> App_rpt at lists.illiana.net <mailto:App_rpt at lists.illiana.net>
> >> http://lists.illiana.net/mailman/listinfo/app_rpt
> >>
> >>
> > _______________________________________________
> > App_rpt mailing list
> > App_rpt at lists.illiana.net <mailto:App_rpt at lists.illiana.net>
> > http://lists.illiana.net/mailman/listinfo/app_rpt
> >
> > _______________________________________________
> > App_rpt mailing list
> > App_rpt at lists.illiana.net <mailto:App_rpt at lists.illiana.net>
> > http://lists.illiana.net/mailman/listinfo/app_rpt
> >
> _______________________________________________
> App_rpt mailing list
> App_rpt at lists.illiana.net <mailto:App_rpt at lists.illiana.net>
> http://lists.illiana.net/mailman/listinfo/app_rpt
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> App_rpt mailing list
> App_rpt at lists.illiana.net
> http://lists.illiana.net/mailman/listinfo/app_rpt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20081005/f23ac818/attachment.html>
More information about the App_rpt-users
mailing list