Stream Buffer

From AVObjects Knowledge Base
Jump to: navigation, search

This page is a copy of the original page on the AVObjects' web site and can also be viewed here.

A DirectShow filter for buffering a data stream in the system's memory.

Overview

Stream Buffer can be used for time shifting or smoothing out delays in a DirectShow graph. The filter's buffer is located in the system's memory. For disk-based time shifting see Time Shifting Engine.

In the asynchronous mode the filter can be used to smooth the delays that might be caused by the process that communicates with the output pin of the filter. For instance, the output pin of the Stream Buffer can be connected to an encoder that can at a certain moment (such as a sudden CPU overload) process only 24 frames per second, while the source generates 25. If there's no buffer, the encoder will skip frames. Stream Buffer will help to eliminate such problems. If used together with MultiGraph Sink/Source, the filter can help overcome permanent performance issues – i.e. the output of the filter will be switched to a new thread upon the fill of the buffer.

In the synchronous mode the filter can be used to enable time-shifting. For example, the recording process can be initiated upon an incoming event (such as a notification from a motion detector) and will start the actual recording several seconds prior to the event (due to the time shift).

Stream Buffer is available with the DirectShow MultiGraph Toolkit.

Downloads

Licensing

If you are interested in licensing this product please contact us through the link below.


Personal tools