Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Network Multiplexer, Network Sink, Network Source Network Demultiplexer and H264 Decoder working together.
Started by Travis at 01-22-2008 15:14. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  01-22-2008, 15:14
Travis is not online. Last active: 4/16/2008 11:42:56 AM Travis



Top 10 Posts
Joined on 07-07-2003
In house
Posts 285
Network Multiplexer, Network Sink, Network Source Network Demultiplexer and H264 Decoder working together.
Reply Quote
A customer had asked these questions and we thought they were worth posting. The following are the questions with the reply containing the answers.

Our video application is using the LEADTOOLS Network Multiplexer and Network Sink Filter
on the server-side and the LEADTOOLS Network Source Filter, Network Demultiplexer and LT
H264 Decoder filters. We are experiencing a problem where the video freezes over certain
networks and we don?t understand some of the properties that can be set by the filters.


Questions:


1) Exactly under what condition will any of the above mentioned LEADTOOLS DirectShow
filter discard/drop packets?

2) What is the purpose of the LiveSource property on the LEADTOOLS Network Multiplexer?
What behavior does it give a video stream?

3) What is the purpose of the MaxQueueDuration on the LEADTOOLS Network Multiplexer?


4) When LiveSource=false, is the MaxQueueDuration used?

5) When LiveSource=true, is the MaxQueueDuration used?
Travis Montgomery
LEAD Technical Support
   Report 
  01-22-2008, 15:17
Travis is not online. Last active: 4/16/2008 11:42:56 AM Travis



Top 10 Posts
Joined on 07-07-2003
In house
Posts 285
Re: Network Multiplexer, Network Sink, Network Source Network Demultiplexer and H264 Decoder working together.
Reply Quote
>>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 
Post
LEAD Support Fo... » Developer » Multimedia Filt... » Network Multiplexer, Network Sink, Network Source Network Demultiplexer and H264 Decoder working together.

Powered by Community Server, by Telligent Systems