about G729 framing details
Posted: Mon Jul 18, 2011 6:52 pm
HI, all
I have a question on G729 framing details
I used a G729 codec to encode a .wav file
before encoding, it is about 300 KB
after encoding using G729 without VAD , the encoded G729 file is still about 300 KB, why isn't there any compression on bytes?
after encoding using G729 with VAD, the encoded file is about 250KB, only 50 KB smaller?
Besides, according to a post, the first word(two bytes) in the G729 file is 0x6b21, what does this mean?
and the second word is
1) 0x10 this means SID, and it means there are 16 words in each 10 ms frame
2) 0x50 this means VAD on,and it means there are 80 words in each 10 ms frame
3) 0 this means VAD off
so I'm very confused, my questions are
1) whether I encoded with VAD no without VAD, I noticed the second words are always 0x50, what is the reason?
2) I know that in a 10 milli-second G711 frame, there are 80 bytes. However, here in G729, the number of bytes are either 32(16 words) or 160(80 words) in a 10 ms frame, it seems to me the G729 compression is worse than G711???
3) when the second word is 0, what does it mean?
4) what does 0x6b21 mean
5) why the size of the G729 file is nearly the same as the .wav files
?
thanks!
I have a question on G729 framing details
I used a G729 codec to encode a .wav file
before encoding, it is about 300 KB
after encoding using G729 without VAD , the encoded G729 file is still about 300 KB, why isn't there any compression on bytes?
after encoding using G729 with VAD, the encoded file is about 250KB, only 50 KB smaller?
Besides, according to a post, the first word(two bytes) in the G729 file is 0x6b21, what does this mean?
and the second word is
1) 0x10 this means SID, and it means there are 16 words in each 10 ms frame
2) 0x50 this means VAD on,and it means there are 80 words in each 10 ms frame
3) 0 this means VAD off
so I'm very confused, my questions are
1) whether I encoded with VAD no without VAD, I noticed the second words are always 0x50, what is the reason?
2) I know that in a 10 milli-second G711 frame, there are 80 bytes. However, here in G729, the number of bytes are either 32(16 words) or 160(80 words) in a 10 ms frame, it seems to me the G729 compression is worse than G711???
3) when the second word is 0, what does it mean?
4) what does 0x6b21 mean
5) why the size of the G729 file is nearly the same as the .wav files
?
thanks!