[Freeswitch-dev] question on file format codec

dujinfang dujinfang at gmail.com
Fri Aug 31 04:22:42 MSD 2012


yes, my problem is how to make sure switch_file
_write always get L16 data when trigger by uuid_record?

thanks

发自我的 iPhone

在 2012-8-31,上午4:36,Anthony Minessale <anthony.minessale at gmail.com> 写道:

> yes, currently the fsv format expects L16 audio
> 
> On Thu, Aug 30, 2012 at 4:00 AM, Seven Du <dujinfang at gmail.com> wrote:
>> Hi,
>> 
>> If you noticed the video-media-bug branch, I managed to record a video file
>> with the following methods
>> 
>> conference 3000 record /tmp/testrecord.fsv
>> 
>> uuid_record <uuid> start /tmp/testrecord.fsv
>> 
>> 
>> The first command works perfect as conference voice is L16, but the last one
>> has bad audio I guess because it's PCMU ?.
>> 
>> I noticed a SWITCH_FILE_NATIVE flags which is supposed to disable
>> transcoding but in my case in mod_fsv the flag is not set so should it
>> transcode to L16 before writing to the fsv file?
>> 
>> Thanks.
>> 
>> --
>> Seven Du
>> Sent with Sparrow
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> http://www.freeswitch.org
>> 
> 
> 
> 
> -- 
> Anthony Minessale II
> 
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
> 
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list