[Freeswitch-users] sample rate with record_session

Michael Collins mcollins at fcnetwork.com
Wed Jul 23 14:01:23 PDT 2008


I think he means, "I don't need CD-quality audio or anything close to
that - I just want a lower sampling rate so that my wav file isn't so
big."  

-MC

 

________________________________

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Anthony Minessale
Sent: Wednesday, July 23, 2008 1:33 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] sample rate with record_session

 

what do you mean by "more information"?



On Wed, Jul 23, 2008 at 9:48 AM, Frank - IMPACT <frank at impactfax.com>
wrote:

Running FreeSwitch Version 1.0.trunk (9111) on RH 8

Record_session works fine with this

         <action application="set" data="RECORD_ANSWER_REQ=true"/>
         <action application="set" data="RECORD_STEREO=true"/>
         <action application="record_session"
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destinati
on_n
umber}.wav"/>

But the sample rate and resulting wav file are way more information than
I
need.  I tried to half the sample rate with this inserted before we run
record_session.
         <action application="set" data="record_rate=5512"/>

But that did not seem to reduce the sample rate and the resulting wav
file.

Is this the wrong variable to set or is this not possible to reduce
sample
rates and wav size files?


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:213-799-1400 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080723/e576f40d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list