Share via


MediaComposition.RenderToFileAsync メソッド

定義

オーバーロード

RenderToFileAsync(IStorageFile)

指定したファイルに MediaComposition を非同期にレンダリングします。

RenderToFileAsync(IStorageFile, MediaTrimmingPreference)

指定されたメディア トリミング設定を使用して、指定したファイルに MediaComposition を非同期にレンダリングします。

RenderToFileAsync(IStorageFile, MediaTrimmingPreference, MediaEncodingProfile)

指定されたメディア トリミング設定とエンコード プロファイルを使用して、指定したファイルに MediaComposition を非同期にレンダリングします。

RenderToFileAsync(IStorageFile)

指定したファイルに MediaComposition を非同期にレンダリングします。

public:
 virtual IAsyncOperationWithProgress<TranscodeFailureReason, double> ^ RenderToFileAsync(IStorageFile ^ destination) = RenderToFileAsync;
/// [Windows.Foundation.Metadata.Overload("RenderToFileAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<TranscodeFailureReason, double> RenderToFileAsync(IStorageFile const& destination);
[Windows.Foundation.Metadata.Overload("RenderToFileAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<TranscodeFailureReason,double> RenderToFileAsync(IStorageFile destination);
function renderToFileAsync(destination)
Public Function RenderToFileAsync (destination As IStorageFile) As IAsyncOperationWithProgress(Of TranscodeFailureReason, Double)

パラメーター

destination
IStorageFile

この MediaComposition がレンダリングされるファイル。

戻り値

操作の成功または失敗を追跡するために使用できる非同期操作。

属性

注釈

このメソッドは、標準的なメディア プレーヤーで再生できるビデオ ファイルにコンポジションを保存します。 コンポジションを、今後読み込んで変更できる XML ファイルとして保存する場合は、 SaveAsync を使用します。

こちらもご覧ください

適用対象

RenderToFileAsync(IStorageFile, MediaTrimmingPreference)

指定されたメディア トリミング設定を使用して、指定したファイルに MediaComposition を非同期にレンダリングします。

public:
 virtual IAsyncOperationWithProgress<TranscodeFailureReason, double> ^ RenderToFileAsync(IStorageFile ^ destination, MediaTrimmingPreference trimmingPreference) = RenderToFileAsync;
/// [Windows.Foundation.Metadata.Overload("RenderToFileWithTrimmingPreferenceAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<TranscodeFailureReason, double> RenderToFileAsync(IStorageFile const& destination, MediaTrimmingPreference const& trimmingPreference);
[Windows.Foundation.Metadata.Overload("RenderToFileWithTrimmingPreferenceAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<TranscodeFailureReason,double> RenderToFileAsync(IStorageFile destination, MediaTrimmingPreference trimmingPreference);
function renderToFileAsync(destination, trimmingPreference)
Public Function RenderToFileAsync (destination As IStorageFile, trimmingPreference As MediaTrimmingPreference) As IAsyncOperationWithProgress(Of TranscodeFailureReason, Double)

パラメーター

destination
IStorageFile

この MediaComposition がレンダリングされるファイル。

trimmingPreference
MediaTrimmingPreference

メディアをトリミングするときに高速か正確かを指定します。

戻り値

操作の成功または失敗を追跡するために使用できる非同期操作。

属性

注釈

このメソッドは、標準的なメディア プレーヤーで再生できるビデオ ファイルにコンポジションを保存します。 コンポジションを、今後読み込んで変更できる XML ファイルとして保存する場合は、 SaveAsync を使用します。

こちらもご覧ください

適用対象

RenderToFileAsync(IStorageFile, MediaTrimmingPreference, MediaEncodingProfile)

指定されたメディア トリミング設定とエンコード プロファイルを使用して、指定したファイルに MediaComposition を非同期にレンダリングします。

public:
 virtual IAsyncOperationWithProgress<TranscodeFailureReason, double> ^ RenderToFileAsync(IStorageFile ^ destination, MediaTrimmingPreference trimmingPreference, MediaEncodingProfile ^ encodingProfile) = RenderToFileAsync;
/// [Windows.Foundation.Metadata.Overload("RenderToFileWithProfileAsync")]
IAsyncOperationWithProgress<TranscodeFailureReason, double> RenderToFileAsync(IStorageFile const& destination, MediaTrimmingPreference const& trimmingPreference, MediaEncodingProfile const& encodingProfile);
[Windows.Foundation.Metadata.Overload("RenderToFileWithProfileAsync")]
public IAsyncOperationWithProgress<TranscodeFailureReason,double> RenderToFileAsync(IStorageFile destination, MediaTrimmingPreference trimmingPreference, MediaEncodingProfile encodingProfile);
function renderToFileAsync(destination, trimmingPreference, encodingProfile)
Public Function RenderToFileAsync (destination As IStorageFile, trimmingPreference As MediaTrimmingPreference, encodingProfile As MediaEncodingProfile) As IAsyncOperationWithProgress(Of TranscodeFailureReason, Double)

パラメーター

destination
IStorageFile

この MediaComposition がレンダリングされるファイル。

trimmingPreference
MediaTrimmingPreference

メディアをトリミングするときに高速か正確かを指定します。

encodingProfile
MediaEncodingProfile

メディアのレンダリングに使用するエンコード プロファイルを指定します。

戻り値

操作の成功または失敗を追跡するために使用できる非同期操作。

属性

注釈

このメソッドは、標準的なメディア プレーヤーで再生できるビデオ ファイルにコンポジションを保存します。 コンポジションを、今後読み込んで変更できる XML ファイルとして保存する場合は、 SaveAsync を使用します。

こちらもご覧ください

適用対象