public class SubmitTranscodeJobsRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
encryptConfig
The encryption configurations.
|
String |
overrideParams
The override parameter.
|
String |
pipelineId
The ID of the queue that you want to use to run the job.
|
String |
priority
The priority of the transcoding job in all queued jobs.
|
String |
templateGroupId
The ID of the transcoding template group that you want to use.
|
String |
userData
The custom settings.
|
String |
videoId
The ID of the video file.
|
| 构造器和说明 |
|---|
SubmitTranscodeJobsRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SubmitTranscodeJobsRequest |
build(Map<String,?> map) |
String |
getEncryptConfig() |
String |
getOverrideParams() |
String |
getPipelineId() |
String |
getPriority() |
String |
getTemplateGroupId() |
String |
getUserData() |
String |
getVideoId() |
SubmitTranscodeJobsRequest |
setEncryptConfig(String encryptConfig) |
SubmitTranscodeJobsRequest |
setOverrideParams(String overrideParams) |
SubmitTranscodeJobsRequest |
setPipelineId(String pipelineId) |
SubmitTranscodeJobsRequest |
setPriority(String priority) |
SubmitTranscodeJobsRequest |
setTemplateGroupId(String templateGroupId) |
SubmitTranscodeJobsRequest |
setUserData(String userData) |
SubmitTranscodeJobsRequest |
setVideoId(String videoId) |
@NameInMap(value="EncryptConfig") public String encryptConfig
The encryption configurations. The value must be a JSON string. This parameter is required only when you use HLS encryption.
>
* You must set **CipherText** in [EncrptConfig](~~86952~~) to the AES\_128 cipher text that is obtained from the response to the [GenerateKMSDataKey](~~455051~~) operation. Otherwise, the HLS encryption fails. For more information about how to use HLS encryption, see [HLS encryption](~~68612~~).
* You must select HLS encryption for the template specified by **TemplateGroupId** no matter you use HLS encryption or Alibaba Cloud proprietary cryptography. Otherwise, the transcoded file is not encrypted.
@NameInMap(value="OverrideParams") public String overrideParams
The override parameter. The value must be a JSON string. You can use this parameter to override the image watermark, text watermark, or subtitle file specified in the transcoding template, or override the encoding format of the subtitle file. For more information about the data structure, see [OverrideParams](~~98618~~).
@NameInMap(value="PipelineId") public String pipelineId
The ID of the queue that you want to use to run the job.
@NameInMap(value="Priority") public String priority
The priority of the transcoding job in all queued jobs.
* Valid values: **1** to **10**.
* A value of **10** indicates the highest priority.
* Default value: **6**.
> This parameter takes effect only on the queued transcoding jobs. The priorities of the in-progress transcoding jobs are not affected.
@NameInMap(value="TemplateGroupId") public String templateGroupId
The ID of the transcoding template group that you want to use. To view the template group ID, perform the following operations: Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Processing** > **Transcoding Template Groups**.
@NameInMap(value="UserData") public String userData
The custom settings. The value must be a JSON string. You can configure settings such as message callbacks. For more information, see [UserData](~~86952~~).
> To use the callback configurations specified by this parameter, you must configure an HTTP callback URL and specify the types of the callback events in the ApsaraVideo VOD console. Otherwise, the callback configurations do not take effect.
@NameInMap(value="VideoId") public String videoId
The ID of the video file. You can use one of the following methods to obtain the video ID:
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
* Obtain the value of VideoId from the response to the [CreateUploadVideo](~~55407~~) operation that you call to upload the video.
* Obtain the value of VideoId from the response to the [SearchMedia](~~86044~~) operation after you upload the video.
public static SubmitTranscodeJobsRequest build(Map<String,?> map) throws Exception
Exceptionpublic SubmitTranscodeJobsRequest setEncryptConfig(String encryptConfig)
public String getEncryptConfig()
public SubmitTranscodeJobsRequest setOverrideParams(String overrideParams)
public String getOverrideParams()
public SubmitTranscodeJobsRequest setPipelineId(String pipelineId)
public String getPipelineId()
public SubmitTranscodeJobsRequest setPriority(String priority)
public String getPriority()
public SubmitTranscodeJobsRequest setTemplateGroupId(String templateGroupId)
public String getTemplateGroupId()
public SubmitTranscodeJobsRequest setUserData(String userData)
public String getUserData()
public SubmitTranscodeJobsRequest setVideoId(String videoId)
public String getVideoId()
Copyright © 2024. All rights reserved.