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를 사용합니다.

추가 정보

적용 대상