-api-id | -api-type |
---|---|
M:Windows.Media.Editing.MediaComposition.RenderToFileAsync(Windows.Storage.IStorageFile,Windows.Media.Editing.MediaTrimmingPreference,Windows.Media.MediaProperties.MediaEncodingProfile) |
winrt method |
Asynchronously renders the MediaComposition to a specified file using the indicated media trimming preference and encoding profile.
The file to which this MediaComposition is rendered.
Specifies whether to be fast or precise when trimming the media.
Specifies the encoding profile to use for rendering the media.
An async operation which can be used to track the success or failure of the operation.
This method saves the composition to a video file that can be played back with standard media players. If you want to save the composition as an XML file that can be loaded and modified in the future, use SaveAsync.
RenderToFileAsync(IStorageFile), RenderToFileAsync(IStorageFile, MediaTrimmingPreference)