Class TranscodeTaskInput
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vod.v20180717.models.TranscodeTaskInput
-
public class TranscodeTaskInput extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description TranscodeTaskInput()
TranscodeTaskInput(TranscodeTaskInput source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyRightWatermarkInput
getCopyRightWatermark()
Get 版权水印。Long
getDefinition()
Get 视频转码模板 ID。Float
getEndTimeOffset()
Get 转码后视频的终止时间偏移,单位:秒。 不填或填0,表示转码后的视频持续到原始视频的末尾终止; 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止; 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。HeadTailTaskInput[]
getHeadTailSet()
Get 片头片尾列表,支持多片头片尾,最大可支持 10 个。MosaicInput[]
getMosaicSet()
Get 马赛克列表,最大可支持 10 张。Float
getStartTimeOffset()
Get 转码后的视频的起始时间偏移,单位:秒。 不填或填0,表示转码后的视频从原始视频的起始位置开始; 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始; 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。TraceWatermarkInput
getTraceWatermark()
Get 溯源水印。WatermarkInput[]
getWatermarkSet()
Get 水印列表,支持多张图片或文字水印,最大可支持 10 张。void
setCopyRightWatermark(CopyRightWatermarkInput CopyRightWatermark)
Set 版权水印。void
setDefinition(Long Definition)
Set 视频转码模板 ID。void
setEndTimeOffset(Float EndTimeOffset)
Set 转码后视频的终止时间偏移,单位:秒。 不填或填0,表示转码后的视频持续到原始视频的末尾终止; 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止; 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。void
setHeadTailSet(HeadTailTaskInput[] HeadTailSet)
Set 片头片尾列表,支持多片头片尾,最大可支持 10 个。void
setMosaicSet(MosaicInput[] MosaicSet)
Set 马赛克列表,最大可支持 10 张。void
setStartTimeOffset(Float StartTimeOffset)
Set 转码后的视频的起始时间偏移,单位:秒。 不填或填0,表示转码后的视频从原始视频的起始位置开始; 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始; 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。void
setTraceWatermark(TraceWatermarkInput TraceWatermark)
Set 溯源水印。void
setWatermarkSet(WatermarkInput[] WatermarkSet)
Set 水印列表,支持多张图片或文字水印,最大可支持 10 张。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TranscodeTaskInput
public TranscodeTaskInput()
-
TranscodeTaskInput
public TranscodeTaskInput(TranscodeTaskInput source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getDefinition
public Long getDefinition()
Get 视频转码模板 ID。- Returns:
- Definition 视频转码模板 ID。
-
setDefinition
public void setDefinition(Long Definition)
Set 视频转码模板 ID。- Parameters:
Definition
- 视频转码模板 ID。
-
getWatermarkSet
public WatermarkInput[] getWatermarkSet()
Get 水印列表,支持多张图片或文字水印,最大可支持 10 张。- Returns:
- WatermarkSet 水印列表,支持多张图片或文字水印,最大可支持 10 张。
-
setWatermarkSet
public void setWatermarkSet(WatermarkInput[] WatermarkSet)
Set 水印列表,支持多张图片或文字水印,最大可支持 10 张。- Parameters:
WatermarkSet
- 水印列表,支持多张图片或文字水印,最大可支持 10 张。
-
getTraceWatermark
public TraceWatermarkInput getTraceWatermark()
Get 溯源水印。- Returns:
- TraceWatermark 溯源水印。
-
setTraceWatermark
public void setTraceWatermark(TraceWatermarkInput TraceWatermark)
Set 溯源水印。- Parameters:
TraceWatermark
- 溯源水印。
-
getCopyRightWatermark
public CopyRightWatermarkInput getCopyRightWatermark()
Get 版权水印。- Returns:
- CopyRightWatermark 版权水印。
-
setCopyRightWatermark
public void setCopyRightWatermark(CopyRightWatermarkInput CopyRightWatermark)
Set 版权水印。- Parameters:
CopyRightWatermark
- 版权水印。
-
getMosaicSet
public MosaicInput[] getMosaicSet()
Get 马赛克列表,最大可支持 10 张。- Returns:
- MosaicSet 马赛克列表,最大可支持 10 张。
-
setMosaicSet
public void setMosaicSet(MosaicInput[] MosaicSet)
Set 马赛克列表,最大可支持 10 张。- Parameters:
MosaicSet
- 马赛克列表,最大可支持 10 张。
-
getHeadTailSet
public HeadTailTaskInput[] getHeadTailSet()
Get 片头片尾列表,支持多片头片尾,最大可支持 10 个。- Returns:
- HeadTailSet 片头片尾列表,支持多片头片尾,最大可支持 10 个。
-
setHeadTailSet
public void setHeadTailSet(HeadTailTaskInput[] HeadTailSet)
Set 片头片尾列表,支持多片头片尾,最大可支持 10 个。- Parameters:
HeadTailSet
- 片头片尾列表,支持多片头片尾,最大可支持 10 个。
-
getStartTimeOffset
public Float getStartTimeOffset()
Get 转码后的视频的起始时间偏移,单位:秒。- 不填或填0,表示转码后的视频从原始视频的起始位置开始;
- 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;
- 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。
- Returns:
- StartTimeOffset 转码后的视频的起始时间偏移,单位:秒。
- 不填或填0,表示转码后的视频从原始视频的起始位置开始;
- 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;
- 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。
-
setStartTimeOffset
public void setStartTimeOffset(Float StartTimeOffset)
Set 转码后的视频的起始时间偏移,单位:秒。- 不填或填0,表示转码后的视频从原始视频的起始位置开始;
- 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;
- 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。
- Parameters:
StartTimeOffset
- 转码后的视频的起始时间偏移,单位:秒。- 不填或填0,表示转码后的视频从原始视频的起始位置开始;
- 当数值大于0时(假设为 n),表示转码后的视频从原始视频的第 n 秒位置开始;
- 当数值小于0时(假设为 -n),表示转码后的视频从原始视频结束 n 秒前的位置开始。
-
getEndTimeOffset
public Float getEndTimeOffset()
Get 转码后视频的终止时间偏移,单位:秒。- 不填或填0,表示转码后的视频持续到原始视频的末尾终止;
- 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;
- 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。
- Returns:
- EndTimeOffset 转码后视频的终止时间偏移,单位:秒。
- 不填或填0,表示转码后的视频持续到原始视频的末尾终止;
- 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;
- 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。
-
setEndTimeOffset
public void setEndTimeOffset(Float EndTimeOffset)
Set 转码后视频的终止时间偏移,单位:秒。- 不填或填0,表示转码后的视频持续到原始视频的末尾终止;
- 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;
- 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。
- Parameters:
EndTimeOffset
- 转码后视频的终止时间偏移,单位:秒。- 不填或填0,表示转码后的视频持续到原始视频的末尾终止;
- 当数值大于0时(假设为 n),表示转码后的视频持续到原始视频第 n 秒时终止;
- 当数值小于0时(假设为 -n),表示转码后的视频持续到原始视频结束 n 秒前终止。
-
-