Share via


uap5:VideoRendererEffect

啟用應用程式中的視訊轉譯器效果啟用。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <uap5:Extension>

                        <uap5:VideoRendererEffect>

Syntax

<uap5:VideoRendererEffect
    DisplayName = 'A string with a value between 1 and 256 characters in length. This string is localizable.'
    Description = 'A string with a value between 1 and 2048 characters in length.' 
    wincap3:ActivatableClassId = 'A string with a value between 1 and 255 characters in length.'
    wincap3:Path = 'A string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, ", |, ?, or *.'
    wincap3:ProcessorArchitecture = 'A string value that can be one of the following: "x86", "x64", "arm", "arm64", or "neutral".' />

    <!-- Child elements -->
    uap5:VideoRendererExtensionProfiles{0,1000}
    uap5:InputTypes{0,1000}

</uap5:VideoRendererEffect>

答案

? 選擇性 (零或一個) {} 特定出現的範圍

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
DisplayName 影片轉譯器顯示名稱。 長度介於 1 到 256 個字元之間的字串。 這個字串可當地語系化。 No
描述 影片轉譯器效果的描述。 長度介於 1 到 2048 個字元之間的字串。 No
rescap3:ActivatableClassId 與此媒體內容相關聯的類別識別碼。 長度介於 1 到 255 個字元之間的字串。 No
rescap3:Path 媒體內容的路徑。 長度介於 1 到 256 個字元之間的字串,不能包含下列字元: < 、、 >"|?* No
rescap3:ProcessorArchitecture 用於媒體內容的處理器架構。 可以是下列其中一項的字串值:x86x64arm、arm64中性 No

子元素

子項目 描述
VideoRendererExtensionProfiles 包含影片轉譯器設定檔的清單。
InputTypes 包含媒體輸入子類型的清單。

父元素

父元素 描述
uap5:Extension 宣告應用程式的擴充點。

備註

視訊轉譯器效果可以同時實作 VideoRendererExtensionProfilesInputTypes。 請注意,實作多個配置時,會先優先設定視訊轉譯器延伸模組設定檔的優先順序。

範例

<uap5:Extension
    Category="windows.videoRendererEffect">
    <uap5:VideoRendererEffect
        DisplayName="Grey1&2"
        Description="Grey Video1&2" 
        ActivatableClassId="GreyEffect12.Grey"
        Path="Grey12.dll">
        <uap5:VideoRendererExtensionProfiles>
            <uap5:VideoRendererExtensionProfile>grey</uap5:VideoRendererExtensionProfile>
        </uap5:VideoRendererExtensionProfiles>
        <uap5:InputTypes>
            <uap5:InputType
                SubType="{2533FA52-3122-4cc1-9A10-78EBC4977CEF}"/>
        </uap5:InputTypes>
    </uap5:VideoRendererEffect>
</uap5:Extension>

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
OS 最低版本 Windows 10版本 1709 (組建 16299)