public static final class GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder extends Object
构造器和说明 |
---|
Builder() |
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder audio(String audio)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder clip(String clip)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder container(String container)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder copyrightMark(String copyrightMark)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder definition(String definition)
* **LD**: low definition. * **SD**: standard definition. * **HD**: high definition. * **FHD**: ultra high definition. * **OD**: original quality. * **2K** * **4K** * **SQ**: standard sound quality. * **HQ**: high sound quality. Valid values for the definition of a Narrowband HD™ 1.0 transcoding template: * **LD-NBV1**: low definition. * **SD-NBV1**: standard definition. * **HD-NBV1**: high definition. * **FHD-NBV1**: ultra high definition. * **2K-NBV1** * **4K-NBV1** > * You cannot change the definition of a transcoding template. >* You cannot modify the system parameters, such as the video resolution, audio resolution, and bitrate, of Narrowband HD™ 1.0 transcoding templates. >* You can create only Narrowband HD™ 1.0 transcoding templates that support the FLV, M3U8 (HLS), and MP4 output formats.
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder encryptSetting(String encryptSetting)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder muxConfig(String muxConfig)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder packageSetting(String packageSetting)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder rotate(String rotate)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder subtitleList(String subtitleList)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder templateName(String templateName)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder traceMark(String traceMark)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder transConfig(String transConfig)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder transcodeFileRegular(String transcodeFileRegular)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder transcodeTemplateId(String transcodeTemplateId)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder type(String type)
* **Normal** (default): a common transcoding template. The PackageSetting parameter cannot be set for this type of template. * **VideoPackage**: a video stream package template. If this type of template is used, ApsaraVideo VOD transcodes a video into video streams in different bitrates and packages these video streams with a file. The PackageSetting parameter must be set for this type of template. * **SubtitlePackage**: a subtitle package template. If this type of template is used, ApsaraVideo VOD adds the subtitle information to the output file generated by packaging the multi-bitrate video streams of the corresponding video without transcoding. You must set the PackageSetting parameter for a subtitle package template and associate the subtitle package template with a video stream package template. A template group can contain only one subtitle package template.
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder video(String video)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList.Builder watermarkIds(List<String> watermarkIds)
public GetTranscodeTemplateGroupResponseBody.TranscodeTemplateList build()
Copyright © 2024. All rights reserved.