[Freeswitch-users] Transcoding on audio file with wav extension and encoded as 8 bit ulaw

Aqs Younas aqsyounas at gmail.com
Sun Oct 22 20:10:48 UTC 2017


I think there is raw audio in file. I am following this link as reference.

https://superuser.com/questions/670561/what-is-the-ffmpeg-command-to-convert-3gp-to-ulaw

On 23 October 2017 at 01:02, Abaci B <abaci64 at gmail.com> wrote:

> FreeSWITCH would covert the file to raw audio and then re-encode it to
> PCMU if that's what's negotiated for the call, the only way to eliminate
> that is to use mod_native_file
> <https://freeswitch.org/confluence/display/FREESWITCH/mod_native_file>
> and make the file a raw PCMU file (song.PCMU)
>
> On Sun, Oct 22, 2017 at 7:35 PM, Aqs Younas <aqsyounas at gmail.com> wrote:
>
>> Greetings list,
>>
>> Just want to confirm will trancoding happen while playing a file having
>> format as below.
>>
>> root at debian:/opt/tmp# soxi song.wav
>>
>> Input File     : 'song.wav'
>> Channels       : 1
>> Sample Rate    : 8000
>> Precision      : 14-bit
>> Duration       : 00:00:55.05 = 440436 samples ~ 4129.09 CDDA sectors
>> File Size      : 441k
>> Bit Rate       : 64.0k
>> Sample Encoding: 8-bit u-law
>>
>>
>> If i get PCMU as only codec in invite.
>>
>> Here .wav is just a container wrapping PCMU audio.
>>
>> Best Regards,
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171023/62ab7ab9/attachment-0001.html>


More information about the FreeSWITCH-users mailing list