Transcoding on audio file with wav extension and encoded as 8 bit ulaw
Greetings list, Just want to confirm will trancoding happen while playing a file having format as below. root@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,
Hey Logicaly there should be no transcodig needed according to my knoledges Thanks. Envoyé de mon iPad
Le 22 oct. 2017 à 20:35, Aqs Younas <aqsyounas@gmail.com> a écrit :
Greetings list,
Just want to confirm will trancoding happen while playing a file having format as below.
root@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@gmail.com> wrote:
Greetings list,
Just want to confirm will trancoding happen while playing a file having format as below.
root@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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... On 23 October 2017 at 01:02, Abaci B <abaci64@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@gmail.com> wrote:
Greetings list,
Just want to confirm will trancoding happen while playing a file having format as below.
root@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
not sure which command of that page you use but based on the output of soxi you have a ulaw encoded wav file, what you're looking for is a headerless ulaw file with an extension of PCMU On Sun, Oct 22, 2017 at 8:10 PM, Aqs Younas <aqsyounas@gmail.com> wrote:
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@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@gmail.com> wrote:
Greetings list,
Just want to confirm will trancoding happen while playing a file having format as below.
root@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@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@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Abaci B
-
Aqs Younas
-
Tayeb Meftah