Поделиться через


Buffering Stream Filter (Compact 2013)

3/26/2014

The Buffering Stream Filter accepts unbuffered streaming data from a source filter, such as the HTTP Source Filter.

The following table shows the filter properties.

Filter property

Description

Filter Interfaces

IBaseFilter Interface

IBuffering Interface

Input Pin Media Types

MEDIATYPE_Stream_Unbuffered

Input Pin Media Subtypes

A FourCC GUID matching the file extension. For more information, see FourCC Codes.

Input Pin Interfaces

IPin Interface

Output Pin Media Types

MEDIATYPE_Stream_Buffered

Output Pin Media Subtypes

A FourCC GUID matching the file extension. For more information, see FourCC Codes.

Output Pin Interfaces

IPin Interface

IAsyncReader2 Interface

Filter CLSID

CLSID_BufferingStreamFilter

Executable

Quartz.dll

SYSGEN Variable

SYSGEN_DSHOW

Merit

MERIT_PREFERRED

Remarks

The demultiplexer must control the buffering depth to ensure that enough data is buffered for smooth playback. The default amount of data buffered is 1 MB. The buffer can be set to any amount by using the IBuffering Interface of the filter. The amount of data that can be held by a buffer using the 1 MB default size is shown in the table below.

Data bit rate

Storage Capacity

320 kbps

25 seconds

256 kbps

40 seconds

192 kbps

42 seconds

128 kbps

64 seconds

See Also

Reference

Supported DirectShow Filters
HTTP Source Filter