管理影片資產 manage-video-assets

版本
文章連結
AEM as a Cloud Service
按一下這裡
AEM 6.5
本文章

視訊格式是組織數位資產的重要一環。 Adobe Experience Manager提供成熟的產品和功能,可在建立視訊資產後管理其整個生命週期。

瞭解如何在Adobe Experience Manager Assets中管理和編輯視訊資產。 可以使用Dynamic Media整合進行視訊編碼與轉碼(例如FFmpeg轉碼)。

上傳和預覽視訊資產 upload-and-preview-video-assets

Adobe Experience Manager Assets會產生副檔名為MP4之視訊資產的預覽。 如果資產的格式不是MP4,請安裝FFmpeg套件以產生預覽。 FFmpeg會建立OGG和MP4型別的視訊轉譯。 您可以在Assets使用者介面中預覽轉譯。

  1. 在數位資產資料夾或子資料夾中,導覽至您要新增數位資產的位置。

  2. 若要上傳資產,請按一下工具列中的[建立],然後選擇[檔案]。 ​或者,在使用者介面上拖曳檔案。 如需詳細資訊,請參閱上傳資產

  3. 若要在卡片檢視中預覽視訊,請按一下視訊資產上的​播放 播放選項 選項。 您只能在卡片檢視中暫停或播放視訊。 清單檢視中不提供播放和暫停選項。

  4. 若要在資產詳細資訊頁面中預覽視訊,請按一下卡片上的​編輯。 視訊會在瀏覽器的原生視訊播放器中播放。 您可以播放、暫停、控制音量,以及將視訊縮放至全熒幕。

    視訊播放控制項

上傳大於2 GB之資產的設定 configuration-to-upload-assets-that-are-larger-than-gb

根據預設,Assets不允許您上傳任何因檔案大小限制而大於2 GB的資產。 不過,您可以前往CRXDE Lite並在/apps目錄下建立節點,覆寫此限制。 節點必須具有相同的節點名稱、目錄結構和順序的可比較節點屬性。

除了Assets設定外,請變更下列設定以上傳大型資產:

  • 增加權杖到期時間。 在https://[aem_server]:[port]/system/console/configMgr的Web主控台中檢視Adobe Granite CSRF Servlet。 如需詳細資訊,請參閱CSRF保護
  • 在Dispatcher設定中增加receiveTimeout。 如需詳細資訊,請參閱Experience Manager Dispatcher設定
NOTE
Experience Manager傳統使用者介面沒有2 GB的檔案大小限制。 此外,大型視訊的端對端工作流程並非完全支援。

若要設定較高的檔案大小限制,請在/apps目錄中執行下列步驟。

  1. 在Experience Manager中,按一下​工具 > 一般 > CRXDE Lite

  2. 在CRXDE Lite中導覽至/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload。 若要檢視目錄視窗,請按一下>>

  3. 在工具列中按一下​覆蓋節點。 或者,從上 下文選單選取 「覆蓋節點」。

  4. 在​ 覆蓋節點 ​對話方塊中,按一下​確定

    重疊節點

  5. 重新整理瀏覽器。 已選取覆蓋節點/apps/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload

  6. 在​ 屬性 ​索引標籤中,輸入適當的值(位元組),將大小限制增加到所需的大小。 例如,若要將大小限制增加到30 GB,請輸入32212254720值。

  7. 在工具列中按一下​儲存全部

  8. 在Experience Manager中,按一下​工具 > 作業 > 網頁主控台

  9. 在Adobe Experience Manager Web主控台組合頁面上,在表格的「名稱」欄下,找到並按一下​Adobe Granite工作流程外部程式工作處理常式

  10. 在Adobe Granite工作流程外部處理作業處理常式頁面上,將​ 預設逾時 ​和​ 最大逾時 ​欄位的秒數設定為18000 (5小時)。 按一下​儲存

  11. 在Experience Manager中,按一下​工具 > 工作流程 > 模型

  12. 在工作流程模型頁面上,選取​Dynamic Media編碼視訊,然後按一下​編輯

  13. 在工作流程頁面上,連按兩下​ Dynamic Media視訊服務處理序 ​元件。

  14. 在「步 驟屬性 」對話框的「常用」頁籤下,展開「 高級設定」

  15. 在​ 逾時 ​欄位中,指定值18000,然後按一下​ 確定 ​以返回​ Dynamic Media編碼視訊 ​工作流程頁面。

  16. 在頁面頂端附近,Dynamic Media編碼視訊頁面標題下方,按一下​儲存

發佈視訊資產 publish-video-assets

發佈後,您可以將視訊資產以URL形式納入網頁中,或直接內嵌資產。 如需詳細資訊,請參閱發佈Dynamic Media資產

將視訊發佈至YouTube publishing-videos-to-youtube

您可以將內部部署Experience Manager視訊資產直接發佈至您先前建立的YouTube頻道。

若要將視訊資產發佈至YouTube,請使用標籤設定Experience Manager Assets。 您可以將這些標籤與YouTube頻道建立關聯。 如果視訊資產的標籤符合YouTube頻道的標籤,則視訊會發佈至YouTube。 只要使用關聯的標籤,發佈至YouTube就會與視訊的正常發佈同時發生。

YouTube會自行編碼。 因此,上傳至Experience Manager的原始視訊檔案會發佈至YouTube,而不會發佈至Dynamic Media編碼所建立的任何視訊轉譯。 雖然視訊不需要使用Dynamic Media來處理,但如果播放需要檢視器預設集,預計會予以處理。

當您略過視訊處理設定檔並直接發佈至YouTube時,這僅代表您在Experience Manager資產中的視訊資產沒有取得可檢視的縮圖。 這也表示如果您以dynamicmediadynamicmedia_scene7執行模式執行,未編碼的視訊將無法與任何動態媒體資產型別搭配使用。

若要將視訊資產發佈至YouTube伺服器,必須完成下列工作,以確保使用YouTube進行安全無虞的伺服器對伺服器驗證:

您也可以取消發佈視訊,以從YouTube中移除這些視訊。

配置Google雲端設定 configuring-google-cloud-settings

若要發佈至YouTube,您需要Google帳戶。 如果您有GMAIL帳戶,表示您已經擁有Google帳戶;如果您沒有Google帳戶,可以輕鬆建立帳戶。 您需要帳戶,因為您需要憑證才能將視訊資產發佈到YouTube。 如果您已建立帳戶,請略過此工作並直接繼續進行建立YouTube管道

Google Cloud所用的帳戶與YouTube所用的Google帳戶不必相同。

Google會定期變更其使用者介面。 因此,將視訊發佈至YouTube的步驟可能會與以下說明略有不同。 此警告也適用於您嘗試檢查是否將視訊上傳到YouTube的。

NOTE
在撰寫本文時,下列步驟是準確的。 不過,Google會定期更新其網站,恕不另行通知。 因此,這些步驟可能會稍微不同。

若要設定Google雲端設定:

  1. 建立Google帳戶。

    如果您已有Google帳戶,請跳至下一步。

  2. 移至https://cloud.google.com/

  3. 在Google cloud頁面的右上角,按一下「主控台」

    如有必要,請使用您的Google帳戶認證​ 登入 ​以檢視​ 主控台 ​選項。

  4. On the Dashboard page, to the right of Google Cloud Platform, click the Project drop-down list to open the Select a Project dialog box.

  5. In the Select a project dialog box, select New Project.

    6_5_googleaccount-newproject

  6. In the New Project dialog box, in the Project Name field, type the name of your new project.

    Your Project ID is based on your project name. As such, choose the project name carefully; it cannot be changed after it is created. Also, you must enter the same Project ID again when you set up YouTube in Experience Manager later on; consider writing it down.

  7. 按一下「建立」。

  8. 執行下列其中一項:

    • On your project's Dashboard, in the Getting Started card, select Explore and enable APIs.
    • On your project's Dashboard, in the APIs card, select Go to APIs overview.

    6_5_googleaccount-apis-enable2

  9. Near the top of the APIs & Services page, select Enable APIs and Services.

  10. On the API Library page, on the left side, under Category, select YouTube. On the right side of the page, select YouTube Data API.

  11. On the YouTube Data API v3 page, select Enable.

    6_5_googleaccount-apis-enable3

  12. To use the API, you need credentials. If necessary, click Create Credentials.

    6_5_googleaccount-apis-createcredentials

  13. On the Add credentials to your project page, step 1, do the following:

    • From the Which API are you using? drop-down list, select YouTube Data API v3.

    • From the Where are you calling the API from? drop-down list, select Web Server (for example, node.js, Tomcat)

    • From the What data are you accessing? drop-down list, select User data.

    6_5_googleaccount-apis-createcredentials2

  14. 選取​我需要什麼認證?

  15. 在「 新增認證至您的專案 」頁面的「建立OAuth 2.0用戶端ID ​」標題下,視需要在「名稱」欄位中輸入唯一名稱。 或者,您可以使用Google指定的預設名稱。

  16. 在​ 授權的JavaScript來源 ​標題下,在文字欄位中輸入以下路徑,在路徑中取代您自己的網域和連線埠號碼,然後按​ Enter ​將路徑新增至清單:

    https://<servername.domain>:<port_number>

    例如 https://1a2b3c.mycompany.com:4321

    注意:上述路徑範例僅供示範之用。

    6_5_googleaccount-apis-createcredentials-oauth

  17. 在​ 授權的重新導向URI ​標題下,在文字欄位中輸入以下路徑,取代路徑中您自己的網域和連線埠號碼,然後按​ Enter ​將路徑新增至清單:

    https://<servername.domain>:<port_number>/etc/cloudservices/youtube.youtubecredentialcallback.json

    例如 https://1a2b3c.mycompany.com:4321/etc/cloudservices/youtube.youtubecredentialcallback.json

    注意:上述路徑範例僅供示範之用。

  18. 按一下​建立OAuth使用者端識別碼

  19. 在「 新增認證至您的專案 」頁面的「設定OAuth 2.0同意書」畫面標題下方,選取您目前使用的Gmail電子郵件地址。

    6_5_googleaccount-apis-createcredentials-consentscreen

  20. 在顯示給使用者的​ 產品名稱 ​標題下,在文字欄位中輸入您要在同意畫面上顯示的內容。

    Experience Manager管理員向YouTube驗證時,會顯示同意畫面;Experience Manager會聯絡YouTube以取得許可權。

  21. 按一下「繼續」。

  22. 在[新增認證至您的專案]頁面的[下載認證] 標題下,選取[下載],步驟4。

    6_5_googleaccount-apis-createcredentials-downloadcredentials

  23. 儲存 client_id.json 檔案。

    您稍後在Adobe Experience Manager中設定YouTube時,需要此下載的json檔案。

  24. 按一下​完成

    登出您的Google帳戶。 現在建立YouTube管道。

建立YouTube管道 creating-a-youtube-channel

若要將影片發佈至YouTube,您必須具備一或多個管道。 如果您已建立YouTube管道,則可以略過此工作,並移至新增標籤以進行發佈

WARNING
請確定您已在YouTube 中設定一或多個管道​之前,在Experience Manager的YouTube設定下新增管道(請參閱下方的在Experience Manager中設定YouTube)。 如果您無法設定一或多個管道,則不會警告您管道不存在。 不過,當您新增頻道時,Google驗證仍會發生,但無法選擇傳送視訊的頻道。

若要建立YouTube頻道:

  1. 移至https://www.youtube.com並使用您的Google帳戶認證登入。

  2. 在YouTube頁面的右上角,按一下您的個人資料圖片(也可以顯示為實色圓圈中的字母),然後按一下​YouTube設定 (圓形齒輪圖示)。

  3. 在「概觀」頁面的「其他功能」標題下,按一下「檢視我的所有管道」或建立管道

  4. 在[頻道]頁面上,按一下[建立新頻道]。

  5. 在「品牌帳戶」頁面的「品牌帳戶名稱」欄位中,輸入您要發佈視訊資產的商業名稱或任何其他管道名稱,然後按一下「建立」。

    請記住您在這裡輸入的名稱,因為當您在Experience Manager中設定YouTube時,必須再次輸入此名稱。

  6. (選用)如有需要,請新增更多管道。

    現在新增標籤以供發佈。

新增標籤以供發佈 adding-tags-for-publishing

若要將影片發佈至YouTube,Experience Manager會將標籤與一個或多個YouTube管道建立關聯。 若要新增標籤以進行發佈,請參閱管理標籤

或者,如果您想要使用Experience Manager中的預設標籤,可以略過此工作並移至啟用YouTube發佈復寫代理程式

啟用YouTube發佈復寫代理程式 enabling-the-youtube-publish-replication-agent

啟用YouTube發佈復寫代理程式後,如果要測試與Google Cloud帳戶的連線,請選取​測試連線。 瀏覽器標籤會顯示連線結果。 如果您已新增YouTube管道,測試期間會顯示管道清單。

  1. 在Experience Manager的左上角,按一下Experience Manager標誌,然後在左側邊欄中,按一下​工具 > 部署 > 復寫 > 作者代理程式

  2. 在作者代理程式頁面上,按一下​YouTube發佈

  3. 在工具列的[設定]右側,按一下[編輯]。

  4. 選取​ 已啟用 ​核取方塊,以便您開啟復寫代理程式。

  5. 按一下​「確定」

    現在請在Experience Manager中設定YouTube。

在Experience Manager中設定YouTube setting-up-youtube-in-aem

從Experience Manager 6.4開始,引進了全新的觸控使用者介面方法,以在Experience Manager中設定YouTube發佈。 根據您所使用的Experience Manager安裝例項,執行下列任一項作業:

在Experience Manager 6.4和更新版本中設定YouTube setting-up-youtube-in-aem-and-later

  1. Be sure you log in to your instance of Dynamic Media as an Administrator.

  2. In the upper-left corner, select the Experience Manager logo, then in the left rail, select Tools(hammer icon) > Cloud Services > YouTube Publishing Configuration.

  3. Select global (do not select it).

  4. Near the upper-right corner of the global page, select Create.

  5. 在「建立YouTube設定」頁面的「Google cloud 平台設定」下方的「應用程式名稱」欄位 ,輸入Google專案ID。

    You specified the project ID when you initially configured Google Cloud settings earlier.
    Leave the Create YouTube Configuration page open; in a moment, you are going to return to it.

    6_5_youtubepublish-createyoutubeconfiguration

  6. Using a plain text editor, open the JSON file that you downloaded and saved earlier in the task Configure Google Cloud settings.

  7. Select and copy the entire JSON text.

  8. 返回YouTube帳戶設定對話方塊。 在「 JSON設定」欄位中 ,貼上JSON文字。

  9. Near the upper-right corner of the page, select Save.

    Now set up YouTube channels in Experience Manager.

  10. Select Add Channel.

  11. In the Channel Name field, enter the name of the channel that you created in the task Adding one or more channels to YouTube earlier.

    You can optionally add a description, if desired.

  12. 選取「新增」。

  13. YouTube/Google authentication is displayed. If you are not already logged into the Google Cloud account, then skip this step.

    • Enter the Google username and password associated with the Google Project ID and the JSON text above.
    • Depending on how many channels your account has you see two or more items. Select a channel. Do not select the e-mail address; it is not a channel.
    • On the next page, select Accept to allow access to this channel.
  14. Select Allow.

    Now set up tags for publishing.

  15. Setting up tags for publishing - On the Cloud Services > YouTube page, select the pencil icon to edit the list of tags that you want to use.

  16. Select the drop-down list icon (upside-down caret) so you can display the list of available tags in Experience Manager.

  17. Select one or more tags so you can add them.

    To delete a tag that you have added, select the tag, and select X.

  18. When you are finished adding the tags that you want, select Save.

    Now you publish videos to your YouTube channel.

Set up YouTube in Experience Manager before 6.4 setting-up-youtube-in-aem-before

  1. Be sure you log in to your instance of Dynamic Media as an Administrator.

  2. In the upper-left corner, select the Experience Manager logo, then in the left rail, select Tools (hammer icon) > Deployment > Cloud Services.

  3. Under the Third-Party Services heading, under YouTube, select Configure now.

  4. In the Create Configuration dialog box, enter a title (mandatory) and name (optional) in the respective fields.

  5. 選取「建立」。

  6. 在「YouTube帳戶設定」對話方塊的「應用程式名 稱」欄位中 ,輸入Google專案ID。

    You specified the project ID when you initially configured Google Cloud settings earlier.
    Leave the YouTube Account Setting dialog box open; you are going to return to it in a moment.

  7. Using a plain text editor, open the JSON file that you downloaded and saved earlier in the task Configuring Google Cloud settings.

  8. Select and copy the entire JSON text.

  9. 返回YouTube帳戶設定對話方塊。 在「 JSON設定」欄位中 ,貼上JSON文字。

  10. Select OK.

    Now set up YouTube channels in Experience Manager.

  11. To the right of Available Channels, select + (plus sign icon).

  12. 在「YouTube頻道設定」對話方塊的「標題」欄位中,輸入您在「先前新增一或多個頻道至YouTube」工作中建立的頻道名稱 ​。

    You can optionally add a description, if desired.

  13. Select OK.

  14. YouTube/Google authentication is displayed. If you are not already logged into the Google Cloud account, then skip this step.

    • Enter the Google username and password associated with the Google Project ID and the JSON text above.
    • Depending on how many channels your account has you see two or more items. Select a channel. Do not select the e-mail address; it is not a channel.
    • On the next page, select Accept to allow access to this channel.
  15. Select Allow.

    Now set up tags for publishing.

  16. Setting up tags for publishing - On the Cloud Services > YouTube page, select the pencil icon to edit the list of tags that you want to use.

  17. Select the drop-down list icon (upside-down caret) so you can display the list of available tags in Experience Manager.

  18. Select one or more tags so you can add them.

    To delete a tag that you have added, select the tag, and select X.

  19. When you are finished adding the tags that you want, select OK.

    Now you publish videos to your YouTube channel.

(可選)為您上傳的視訊自動設定預設YouTube屬性 optional-automating-the-setting-of-default-youtube-properties-for-your-uploaded-videos

You can optionally automate the setting of YouTube properties on upload of your videos by creating a metadata processing profile in Experience Manager.

若要建立中繼資料處理設定檔,您必須先從「欄位標籤 」、「對應至屬性 」和「選擇」欄位複製值,這些全都可在視訊的中繼資料結構中找到。 Then, you build your YouTube video metadata processing profile by adding those values to it.

To automate the setting of default YouTube properties for your uploaded videos:

  1. In the upper-left corner, select the Experience Manager logo, then in the left rail, click Tools (hammer icon) > Assets > Metadata Schemas.

  2. Click default. (Do not add a checkmark to the selection box to the left of "default".)

  3. On the default page, check the box to the left of video, then select Edit.

  4. On the Metadata Schema Editor page, select the Advanced tab.

  5. 在「YouTube發佈」標題下,按一下「 YouTube類別」

  6. On the right side of the page, under the Settings tab, do the following:

    • In the Map to property text field, select and copy the value.
      Paste the copied value into the open text editor. You are going to need this value later when you create your metadata processing profile. Leave the text editor open.

    • Under Choices, select and copy the default value that you want to use (such as People & Blogs or Science & Technology).
      Paste the copied value into the open text editor. You are going to need this value later when you create your metadata processing profile. 讓文字編輯器保持開啟狀態。

  7. 在「YouTube發佈」標題下,選取​YouTube隱私權

  8. 在頁面右側的​ 設定 ​標籤下方,執行下列動作:

    • 在​ 對應至屬性 ​文字欄位中,選取並複製值。
      將複製的值貼到開啟的文字編輯器中。 當您稍後建立中繼資料處理設定檔時,會需要此值。 讓文字編輯器保持開啟狀態。

    • 在​ 選擇 ​下,選取並複製您要使用的預設值。 請注意,「選擇」會組成兩個選項組。 配對中的底部欄位是您要複製的預設值,例如public、unlisted或private。
      將複製的值貼到開啟的文字編輯器中。 當您稍後建立中繼資料處理設定檔時,會需要此值。 讓文字編輯器保持開啟狀態。

  9. 在「中繼資料結構描述編輯器」頁面的右上角附近,按一下​取消

  10. 在Experience Manager的左上角,選取Experience Manager標誌,然後在左側導軌中,按一下​工具 (槌子圖示) > Assets > 中繼資料設定檔

  11. 在「中繼資料描述檔」頁面的右上角,按一下「建立」。

  12. 在「新增中繼資料設定檔」對話方塊的「設定檔標題 」文字欄位中,輸入名稱, 然後按一下「 YouTube Video 建立 」。

  13. 在中繼資料設定檔編輯器頁面上,按一下​ 進階 ​標籤。

  14. 執行下列操作,將複製的YouTube發佈值新增至設定檔:

    • 在頁面右側,按一下​ 建置表單 ​標籤。

    • (可選)將標示為​ Section Header ​的元件拖曳至左側,並將它拖放到表單區域中。

    • (選擇性)按一下​ 欄位標籤 ​以選取元件。

    • (選擇性)在頁面右側的「設定」標籤下方,於「欄位標籤」文字欄位中輸入YouTube Publishing

    • 按一下​ 建置表單 ​標籤,然後拖曳標示為​ 多值文字 ​的元件,並將它拖曳至您建立的​ YouTube發佈 ​標題下方。

    • 按一下「欄位標籤」以選取元件。

    • 在頁面右側的「設定」標籤下方,將您先前複製的YouTube發佈值(「欄位標籤」值和「對應至屬性值」)貼入表單上各自的欄位中。 將選擇值貼到「預設值」欄位中。

  15. 執行下列操作,將複製的YouTube隱私權值新增至設定檔:

    • 在頁面右側,按一下​ 建置表單 ​標籤。

    • (可選)將標示為​ Section Header ​的元件拖曳至左側,並將它拖放到表單區域中。

    • (選擇性)按一下​ 欄位標籤 ​以選取元件。

    • (選擇性)在頁面右側的「設定」標籤下方,於「欄位標籤」文字欄位中輸入YouTube Privacy

    • 按一下​ 建置表單 ​標籤,然後拖曳標示為​ 多值文字 ​的元件,並將它拖曳至您建立的​ YouTube隱私權 ​標題下方。

    • 按一下「欄位標籤」以選取元件。

    • 在頁面右側的「設定」標籤下方,將您先前複製的YouTube發佈值(「欄位標籤」值和「對應至屬性值」)貼入表單上各自的欄位中。 將選擇值貼到「預設值」欄位中。

  16. 在頁面的右上角附近,按一下「儲 存」

  17. 將YouTube發佈中繼資料設定檔套用至您要上傳影片的資料夾。 您必須同時設定中繼資料設定檔和視訊設定檔。

    請參閱中繼資料設定檔視訊設定檔

將影片發佈至您的YouTube頻道 publishing-videos-to-your-youtube-channel

現在,您將先前新增的標籤關聯至視訊資產。 此程式可讓Experience Manager知道要將哪些資產發佈至您的YouTube頻道。

NOTE
在Dynamic Media - Scene7模式下執行時,立即發佈不會自動發佈至YouTube。 設定Dynamic Media - Scene7模式時,有兩個發佈選項可供選擇: 立即​或​啟動時
立即發佈​表示上傳的資產(在與IPS同步之後)會自動發佈至傳遞系統。 雖然這對Dynamic Media是如此,對YouTube則否。 若要發佈至YouTube,您必須透過Experience Manager Author發佈。
NOTE
若要從YouTube發佈內容,Experience Manager會使用​ 發佈至YouTube ​工作流程,讓您監視進度並檢視任何失敗資訊。
請參閱監視視訊編碼和YouTube發佈進度
如需詳細進度資訊,您可以在復寫下監視YouTube記錄。 但是,請注意,此類監視需要管理員存取權。

若要將視訊發佈至您的YouTube頻道:

  1. 在Experience Manager中,導覽至您要發佈至YouTube頻道的視訊資產。

  2. 選取視訊資產(最適化視訊集)。

  3. 在工具列上,按一下​屬性

  4. 在「基本」標籤的「中繼資料」標題下,按一下「標籤」欄位右側的​「開啟選取範圍對話方塊」

  5. 在「選取標籤」頁面上,導覽至您要使用的標籤,然後選取一或多個標籤。

    請記住,標籤必須與YouTube管道相關聯。

  6. 在頁面的右上角,按一下​選取

  7. 在視訊屬性頁面的右上角,按一下[儲存並關閉]。

  8. 在工具列上,按一下​快速發佈

    另請參閱搭配Experience Manager Sites使用出版物管理。

    您可以選擇驗證在YouTube頻道上發佈的影片。

(選用)驗證YouTube上的已發佈影片 optional-verifying-the-published-video-on-youtube

您可以選擇監視YouTube發佈(或取消發佈)的進度。

請參閱監視視訊編碼和YouTube發佈進度

發佈時間可能會因多項因素而有很大的差異,包括主要來源視訊格式、檔案大小和上傳流量。 發佈程式可能需要幾分鐘到幾小時的時間。 此外,解析度較高的格式呈現得也比較慢。 例如,720p和1080p需要比480p更長的時間。

八小時後,如果您仍然看到顯示​ 已上傳(正在處理,請稍候) ​的狀態訊息,請嘗試從Adobe網站移除視訊,然後再次上傳。

將YouTube URL連結至您的網頁應用程式 linking-youtube-urls-to-your-web-application

您可以取得Dynamic Media在發佈視訊後產生的YouTube URL字串。 當您複製YouTube URL時,它會貼到剪貼簿,以便您視需要將其貼到網站或應用程式中的頁面。

NOTE
您必須先將視訊資產發佈至YouTube,才能複製YouTube URL。

若要將YouTube URL連結至您的Web應用程式:

  1. 導覽至您要複製其URL的​ YouTube已發佈 ​視訊資產,然後選取該資產。

    請記住,YouTube URL僅可在您首次​ 發佈 ​視訊資產至YouTube 後複製

  2. 在工具列上,按一下​屬性

  3. 按一下「進階」標籤。

  4. 在「YouTube發佈」標題下方的「YouTube URL清單」中,選取URL文字,並將URL文字複製到網頁瀏覽器,以預覽資產或新增至網頁內容頁面。

取消發佈影片,以便從YouTube中將其移除 unpublishing-videos-to-remove-them-from-youtube

在Experience Manager中取消發佈視訊資產時,會從YouTube中移除視訊。

CAUTION
如果您直接從YouTube中移除視訊,Experience Manager不會察覺,並持續以視訊仍發佈至YouTube的方式處理。 一律透過Experience Manager從YouTube取消發佈視訊資產。
NOTE
若要從YouTube移除內容,Experience Manager會使用​ 從YouTube取消發佈 ​工作流程,讓您監視進度並檢視任何失敗資訊。
請參閱監視視訊編碼和YouTube發佈進度

若要取消發佈視訊以從YouTube移除它們:

  1. 導覽至您要從YouTube頻道取消發佈的視訊資產。
  2. 在資產選擇模式中,選取一或多個已發佈的視訊資產。
  3. 在工具列上,按一下​管理出版物。 選取三個點的圖示(. . .) 工具列上,因此​ 管理出版物 ​會開啟。
  4. 在[管理出版物]頁面上,選取[取消發佈]。
  5. 在頁面的右上角,選取​下一步
  6. 在頁面的右上角,選取​取消發佈

監視視訊編碼和YouTube發佈進度 monitoring-video-encoding-and-youtube-publishing-progress

當您將新視訊上傳至已套用視訊編碼的資料夾,或您將視訊發佈至YouTube時,您可以監視視訊編碼/Youtube發佈的進度。 您只能透過記錄檔取得實際YouTube發佈進度。 但是,其失敗或成功會以其他方式列出,如下列程式所述。 此外,當YouTube發佈工作流程或視訊編碼完成或中斷時,您會收到電子郵件通知。

監視進度 monitoring-progress

  1. View video encoding progress in your assets folder:

    • In card view, video encoding progress displays on the asset by percent. If there is an error, this information also displays on the asset.

    chlimage_1-429

    • In list view, video encoding progress displays in the Processing Status column. If there is an error, this message displays in that same column.

    chlimage_1-430

    預設不會顯示此欄。 To enable the column, select View Settings from the views drop-down menu, and add the Processing Status column and click Update.

    chlimage_1-431

  2. View progress in the asset details. When you click an asset, open the drop-down menu and select Timeline. To narrow it down to workflow activities like encoding or YouTube publishing, select Workflows.

    chlimage_1-432

    Any workflow information – such as encoding – displays in the timeline. For YouTube publish, the Workflow timeline also includes the name of the YouTube channel and the YouTube video URL. In addition, you see any failure notifications in the Workflow timeline after the publish is complete.

    note note
    NOTE
    It can take a long time for failure/error messages to finally be recorded due to multiple workflow configurations on retries, retry delay, and timeout from https://localhost:4502/system/console/configMgr, for example:
    • Apache Sling Job Queue Configuration
    • Adobe Granite Workflow External Process Job Handler
    • Granite Workflow Timeout Queue
    You can adjust the retries, retry delay, and timeout properties in these configurations.
  3. 如需進行中的工作流程,請參閱「工具 >工作流程 >例項」中的「工作流程例 項」

    note note
    NOTE
    You need administrative rights to access the Tools menu.

    chlimage_1-433

    Select the instance and select Open History.

    chlimage_1-434

    From the Workflow Instances area, you can also suspend, terminate, or rename workflows. See Administering workflows for more information.

  4. 有關失敗的作業,請參閱「工具」>「工作流 程」 > 「失敗 」中的「工 作流失敗 」。 「工作 流失敗 」(Workflow Failure)列出所有失敗的工作流活動。

    note note
    NOTE
    You need administrative rights to access the Tools menu.

    chlimage_1-435

    note note
    NOTE
    It can take a long time for the error message to finally be recorded due to multiple workflow configurations on retries, retry delay, and timeout from https://localhost:4502/system/console/configMgr, for example:
    • Apache Sling Job Queue Configuration
    • Adobe Granite Workflow External Process Job Handler
    • Granite工作流程逾時佇列
    您可以調整這些組態中的​重試重試延遲​和​ 逾時 ​屬性。
  5. 如需完成的工作流程,請參閱「工具 >工作流程 >封存 」中的「工作流程封存」。 「工作 流程存檔 」會列出所有已完成的工作流活動。

    note note
    NOTE
    您需要管理許可權才能存取​ 工具 ​功能表。

    chlimage_1-436

  6. 您會收到有關已中止或失敗的工作流程作業的電子郵件通知。 這些電子郵件通知可由管理員設定。 請參閱設定電子郵件通知

設定電子郵件通知 configuring-e-mail-notifications

NOTE
您需要管理許可權才能存取​ 工具 ​功能表。

通知的設定方式取決於您是要接收編碼作業還是YouTube發佈作業的通知:

  • 針對編碼工作,您可以在​工具 > 作業 > Web主控台​以及搜尋​Day CQ工作流程電子郵件通知服務,存取所有Experience Manager工作流程電子郵件通知的設定頁面。 請參閱在Experience Manager中設定電子郵件通知。 您可以選取或清除​ 中止時通知 ​或​ 完成時通知 ​的核取方塊。

  • 針對YouTube發佈工作,請執行以下作業:

  1. 在Experience Manager中,選取​工具 > 工作流程 > 模型

  2. 在[工作流程模型]頁面上,選取[發佈至YouTube] ,然後在工具列上選取[編輯]

  3. 在「發佈至YouTube」工作流程頁面的右上角附近,選取​編輯

  4. 將滑鼠指標暫留在YouTube上傳元件上,然後選取一次,以顯示內嵌工具列。

    6_5_publishtoyoutubeworkflow

  5. 在內嵌工具列上,選取「組態」(Configuration)圖示(扳手)。 按一下​ 引數 ​標籤。

    6_5_publishtoyoutubeworkflow-configurationicon

  6. 在YouTube上傳程式 — 步驟屬性對話方塊中,選取​ 引數 ​索引標籤。

    6_5_publishtoyoutubeworkflow-arguments-tab

  7. 您可以選取或清除下列核取方塊:

    • 發佈開始
    • 發佈失敗
    • 發佈完成 — 包含管道和URL的相關資訊

    清除核取方塊表示您不會從YouTube發佈工作流程收到指定的電子郵件通知。

    note note
    NOTE
    這些電子郵件是特定於YouTube的,並且是一般工作流程電子郵件通知的補充。 因此,您可以收到兩組電子郵件通知 — Day CQ工作流程電子郵件通知服務​中可用的通用通知,以及一組特定於YouTube的通知(視您的組態設定而定)。
  8. 完成後,在對話方塊的右上角附近,選取​ 完成 ​圖示(核取記號)。

  9. 在「發佈至YouTube」工作流程頁面的右上角,選取「同步」。

為視訊資產加上註釋 annotate-video-assets

  1. 從Assets主控台,選取資產卡上的​ 編輯 ​以顯示資產詳細資訊頁面。

  2. 若要播放視訊,請按一下[預覽]。

  3. 若要為視訊加上註解,請按一下​加上註解。 註解會新增至視訊中的特定時間(影格)。 在註解時,您可以在畫布上繪圖,並在繪圖中包含註解。 註解會自動儲存。 若要結束註解精靈,請按一下​關閉

    在視訊影格上繪製和註釋

  4. 尋找視訊中的特定點,在​ 「文字」 ​欄位中指定時間 (以秒為單位),然後按一下​「跳至」。 例如,若要略過前 20 秒的視訊,請在文字欄位中輸入 20。

    搜尋視訊中的時間,以略過指定的秒數

  5. 若要在時間軸中檢視註釋,請按一下註釋。 若要從時間表刪除附註,請按一下​刪除

    在時間軸中檢視註解和詳細資料

recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2