[Live-devel] Streaming Transport Stream bit rate question

Alexandre Cardoso alexandre.cardoso at novabase.pt
Fri Jun 4 12:17:43 PDT 2004


Hi Ross,

Ross Finlayson wrote:

>
>> I have some questions and as you did not answer my previous mail
>
>
> Sorry, but I don't have time to answer every question that's posted to 
> this mailing list (unless you're a customer).

I understand. Did not mean to be rude.

>
>> My main question is: how is the bit rate control done? Is it with the 
>> TS PCR?
>
>
> Yes, see the code for the "MPEG2TransportStreamFramer" class (in 
> "liveMedia/MPEG2TransportStreamFramer.cpp").  Note, in particular, how 
> "fDurationInMicroseconds" is set (and how "fTSPacketDurationEstimate" 
> is updated, based on PCR timestamps in the input data).
>
I had a look at the code and i get the picture.

>> The other question is about the client's buffer. Do you have an 
>> estimation on how long the buffer needs to be?
>
>
> No, because this will depend on the input data (and, in particular, 
> how 'variable' its VBR is).
>
>
Ok, now that i have checked the src code i can see why.

I will try to test the application. Hope you can help me solving some 
problems that might come.

Tks for the answers,

Alex



More information about the live-devel mailing list