MediaTranscoder.PrepareFileTranscodeAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以非同步方式初始化指定檔案上的 trancode 作業,並傳回 PrepareTranscodeResult 物件,可用來啟動轉碼作業。
public:
virtual IAsyncOperation<PrepareTranscodeResult ^> ^ PrepareFileTranscodeAsync(IStorageFile ^ source, IStorageFile ^ destination, MediaEncodingProfile ^ profile) = PrepareFileTranscodeAsync;
IAsyncOperation<PrepareTranscodeResult> PrepareFileTranscodeAsync(IStorageFile const& source, IStorageFile const& destination, MediaEncodingProfile const& profile);
public IAsyncOperation<PrepareTranscodeResult> PrepareFileTranscodeAsync(IStorageFile source, IStorageFile destination, MediaEncodingProfile profile);
function prepareFileTranscodeAsync(source, destination, profile)
Public Function PrepareFileTranscodeAsync (source As IStorageFile, destination As IStorageFile, profile As MediaEncodingProfile) As IAsyncOperation(Of PrepareTranscodeResult)
參數
- source
- IStorageFile
原始檔。
- destination
- IStorageFile
目的地檔案。
- profile
- MediaEncodingProfile
要用於作業的設定檔。
傳回
當這個方法完成時,會傳回 PrepareTranscodeResult 物件,可用來啟動轉碼。