Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 Foundation Functions
Media Session
Topologies

 

 

Show:
© 2017 Microsoft