IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
AMR-WB Encoder Decoder Basic Doubt, modes does not give correct bitrates...
audio_geek
post May 8 2008, 08:16
Post #1





Group: Members
Posts: 71
Joined: 17-August 05
From: Bangalore
Member No.: 23959



Hi,
I downloaded AMR-NB/WB code from ITU-T website for development.
I compiled AMR-WB and tested with a 4 second speech stream @16KHz and 16bits/sample.
Using mode0 i.e. 6.6kbps mode it gives me encoded file as ~53KB size
BUT
I expect an encoded size of (6.6kbps*4*1000/8) bytes i.e. 3300 Bytes or ~3.2 KB

Again, input bitrate is 256kbps to the encoder and we are supposed to get 6.6kbps i.e. a compression gain ratio of ~38-39 but if we consider 53KB encoded stream as correct then the corresponding bitrate is ~108kbps which is a compression gain of 256/108 = 2.3 which seems to be very less for a speech encoder.

this is happening with all the mdoes...

I need to be clear on this to proceed further to development of the codecs.

AMR-NB also has same problem...

Please let me know the testing procedure and if I am missing out anything before I start.

Thank you.
Go to the top of the page
+Quote Post
neutronium
post Jan 28 2009, 13:14
Post #2





Group: Members
Posts: 6
Joined: 17-December 03
Member No.: 10505



The ITU-T code of G.722.2/AMR-WB uses the G.192 way of representing bits (check G.191 for more details). Actually, if I am not mistaken, most if not all codecs in ITU-T use that representation. It is just the way bitstreams are stored and does not reflect in anyway the compression that is done.

Basically, the bits are "soft" bits. Each frame of data is composed of a sync_word (16bits) the length of compressed data frame (16 bits) and the compressed data where each bit is represented by a 16 bit word.

In your example:

(16 bits for each bit) + (ovehead 32 bits per frame)
6.6kbps*4*1000/8 * 16 + (4*50*32)/8 = 53600

This post has been edited by neutronium: Jan 28 2009, 13:17
Go to the top of the page
+Quote Post
CPKTV
post Feb 1 2009, 19:56
Post #3





Group: Members
Posts: 99
Joined: 8-March 08
Member No.: 51874



QUOTE (audio_geek @ May 8 2008, 10:46) *
Hi,
I downloaded AMR-NB/WB code from ITU-T website for development.
I compiled AMR-WB and tested with a 4 second speech stream @16KHz and 16bits/sample.
Using mode0 i.e. 6.6kbps mode it gives me encoded file as ~53KB size
BUT
I expect an encoded size of (6.6kbps*4*1000/8) bytes i.e. 3300 Bytes or ~3.2 KB

Again, input bitrate is 256kbps to the encoder and we are supposed to get 6.6kbps i.e. a compression gain ratio of ~38-39 but if we consider 53KB encoded stream as correct then the corresponding bitrate is ~108kbps which is a compression gain of 256/108 = 2.3 which seems to be very less for a speech encoder.

this is happening with all the mdoes...

I need to be clear on this to proceed further to development of the codecs.

AMR-NB also has same problem...

Please let me know the testing procedure and if I am missing out anything before I start.

Thank you.


try Voice Age:
http://www.voiceage.com/freecodecs.php
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st August 2014 - 23:42