esgin / g729

Automatically exported from code.google.com/p/g729
0 stars 0 forks source link

G729b Coder application doesn't produces out bit stream at 8kbits/sec rate #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Record 5 seconds of speech data in 16bit PCM using 8KHz sampling freq.
2. Encode using binary build from coder.c application

What is the expected output? What do you see instead?
The size of 5 seconds speech record at 16 bit PCM with 8k sample freq. is 80000 
Bytes raw data file (produced 128 Kbits/sec ) which is perfect. But the bit 
stream output file generated by G729 Annex B coder application produces 59344 
bytes with VAD enabled and 82000 bytes VAD disabled which is not a 8Kbits /Sec 
rate. 

What version of the product are you using? On what operating system?
Latest SVN and in Ubuntu 12.10 

Please provide any additional information below.
I expect that g729 Annex B algorithm should produce the stream file at 8Kbits 
rate so expected file size in bytes would be 5000 bytes file size. 

Original issue reported on code.google.com by vimales...@gmail.com on 23 Oct 2013 at 5:24