[Freeswitch-users] sample rate with record_session

Anthony Minessale anthony.minessale at gmail.com
Wed Jul 23 14:14:31 PDT 2008


The default sample rate is 8k which is as small as it gets.

mod_shout would let you record mp3s or you could use socks to change the
codec inside the wav to something smaller but that's about it.


On Wed, Jul 23, 2008 at 4:01 PM, Michael Collins <mcollins at fcnetwork.com>
wrote:

>  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)}_${destination_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 <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>
> _______________________________________________
> 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 <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<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/866f9b82/attachment-0002.html 


More information about the FreeSWITCH-users mailing list