Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MFCreateTranscodeTopologyFromByteStream function

Creates a topology for transcoding to a byte stream.

Syntax


HRESULT MFCreateTranscodeTopologyFromByteStream(
  _In_  IMFMediaSource      *pSrc,
  _In_  IMFByteStream       *pOutputStream,
  _In_  IMFTranscodeProfile *pProfile,
  _Out_ IMFTopology         **ppTranscodeTopo
);

Parameters

pSrc [in]

A pointer to the IMFMediaSource interface of a media source. The media source provides that source content for transcoding.

pOutputStream [in]

A pointer to the IMFByteStream interface of a byte stream. The transcoded output will be written to this byte stream.

pProfile [in]

A pointer to the IMFTranscodeProfile interface of a transcoding profile.

ppTranscodeTopo [out]

Receives a pointer to the IMFTopology interface. The caller must release the interface.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This function creates a partial topology that contains the media source, the encoder, and the media sink.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfidl.h

Library

Mf.lib

DLL

Mf.dll

See also

Media Session
Topologies

 

 

Community Additions

ADD
Show:
© 2015 Microsoft