Sign in

username:

password:



Not a member?

Search speechcoding



Search tips

Subscribe to speechcoding



speechcoding by Keywords

ACELP | ADPCM | AMBE | AMR | AMR-NB | CELP | Codebook | DTMF | G.723 | G.726 | G.729 | GSM | Interpolation | LPC | LSF | LSP | MELP | PCM | Perceptual | Pitch | PSOL | QCELP | Quantization | SMV | VAD | Vocoder

Discussion Groups

Discussion Groups | Speech Coding | G729 Raw Format

Technical discussions related to Speech Coding (all itu and other vocoders, ACELP, CELP, AMR, etc)

  

Post a new Thread

G729 Raw Format - wajd...@laposte.net - Mar 15 12:48:50 2008



Hello,
Im a final year student of engineering.I must create an application to capture and store voip
LAN traffic i use the library winpcap(libpacp) to capture the voip packet on the LAN and I
don't know how create a bitstream file (raw format) in the format required by the ITU-T G729 
 
I am sorry for my bad english
Please help me
 
Regards,
TORKHANI Wajdi

------------------------------------



(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )

Re: G729 Raw Format - TORKHANI Wajdi - Mar 18 12:46:32 2008

Thank you so much 

After 4 weeks I can finally to hear the voice,
But now I have another problem!
If i record only one direction the sound run very quickly and if record both direction i have a
very very very bad quality of voice !!!!

1-I record the payload in a binary file: 

Code:

void rawfile(unsigned char * payload,FILE *f){
fwrite(payload, 10,1,f);  //10 :because audio data is packed into 80 bits (10 bytes)
}

2- I decode the binary file by using voiceage G729, which gives me a file : "16-bit mono
PCM speech data sampled at 8000 Hz"

3- convert PCM file into wav by using Lame with:
lame --decode -x -r -s 8000 -m m -b 16 file.pcm file.wav

Is it correct ?!
  ----- Original Message ----- 
  From: w...@laposte.net 
  To: s...@yahoogroups.com 
  Sent: Saturday, March 15, 2008 12:35 AM
  Subject: [speechcoding] G729 Raw Format
  Hello,
  Im a final year student of engineering.I must create an application to capture and store voip
LAN traffic i use the library winpcap(libpacp) to capture the voip packet on the LAN and I
don't know how create a bitstream file (raw format) in the format required by the ITU-T G729 

  I am sorry for my bad english
  Please help me

  Regards,
  TORKHANI Wajdi

------------------------------------



(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )