All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.byteplus.model.live.v20200801.CreateTranscodePresetBody Maven / Gradle / Ivy

There is a newer version: 1.1.23
Show newest version
package com.byteplus.model.live.v20200801;


import com.alibaba.fastjson.JSON;

/**
 * CreateTranscodePresetBody
 */
@lombok.Data
public final class CreateTranscodePresetBody  {

    /**
     * 

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "ALayout") private String aLayout; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AProfile") private String aProfile; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AR") private Integer aR; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AbrMode") private Integer abrMode; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AccountID") private String accountID; /** *

音频编码格式。默认格式为 acc,支持以下 3 种类型。

* *

- aac:使用 aac 编码格式;

* *

- copy:不进行转码,所有音频编码参数不生效;

* *

- opus:使用 opus 编码格式。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Acodec") private String acodec; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AdvancedParam") private String advancedParam; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AllowAudioCopy") private Integer allowAudioCopy; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AllowVideoCopy") private Integer allowVideoCopy; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "An") private Integer an; /** *

应用名称,由 1 到 30 位数字、字母、下划线及"-"和"."组成

*/ @com.alibaba.fastjson.annotation.JSONField(name = "App") private String app; /** *

宽高自适应模式开关。默认值为 0。支持的取值包括。

* *

- 0:关闭宽高自适应,按照 `Width` 和 `Height` 的取值进行拉伸;

* *

- 1:开启宽高自适应,按照 `ShortSide` 或 `LongSide` 等比缩放。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "As") private String as; /** *

音频码率,单位为 kbps

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AudioBitrate") private Integer audioBitrate; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransAb") private Integer autoTransAb; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransAl") private Integer autoTransAl; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransAr") private Integer autoTransAr; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransResolution") private Integer autoTransResolution; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransVb") private Integer autoTransVb; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "AutoTransVr") private Integer autoTransVr; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "BCM") private Integer bCM; /** *

2 个参考帧之间的最大 B 帧数。不同编码格式的取值存在差异。

* *

- H.264:取值范围为 [0,7],默认值为 3;

* *

- H.265:取值范围为 [0,1,2,3,7,15],默认值为 3;

* * * *

`BFrames` 取 0 时,表示去 B 帧。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "BFrames") private Integer bFrames; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Describe") private String describe; /** *

视频帧率,单位为 fps,取值范围为 [0,60],默认为 25fps。帧率越大,画面越流畅

*/ @com.alibaba.fastjson.annotation.JSONField(name = "FPS") private Integer fPS; /** *

IDR 帧之间的最大间隔,单位为 s,默认值为 0,取值范围为 [0,1000]

*/ @com.alibaba.fastjson.annotation.JSONField(name = "GOP") private Integer gOP; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "GopMin") private Integer gopMin; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "HVSPre") private Boolean hVSPre; /** *

视频高度。默认值为 0,取值范围为 [0,8192]。

* *

:::tip

* *

- 当 `As` 的取值为 0 时,参数生效;反之则不生效;

* *

- 当 `As` 的取值为 0 时,如果 `Width` 和 `Height` 任意取值为 0,表示保持源流尺寸。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Height") private Integer height; /** *

长边长度。默认值为 0。

* *

- `Roi` 取 false 时,取值范围为 [0,8192];

* *

- `Roi` 取 true 时,取值范围为 [0,1920]。

* *

:::tip

* *

- 当 `As` 的取值为 1 时,参数生效,反之则不生效。

* *

- 当 `As` 的取值为 1 时,如果 `LongSide` 和 `ShortSide` 同时取 0,表示保持源流尺寸。

* *

- 当 `As` 的取值为 1 时,如果同时配置 `LongSide` 和 `ShortSide` 的值,则按照 `ShortSide` 进行等比缩放。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "LongSide") private Integer longSide; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "LookAhead") private Integer lookAhead; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Modifier") private String modifier; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvBf") private Integer nvBf; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvCodec") private String nvCodec; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvGop") private Integer nvGop; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvHVSPre") private Boolean nvHVSPre; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvLookahead") private Integer nvLookahead; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvPercent") private Integer nvPercent; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvPreset") private String nvPreset; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvPriority") private Integer nvPriority; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvProfile") private String nvProfile; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvRefs") private Integer nvRefs; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "NvTempAQ") private Integer nvTempAQ; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Ocr") private Boolean ocr; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Preset") private String preset; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "PresetKind") private Integer presetKind; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "PresetType") private Integer presetType; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Qp") private Integer qp; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "RegionConfig") private String regionConfig; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Revision") private String revision; /** *

是否极智超清转码。默认值为 false。

* *

- true:极智超清;

* *

- false:标准转码。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Roi") private Boolean roi; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "SITI") private Boolean sITI; /** *

短边长度。默认值为 0。

* *

- `Roi` 取 false 时,取值范围为 [0,4096];

* *

- `Roi` 取 true 时,取值范围为 [0,1080]。

* *

:::tip

* *

- 当 `As` 的取值为 1 时,参数生效,反之则不生效。

* *

- 当 `As` 的取值为 1 时,如果 `LongSide` 和 `ShortSide` 同时取 0,表示保持源流尺寸。

* *

- 当 `As` 的取值为 1 时,如果同时配置 `LongSide` 和 `ShortSide` 的值,则按照 `ShortSide` 进行等比缩放。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "ShortSide") private Integer shortSide; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Status") private Integer status; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "StopInterval") private Integer stopInterval; /** *

转码流后缀名。支持 10 个字符以内的大小写字母、下划线与中划线,常见后缀包括:_sd、_hd、_uhd

* *

例如,配置的转码流后缀名为 _hd,则拉转码流时转码的流名为 stream-123456789_hd

*/ @com.alibaba.fastjson.annotation.JSONField(name = "SuffixName") private String suffixName; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Threads") private Integer threads; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "TranscodeStruct") private CreateTranscodePresetBodyTranscodeStruct transcodeStruct; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VBRatio") private Integer vBRatio; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VBVBufSize") private Integer vBVBufSize; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VBVMaxRate") private Integer vBVMaxRate; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VLevel") private String vLevel; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VPreset") private String vPreset; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VProfile") private String vProfile; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBBframes") private Integer vRBBframes; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBHeightNum") private Integer vRBHeightNum; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBPreset") private String vRBPreset; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBProfile") private String vRBProfile; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBSuffix") private String vRBSuffix; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBVb") private Integer vRBVb; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRBWidthNum") private Integer vRBWidthNum; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRGop") private Integer vRGop; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRGopDen") private Integer vRGopDen; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRHvspre") private String vRHvspre; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRProjection") private String vRProjection; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRRoi") private String vRRoi; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTBframes") private Integer vRTBframes; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTPreset") private String vRTPreset; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTProfile") private String vRTProfile; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTSuffix") private String vRTSuffix; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTVb") private Integer vRTVb; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRTileMod") private Integer vRTileMod; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRVr") private Integer vRVr; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VRateCtrl") private String vRateCtrl; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VbThreshold") private String vbThreshold; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Vclass") private Boolean vclass; /** *

视频编码格式

* *

- h264:使用 H.264 编码格式;

* *

- h265:使用 H.265 编码格式;

* *

- copy:不进行转码,所有视频编码参数不生效。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Vcodec") private String vcodec; /** *

域名空间名称

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Vhost") private String vhost; /** *

视频码率,单位为 bps,取值范围为 [0,30000000];默认值为 1000000;取 0 时,表示使用源流码率

*/ @com.alibaba.fastjson.annotation.JSONField(name = "VideoBitrate") private Integer videoBitrate; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Vn") private Integer vn; /** *

TODO

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Watermark") private String watermark; /** *

视频宽度。默认值为 0,取值范围为 [0,8192]。

* *

:::tip

* *

- 当 `As` 的取值为 0 时,参数生效;反之则不生效;

* *

- 当 `As` 的取值为 0 时,如果 `Width` 和 `Height` 任意取值为 0,表示保持源流尺寸。

* *

:::

*/ @com.alibaba.fastjson.annotation.JSONField(name = "Width") private Integer width; @Override public String toString() { return JSON.toJSONString(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy