xadhoom / mod_bcg729

FreeSWITCH G.729 module using the opensource bcg729 implementation by Belledonne Communications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In trans-coding G729 play the grumbled noise at end of file

abhi9016 opened this issue · comments

Hello,

Recently we are using FreeSWITCH version 1.8.5. on this version, we are using fs_encode for the converting .wav file into different codecs.

Here we are using four different types of codec PCMU, PCMA, G729 & G722. Fs encode works fine for convert .wav to .PCMU & .PCMA. But when we play converted .wav to .G729 file there is some grumbled noise at the end of the file. I have attached original .wav file and G729 converted file.

This same thing when we convert in Asterisk it’s very good quality and no grumbled noise on converted file which I have also attached.

I have converted from below command.
On FreeSWITCH:- /usr/local/freeswitch/bin/fs_encode -l mod_bcg729 file.wav file.G729

On Asterisk CLI:- file convert /home/xyz/req_fail.wav /home/xyz/req_fail.g729

I have attached three different files on ZIP
g729_transcoding.zip
which are as below.

asterisk_convert_file.g729
freeswitch_convert_file.G729
original.wav

Same error here. And length of audio file have been increased by 2s.

I created a repo and docker image for convert to G729, etc.: https://github.com/ittia-research/audio-convert