ILMMFMkvSink Interface

This is the interface for the LEAD MKV Media Sink.

Interface Methods

HRESULT CreateMKVSink(IMFByteStream* pOutputByteStream, IMFMediaSink **ppSink);

Parameters

pOutputByteStream

A pointer to the IMFByteStream interface of a byte stream. The media sink writes the MKV file to this byte stream. The byte stream must be writable and support seeking.

ppSink

Receives a pointer to the MKV media sink's IMFMediaSink interface. The caller must release the interface.

Description

Creates a media sink for authoring MKV files.

Returns

S_OK if successful, < 0 if an error occurred.

Common Error Codes

E_INVALIDARG [0x80070057] - pOutputByteStream is not a valid IMFByteStream pointer.

Remarks

IMFMediaSink interface is the base interface for all Media Foundation media sinks. Media sinks are the pipeline objects that receive media data. A media sink is the destination for one or more media streams (Multiplexer).

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Transforms C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.