01-22-2008, 15:17
|
Travis

Joined on 07-07-2003
In house
Posts 285
|
Re: Network Multiplexer, Network Sink, Network Source Network Demultiplexer and H264 Decoder working together.
|
 
 
|
|
|
>>1) Exactly under what condition will any of the above mentioned LEADTOOLS DirectShow
>>filter discard/drop packets?
This depends on what "Livesource" and "MaxQueueDuration" are set to. If you have a live source, we will drop as many packets as necessary to keep up with the live source. If the time of queued samples exceeds the value of 2/3 * MaxQueueDuration, the queue is pruned.
The pruning process will remove "groups of pictures" from a compressed video stream (from
sync point to sync point). This is done to avoid corrupting the decoder.
>>2) What is the purpose of the LiveSource property on the LEADTOOLS Network Multiplexer?
>>What behavior does it give a video stream?
This decides whether we will drop samples to keep up with the live source.
>>3) What is the purpose of the MaxQueueDuration on the LEADTOOLS Network Multiplexer?
It sets the maximum amount of data that is allowed to be buffered. If this value is exceeded, then the input stream is blocked until the queued samples are delivered downstream. This will effectively halt the graph until the data is properly sent. It is intended to keep the queue from growing to extreme values if the output stage is slower than the input stage.
In a live capture situation, we attempt to avoid this halting of the stream by pruning the data from the queue before the MaxQueueDuration is reached. So we start pruning at 2/3 * MaxQueueDuration.
>>4) When LiveSource=false, is the MaxQueueDuration used?
Yes
>>5) When LiveSource=true, is the MaxQueueDuration used?
Yes
Travis Montgomery LEAD Technical Support
|
|
|
|
|
Report
|
|
|
|