Compartilhar via


Stream Buffer Source Filter

 
Microsoft DirectShow 9.0

Stream Buffer Source Filter

This topic applies only to Windows XP Service Pack 1 or later.

The Stream Buffer Source filter is the source filter for the Stream Buffer Engine. It reads content that the Stream Buffer Sink filter has stored.

Filter Interfaces IAMFilterMiscFlags, IBaseFilter, IFileSourceFilter, ISpecifyPropertyPages, IStreamBufferMediaSeeking, IStreamBufferMediaSeeking2, IStreamBufferInitialize, IStreamBufferSource.
Input Pin Media Types Not applicable.
Input Pin Interfaces Not applicable.
Output Pin Media Types Video:
  • MEDIATYPE_Video
  • MEDIASUBTYPE_MPEG2_VIDEO
  • MEDIASUBTYPE_dvsd

Audio and Data: All types accepted.

Output Pin Interfaces IMediaSeeking (see Remarks), IPin, IQualityControl, IStreamBufferDataCounters
Filter CLSID CLSID_StreamBufferSource
Property Page CLSID Not applicable.
Executable Sbe.dll
Merit MERIT_DO_NOT_USE
Category CLSID_LegacyAmFilterCategory

Remarks

The Stream Buffer Source filter supports the IMediaSeeking interface for completed recordings only. For live content, use the IStreamBufferMediaSeeking interface, which has the same methods but defines slightly different semantics. This reflects the fact that live content continuously grows on one end, as the show is being recorded, and shrinks on the other end, as backing files are deleted.

You can use the IStreamBufferMediaSeeking interface with completed recordings, but do not mix IStreamBufferMediaSeeking calls and IMediaSeeking calls. After the first call to an IStreamBufferMediaSeeking method, the filter will fail any subsequent calls to IMediaSeeking methods and will also fail any subsequent QueryInterface calls for the IMediaSeeking interface.

To use the IStreamBufferMediaSeeking methods, an application should query the filter directly. To use the IMediaSeeking methods, the application should query the Filter Graph Manager. The Filter Graph Manager routes the seek commands to the filter, as described in Seeking.

See Also