MediaTranscoder.PrepareMediaStreamSourceTranscodeAsync Methode

Definition

Initialisiert den Trancodevorgang asynchron für die angegebene Medienquelle und gibt ein PrepareTranscodeResult-Objekt zurück, das zum Starten des Transcodierungsvorgangs verwendet werden kann.

public:
 virtual IAsyncOperation<PrepareTranscodeResult ^> ^ PrepareMediaStreamSourceTranscodeAsync(IMediaSource ^ source, IRandomAccessStream ^ destination, MediaEncodingProfile ^ profile) = PrepareMediaStreamSourceTranscodeAsync;
IAsyncOperation<PrepareTranscodeResult> PrepareMediaStreamSourceTranscodeAsync(IMediaSource const& source, IRandomAccessStream const& destination, MediaEncodingProfile const& profile);
public IAsyncOperation<PrepareTranscodeResult> PrepareMediaStreamSourceTranscodeAsync(IMediaSource source, IRandomAccessStream destination, MediaEncodingProfile profile);
function prepareMediaStreamSourceTranscodeAsync(source, destination, profile)
Public Function PrepareMediaStreamSourceTranscodeAsync (source As IMediaSource, destination As IRandomAccessStream, profile As MediaEncodingProfile) As IAsyncOperation(Of PrepareTranscodeResult)

Parameter

source
IMediaSource

Die Medienquelle, für die der Transcodierungsvorgang ausgeführt werden soll.

destination
IRandomAccessStream

Der Zielstream für die transcodierten Mediendaten.

profile
MediaEncodingProfile

Das Profil, das für den Vorgang verwendet werden soll.

Gibt zurück

Nach Abschluss dieser Methode wird ein PrepareTranscodeResult-Objekt zurückgegeben, das zum Starten der Transcodierung verwendet werden kann.

Gilt für: