Welcome Guest ( Log In | Register )

Packeting in case of Variable Bit Rate Encoding
post Nov 26 2013, 11:41
Post #1

Group: Members
Posts: 20
Joined: 30-September 13
Member No.: 110546

i have live streaming audio which i am encoding using a low bit rate codec,actually this question is based on packetization of the encoded data which is a after math of processing and pre process while giving it to a wireless device

Going Deep in to the discussion:

>Essentially while using VBR silence is encoded at 2Kbps and voice is encoded at 4Kbps

> my frame size 20ms

> if encoded at 4Kbps i need 10bytes

>if encoded at 2Kbps i need 5bytes for encoded data

>My payload size is 80bytes fixed

so now in order to fill the 80bytes payload i have to wait for complete 320ms if it is the case of silence

if its voice i have to wait for 160ms of data from microphone to fill the payload

my big question is `"is this is how Variable bitrate implemented in real time"`

how a VBR packetization is actually done
Go to the top of the page
+Quote Post
Start new topic
Replies (1 - 1)
post Nov 26 2013, 12:26
Post #2

Server Admin

Group: Admin
Posts: 4888
Joined: 24-September 01
Member No.: 13

Your problem seems to be that you're trying to use a fixed payload size?

If you don't constrain your VBR to have a set minimal bitrate and combine that with the inflexible payload size, your latency will indeed balloon.

I'm not sure what exact question your asking, but your problem follows directly from the conditions you set. You need to fix either of those conditions.
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: 1st April 2015 - 01:32