

支援終止通知：2025 年 11 月 13 日， AWS 將停止對 Amazon Elastic Transcoder 的支援。2025 年 11 月 13 日之後，您將無法再存取 Elastic Transcoder 主控台或 Elastic Transcoder 資源。

如需轉換至 的詳細資訊 AWS Elemental MediaConvert，請造訪此[部落格文章](https://aws.amazon.com/blogs/media/how-to-migrate-workflows-from-amazon-elastic-transcoder-to-aws-elemental-mediaconvert/)。

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 使用管道
<a name="working-with-pipelines"></a>

**Topics**
+ [在 Elastic Transcoder 中建立管道](creating-pipelines.md)
+ [在 Elastic Transcoder 中暫停和重新啟用管道](updating-pipeline-status.md)
+ [在 Elastic Transcoder 中更新管道通知](updating-pipeline-notifications.md)
+ [在 Elastic Transcoder 中列出和檢視管道](listing-pipelines.md)
+ [刪除彈性轉碼器管道](deleting-a-pipeline.md)
+ [您在建立彈性轉碼器管道時指定的設定](pipeline-settings.md)

管道是會管理轉碼任務的佇列。建立任務時，您可以指定要新增任務的管道。Elastic Transcoder 會依照您新增任務的順序，開始處理管道中的任務。

常見的組態是建立兩個管道，一個用於標準優先順序任務，另一個用於高優先順序任務。多數任務會進入標準優先順序的管道；只有在您需要立即將檔案轉碼時，才使用高優先順序管道。

如果您在建立任務時管道中有其他任務，Elastic Transcoder 會在資源可用時開始處理新任務。一個管道可以同時處理多項任務；完成一項任務所需的時間，則取決於您轉換的檔案大小和任務規格。因此，任務完成的順序不一定會依照您建立任務時的順序。

您可以暫停管道以停止處理任務。如果您想要取消一或多個任務，這非常有用，您只能在 Elastic Transcoder 開始處理任務之前執行。

# 在 Elastic Transcoder 中建立管道
<a name="creating-pipelines"></a>

您可以使用 AWS 管理主控台 或使用 Elastic Transcoder Create Pipeline API 動作來建立管道。下列程序說明如何使用主控台來建立管道。如需使用 API 建立管道的詳細資訊，請參閱[建立管道](create-pipeline.md)。

**使用 Elastic Transcoder 主控台建立管道**

1. 登入 AWS 管理主控台 ，並在 https：//[https://console.aws.amazon.com/elastictranscoder/](https://console.aws.amazon.com/elastictranscoder/) 開啟 Elastic Transcoder 主控台。

1. 在 Elastic Transcoder 主控台的導覽列中，選取要建立管道的區域。這是您建立任務的區域。

1. 在主控台的導覽 (左側) 窗格中，按一下 **Pipelines (管道)**。

1. 在 **Pipelines (管道)** 頁面上，按一下 **Create New Pipeline (建立新的管道)**。

1. 輸入適用的值。如需每個欄位的詳細資訊，請參閱[您在建立彈性轉碼器管道時指定的設定](pipeline-settings.md)。

1. 按一下 **Create Pipeline (建立管道)**。

# 在 Elastic Transcoder 中暫停和重新啟用管道
<a name="updating-pipeline-status"></a>

如果您想要取消任務，建議您先暫停對應的管道，讓 Elastic Transcoder 不會開始處理任務。在任務狀態從 **Submitted** (已提交) 變更為 **Progressing** (進行中) 之後，您將無法取消。

下列程序說明如何使用主控台暫停韓重新啟動管道。如需使用 API 來暫停和重新啟動管道的詳細資訊，請參閱[更新管道狀態](update-pipeline-status.md)。

**使用 Elastic Transcoder 主控台暫停或重新啟用管道**

1. 登入 AWS 管理主控台 ，並在 https：//[https://console.aws.amazon.com/elastictranscoder/](https://console.aws.amazon.com/elastictranscoder/) 開啟 Elastic Transcoder 主控台。

1. 在 Elastic Transcoder 主控台的導覽列中，選取要暫停或重新啟用管道的區域。

1. 在導覽 (左側) 窗格中，按一下 **Pipelines (管道)**。

1. 選取您要暫停或重新啟動的管道旁的核取方塊。

1. 依需求按一下 **Pause (暫停)** 或 **Activate (啟動)**。

# 在 Elastic Transcoder 中更新管道通知
<a name="updating-pipeline-notifications"></a>

當您建立管道時，您可以選擇設定 Elastic Transcoder 在任務狀態變更時傳送訊息至 Amazon Simple Notification Service (Amazon SNS) 主題，包括 Elastic Transcoder 何時開始或完成處理任務，以及 Elastic Transcoder 在處理任務時遇到警告或錯誤條件。您可以變更是否要讓 Elastic Transcoder 傳送訊息，如果是，您可以變更要傳送訊息的 SNS 主題。

Amazon SNS 提供各種通知選項，包括將 Amazon SNS 訊息傳送至 Amazon Simple Queue Service (Amazon SQS) 佇列的功能。如需詳細資訊，請參閱《[Amazon Simple Notification Service 開發人員指南](https://docs.aws.amazon.com/sns/latest/dg/)》。

下列程序說明如何使用主控台來更新通知。如需使用 API 來更新通知的詳細資訊，請參閱[更新管道通知](update-pipeline-notifications.md)。

**使用 Elastic Transcoder 主控台更新管道通知**

1. 登入 AWS 管理主控台 ，並在 https：//[https://console.aws.amazon.com/elastictranscoder/](https://console.aws.amazon.com/elastictranscoder/) 開啟 Elastic Transcoder 主控台。

1. 在 Elastic Transcoder 主控台的導覽列中，選取要暫停或重新啟用管道的區域。

1. 在導覽 (左側) 窗格中，按一下 **Pipelines (管道)**。

1. 選取您要變更通知的管道旁的核取方塊。

1. 按一下 **Edit (編輯)**。

1. 依需求變更值。如需詳細資訊，請參閱[您在建立彈性轉碼器管道時指定的設定](pipeline-settings.md)。

1. 按一下 **Save (儲存)** 以儲存變更。

# 在 Elastic Transcoder 中列出和檢視管道
<a name="listing-pipelines"></a>

您可以列出與目前 AWS 帳戶相關聯的管道，也可以檢視特定管道的設定。下列程序說明如何使用主控台來列出管道並檢視管道的設定。

如需使用 API 來：
+ 列出目前 AWS 帳戶的管道，請參閱[列出管道](list-pipelines.md)。
+ 取得特定管道的設定，請參閱[讀取管道](get-pipeline.md)。

**使用 Elastic Transcoder 主控台列出管道並檢視管道設定**

1. 登入 AWS 管理主控台 ，並在 https：//[https://console.aws.amazon.com/elastictranscoder/](https://console.aws.amazon.com/elastictranscoder/) 開啟 Elastic Transcoder 主控台。

1. 在 Elastic Transcoder 主控台的導覽列中，選取要列出任務的區域。

1. 在主控台的導覽 (左側) 窗格中，按一下 **Pipelines (管道)**。右窗格會列出與目前帳戶相關聯的管道。

1. 欲顯示管道的詳細資訊，請按一下管道旁的 ![\[Arrow to display the settings for a pipeline.\]](http://docs.aws.amazon.com/zh_tw/elastictranscoder/latest/developerguide/images/magnifying-glass-icon.png) 圖示。

# 刪除彈性轉碼器管道
<a name="deleting-a-pipeline"></a>

您可以使用 AWS 管理主控台 或使用 Elastic Transcoder Delete Pipeline API 來刪除管道。下列程序說明如何使用主控台刪除管道。如需使用 API 刪除管道的資訊，請參閱[刪除管道](delete-pipeline.md)。

**注意**  
您無法刪除內含未處理任務的管道。

**使用 Elastic Transcoder 主控台刪除管道**

1. 登入 AWS 管理主控台 ，並在 https：//[https://console.aws.amazon.com/elastictranscoder/](https://console.aws.amazon.com/elastictranscoder/) 開啟 Elastic Transcoder 主控台。

1. 在 Elastic Transcoder 主控台的導覽列中，選取包含您要刪除之管道的區域。

1. 在主控台的導覽 (左側) 窗格中，按一下 **Pipelines (管道)**。

1. 選擇欲刪除管道的核取方塊。

1. 按一下 **Remove (移除)**。

# 您在建立彈性轉碼器管道時指定的設定
<a name="pipeline-settings"></a>

當您使用 Elastic Transcoder 主控台建立管道時，您可以指定下列值。

**Topics**
+ [區域](#pipeline-settings-region)
+ [一般設定](#pipeline-settings-general)
+ [為轉碼檔案和播放清單設定 Amazon S3 儲存貯體](#pipeline-settings-configure-transcoded-bucket)
+ [設定縮圖的 Amazon S3 儲存貯體](#pipeline-settings-configure-thumbnail-bucket)
+ [通知](#pipeline-settings-notifications)

## 區域
<a name="pipeline-settings-region"></a>

Elastic Transcoder 會在您所在的區域建立管道。選擇您打算在其中執行任務的區域。

## 一般設定
<a name="pipeline-settings-general"></a>

 **管道名稱**  
管道名稱。建議為 AWS 帳戶內不重複的名稱，但不強制要求。管道名稱的長度上限為 40 個字元。

 **輸入儲存貯體**  
您儲存要轉碼之媒體檔案的 Amazon S3 儲存貯體，以及您想要用於浮水印的圖形檔案。

 **IAM 角色**  
您希望 Elastic Transcoder 用來轉碼此管道任務之角色的 IAM Amazon Resource Name (ARN)。

 **AWS KMS 金鑰 ARN**  
您要與此管道搭配使用的 AWS Key Management Service (AWS KMS) 金鑰。  
如果您使用 **s3** 或 **s3-aws-kms** 做為 **Encryption：Mode**，則不需要為您的任務提供金鑰，因為會自動為您建立稱為 AWS-KMS 金鑰的預設金鑰。只有在您想要使用非預設的 AWS-KMS 金鑰，或是使用 **aes-pkcs7**、**aes-ctr** 或 **aes-gcm** 的 **Encryption：Mode** 時，才需要提供 AWS-KMS 金鑰。

## 為轉碼檔案和播放清單設定 Amazon S3 儲存貯體
<a name="pipeline-settings-configure-transcoded-bucket"></a>

使用本節中的設定，指定您希望 Elastic Transcoder 為提交至此管道的任務儲存轉碼檔案和播放清單的 Amazon S3 儲存貯體、您要指派給檔案的 Amazon S3 儲存類別、您想要存取檔案的使用者，以及您希望使用者擁有的存取類型。

 **儲存貯體**  
您希望 Elastic Transcoder 為您提交至此管道的任務儲存轉碼檔案和播放清單 （如適用） 的 Amazon S3 儲存貯體。

 **儲存體方案**  
您希望 Elastic Transcoder 將其指派給存放在 Amazon S3 儲存貯體中的轉碼檔案和播放清單的 Amazon S3 儲存類別，**標準**或**降低備援**。如需詳細資訊，請參閱《Amazon Simple Storage Service 使用者指南》中的[降低備援](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Introduction.html#RRS)儲存。 **

 **承授者類型**  
指定您希望如何辨識使用者或群組，讓其能夠存取已轉碼檔案和播放清單。選擇承授者類型時，[Grantee Type](#pipeline-settings-transcoded-grantee-type)欄位會顯示：  
+ **正式：****承授者**的值是 AWS 帳戶的正式使用者 ID 或 Amazon CloudFront 分佈的原始存取身分。如需正式使用者 IDs的詳細資訊，請參閱《*Amazon Simple Storage Service 使用者指南*》中的[存取控制清單 (ACL) 概觀](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ACLOverview.html)。如需使用 CloudFront 原始存取身分要求使用者使用 CloudFront URLs 而非 Amazon S3 URLs 的詳細資訊，請參閱《*Amazon CloudFront 開發人員指南*》中的[使用原始存取身分來限制對 Amazon S3 內容的存取](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html)。
**重要**  
正式使用者 ID 與 AWS 帳戶號碼不相同。
+ **Email (電子郵件)：****Grantee (承授者)** 的值為 AWS 帳戶的已註冊電子郵件地址。
+ **群組：****承授者**的值是下列其中一個預先定義的 Amazon S3 群組：**AllUsers**、 **AuthenticatedUsers** 或 **LogDelivery**。

 **承授者**  
希望擁有轉碼檔案和播放清單的存取權限的 AWS 使用者和群組。若要識別使用者或群組，您可以指定 AWS 帳戶的正式使用者 ID、CloudFront 分發的原始存取身分、AWS 帳戶的註冊電子郵件地址，或預先定義的 Amazon S3 群組。如需詳細資訊，請參閱[Grantee Type](#pipeline-settings-transcoded-grantee-type)。

 **存取**  
想要給予 [Grantee](#pipeline-settings-transcoded-grantee) 所指定的 AWS 使用者的許可。對 Elastic Transcoder 新增至儲存貯體的轉碼檔案和播放清單授予許可。有效值包含：  
+ ****開啟/下載**：**承授者可以讀取 Elastic Transcoder 新增至 Amazon S3 儲存貯體的轉碼檔案和播放清單的物件和中繼資料。
+ ****檢視許可**：**承授者可以讀取 Elastic Transcoder 新增至 Amazon S3 儲存貯體的轉碼檔案和播放清單的物件 ACL。
+ ****編輯許可**：**承授者可以為 Elastic Transcoder 新增至 Amazon S3 儲存貯體的轉碼檔案和播放清單撰寫 ACL。
+ ****完全控制**：**承授者具有讀取物件的許可，以及檢視和編輯 Elastic Transcoder 新增至 Amazon S3 儲存貯體之轉碼檔案和播放清單的 ACL。

![\[檔案及播放清單之 S3 儲存貯體設定的螢幕擷取畫面。\]](http://docs.aws.amazon.com/zh_tw/elastictranscoder/latest/developerguide/images/pipeline-create-s3-bucket-files-and-playlists.png)


## 設定縮圖的 Amazon S3 儲存貯體
<a name="pipeline-settings-configure-thumbnail-bucket"></a>

使用本節中的設定，指定您希望 Elastic Transcoder 為提交至此管道的任務儲存縮圖的 Amazon S3 儲存貯體、您要指派給縮圖的 Amazon S3 儲存類別、您想要存取縮圖的使用者，以及您希望使用者擁有的存取類型。

 **儲存貯體**  
您希望 Elastic Transcoder 為您提交至此管道的任務儲存縮圖的 Amazon S3 儲存貯體。

 **儲存體方案**  
您希望 Elastic Transcoder 指派給存放在 Amazon S3 儲存貯體中的縮圖的 Amazon S3 儲存類別，**標準**或**降低備援**。如需詳細資訊，請參閱《Amazon Simple Storage Service 使用者指南》中的[降低備援](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Introduction.html#RRS)儲存。 **

 **承授者類型**  
指定您希望如何辨識使用者或群組，讓其能夠存取縮圖。選擇承授者類型時，[Grantee Type](#pipeline-settings-thumbnail-grantee-type)欄位會顯示：  
+ **正式：****承授者**的值是 AWS 帳戶的正式使用者 ID 或 Amazon CloudFront 分佈的原始存取身分。如需正式使用者 IDs的詳細資訊，請參閱《*Amazon Simple Storage Service 使用者指南*》中的[存取控制清單 (ACL) 概觀](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ACLOverview.html)。如需使用 CloudFront 原始存取身分要求使用者使用 CloudFront URLs 而非 Amazon S3 URLs 的詳細資訊，請參閱《*Amazon CloudFront 開發人員指南*》中的[使用原始存取身分來限制對 Amazon S3 內容的存取](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html)。
**重要**  
正式使用者 ID 與 AWS 帳戶號碼不相同。
+ **Email (電子郵件)：****Grantee (承授者)** 的值為 AWS 帳戶的已註冊電子郵件地址。
+ **群組：****承授者**的值是下列其中一個預先定義的 Amazon S3 群組：**AllUsers**、 **AuthenticatedUsers** 或 **LogDelivery**。

 **承授者**  
能夠存取縮圖的 AWS 使用者或群組。若要識別使用者或群組，您可以指定 AWS 帳戶的正式使用者 ID、CloudFront 分發的原始存取身分、AWS 帳戶的註冊電子郵件地址，或預先定義的 Amazon S3 群組。如需詳細資訊，請參閱[Grantee Type](#pipeline-settings-thumbnail-grantee-type)。

 **存取**  
想要給予 [Grantee](#pipeline-settings-thumbnail-grantee) 所指定的 AWS 使用者的許可。Elastic Transcoder 新增至儲存貯體的縮圖上會授予許可。有效值包含：  
+ ****開啟/下載**：**承授者可以讀取 Elastic Transcoder 新增至 Amazon S3 儲存貯體之縮圖的物件和中繼資料。
+ ****檢視許可**：**承授者可以讀取 Elastic Transcoder 新增至 Amazon S3 儲存貯體之縮圖的物件 ACL。
+ ****編輯許可**：**承授者可以為 Elastic Transcoder 新增至 Amazon S3 儲存貯體的縮圖撰寫 ACL。
+ ****完全控制**：**承授者具有讀取物件的許可，以及檢視和編輯 Elastic Transcoder 新增至 Amazon S3 儲存貯體之縮圖的 ACL。

![\[縮圖之 S3 儲存貯體設定的螢幕擷取畫面。\]](http://docs.aws.amazon.com/zh_tw/elastictranscoder/latest/developerguide/images/pipeline-create-s3-bucket-thumbnails.png)


## 通知
<a name="pipeline-settings-notifications"></a>

使用本節中的設定來設定 Elastic Transcoder，以便在任務狀態變更時通知您。

 **進行中的事件**  
您想要在 Elastic Transcoder 開始處理任務時通知的 Amazon Simple Notification Service (Amazon SNS) 主題。  
若要接收通知，您還必須在 Amazon SNS 主控台中訂閱新主題。
Amazon SNS 提供各種通知選項，包括將 Amazon SNS 訊息傳送至 Amazon Simple Queue Service (Amazon SQS) 佇列的功能。如需詳細資訊，請參閱《[Amazon Simple Notification Service 開發人員指南](https://docs.aws.amazon.com/sns/latest/dg/)》。

 **完成事件時**  
當 Elastic Transcoder 已完成處理任務時，您要通知的 Amazon SNS 主題。

 **警告事件**  
您希望在 Elastic Transcoder 遇到警告條件時通知的 Amazon SNS 主題。

 **發生錯誤事件時**  
您希望在 Elastic Transcoder 遇到錯誤條件時通知的 Amazon SNS 主題。

![\[通知螢幕擷取畫面。\]](http://docs.aws.amazon.com/zh_tw/elastictranscoder/latest/developerguide/images/pipeline-create-notifications.png)
