Class MediaTranscodeItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.MediaTranscodeItem
-
public class MediaTranscodeItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MediaTranscodeItem()
MediaTranscodeItem(MediaTranscodeItem 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 MediaAudioStreamItem[]
getAudioStreamSet()
Get 音频流信息。Long
getBitrate()
Get 视频流码率平均值与音频流码率平均值之和, 单位:bps。String
getContainer()
Get 容器类型,例如 m4a,mp4 等。Long
getDefinition()
Get 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。Float
getDuration()
Get 视频时长,单位:秒。Long
getHeight()
Get 视频流高度的最大值,单位:px。String
getMd5()
Get 视频的 md5 值。TaskOutputStorage
getOutputStorage()
Get 转码后文件的目标存储。String
getPath()
Get 转码后的视频文件路径。Long
getSize()
Get 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。MediaVideoStreamItem[]
getVideoStreamSet()
Get 视频流信息。Long
getWidth()
Get 视频流宽度的最大值,单位:px。void
setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)
Set 音频流信息。void
setBitrate(Long Bitrate)
Set 视频流码率平均值与音频流码率平均值之和, 单位:bps。void
setContainer(String Container)
Set 容器类型,例如 m4a,mp4 等。void
setDefinition(Long Definition)
Set 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。void
setDuration(Float Duration)
Set 视频时长,单位:秒。void
setHeight(Long Height)
Set 视频流高度的最大值,单位:px。void
setMd5(String Md5)
Set 视频的 md5 值。void
setOutputStorage(TaskOutputStorage OutputStorage)
Set 转码后文件的目标存储。void
setPath(String Path)
Set 转码后的视频文件路径。void
setSize(Long Size)
Set 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。void
setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)
Set 视频流信息。void
setWidth(Long Width)
Set 视频流宽度的最大值,单位:px。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
-
MediaTranscodeItem
public MediaTranscodeItem()
-
MediaTranscodeItem
public MediaTranscodeItem(MediaTranscodeItem 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
-
getOutputStorage
public TaskOutputStorage getOutputStorage()
Get 转码后文件的目标存储。- Returns:
- OutputStorage 转码后文件的目标存储。
-
setOutputStorage
public void setOutputStorage(TaskOutputStorage OutputStorage)
Set 转码后文件的目标存储。- Parameters:
OutputStorage
- 转码后文件的目标存储。
-
getPath
public String getPath()
Get 转码后的视频文件路径。- Returns:
- Path 转码后的视频文件路径。
-
setPath
public void setPath(String Path)
Set 转码后的视频文件路径。- Parameters:
Path
- 转码后的视频文件路径。
-
getDefinition
public Long getDefinition()
Get 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。- Returns:
- Definition 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。
-
setDefinition
public void setDefinition(Long Definition)
Set 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。- Parameters:
Definition
- 转码规格 ID,参见[转码参数模板](https://cloud.tencent.com/document/product/862/37042)。
-
getBitrate
public Long getBitrate()
Get 视频流码率平均值与音频流码率平均值之和, 单位:bps。- Returns:
- Bitrate 视频流码率平均值与音频流码率平均值之和, 单位:bps。
-
setBitrate
public void setBitrate(Long Bitrate)
Set 视频流码率平均值与音频流码率平均值之和, 单位:bps。- Parameters:
Bitrate
- 视频流码率平均值与音频流码率平均值之和, 单位:bps。
-
getHeight
public Long getHeight()
Get 视频流高度的最大值,单位:px。- Returns:
- Height 视频流高度的最大值,单位:px。
-
setHeight
public void setHeight(Long Height)
Set 视频流高度的最大值,单位:px。- Parameters:
Height
- 视频流高度的最大值,单位:px。
-
getWidth
public Long getWidth()
Get 视频流宽度的最大值,单位:px。- Returns:
- Width 视频流宽度的最大值,单位:px。
-
setWidth
public void setWidth(Long Width)
Set 视频流宽度的最大值,单位:px。- Parameters:
Width
- 视频流宽度的最大值,单位:px。
-
getSize
public Long getSize()
Get 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。- Returns:
- Size 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。
-
setSize
public void setSize(Long Size)
Set 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。- Parameters:
Size
- 媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。
-
getDuration
public Float getDuration()
Get 视频时长,单位:秒。- Returns:
- Duration 视频时长,单位:秒。
-
setDuration
public void setDuration(Float Duration)
Set 视频时长,单位:秒。- Parameters:
Duration
- 视频时长,单位:秒。
-
getContainer
public String getContainer()
Get 容器类型,例如 m4a,mp4 等。- Returns:
- Container 容器类型,例如 m4a,mp4 等。
-
setContainer
public void setContainer(String Container)
Set 容器类型,例如 m4a,mp4 等。- Parameters:
Container
- 容器类型,例如 m4a,mp4 等。
-
getMd5
public String getMd5()
Get 视频的 md5 值。- Returns:
- Md5 视频的 md5 值。
-
setMd5
public void setMd5(String Md5)
Set 视频的 md5 值。- Parameters:
Md5
- 视频的 md5 值。
-
getAudioStreamSet
public MediaAudioStreamItem[] getAudioStreamSet()
Get 音频流信息。- Returns:
- AudioStreamSet 音频流信息。
-
setAudioStreamSet
public void setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)
Set 音频流信息。- Parameters:
AudioStreamSet
- 音频流信息。
-
getVideoStreamSet
public MediaVideoStreamItem[] getVideoStreamSet()
Get 视频流信息。- Returns:
- VideoStreamSet 视频流信息。
-
setVideoStreamSet
public void setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)
Set 视频流信息。- Parameters:
VideoStreamSet
- 视频流信息。
-
-