public class MediaTranscodeItem extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
MediaAudioStreamItem[] |
getAudioStreamSet()
Get Audio stream information.
|
Long |
getBitrate()
Get Sum of the average bitrate of a video stream and that of an audio stream in bps.
|
String |
getContainer()
Get Container, such as m4a and mp4.
|
Long |
getDefinition()
Get Transcoding specification ID.
|
Float |
getDuration()
Get Video duration in seconds.
|
Long |
getHeight()
Get Maximum value of the height of a video stream in px.
|
String |
getMd5()
Get MD5 value of video.
|
Long |
getSize()
Get Total size of a media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
|
String |
getUrl()
Get Address of output video file.
|
MediaVideoStreamItem[] |
getVideoStreamSet()
Get Video stream information.
|
Long |
getWidth()
Get Maximum value of the width of a video stream in px.
|
void |
setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)
Set Audio stream information.
|
void |
setBitrate(Long Bitrate)
Set Sum of the average bitrate of a video stream and that of an audio stream in bps.
|
void |
setContainer(String Container)
Set Container, such as m4a and mp4.
|
void |
setDefinition(Long Definition)
Set Transcoding specification ID.
|
void |
setDuration(Float Duration)
Set Video duration in seconds.
|
void |
setHeight(Long Height)
Set Maximum value of the height of a video stream in px.
|
void |
setMd5(String Md5)
Set MD5 value of video.
|
void |
setSize(Long Size)
Set Total size of a media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
|
void |
setUrl(String Url)
Set Address of output video file.
|
void |
setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)
Set Video stream information.
|
void |
setWidth(Long Width)
Set Maximum value of the width of a video stream in px.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MediaTranscodeItem()
public MediaTranscodeItem(MediaTranscodeItem source)
public String getUrl()
public void setUrl(String Url)
Url
- Address of output video file.
Note: this field may return null, indicating that no valid values can be obtained.public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Transcoding specification ID. For more information, please see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33478?from_cn_redirect=1#.E8.BD.AC.E7.A0.81.E6.A8.A1.E6.9D.BF).
Note: this field may return null, indicating that no valid values can be obtained.public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate
- Sum of the average bitrate of a video stream and that of an audio stream in bps.
Note: this field may return null, indicating that no valid values can be obtained.public Long getHeight()
public void setHeight(Long Height)
Height
- Maximum value of the height of a video stream in px.
Note: this field may return null, indicating that no valid values can be obtained.public Long getWidth()
public void setWidth(Long Width)
Width
- Maximum value of the width of a video stream in px.
Note: this field may return null, indicating that no valid values can be obtained.public Long getSize()
public void setSize(Long Size)
Size
- Total size of a media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
Note: this field may return null, indicating that no valid values can be obtained.public Float getDuration()
public void setDuration(Float Duration)
Duration
- Video duration in seconds.
Note: this field may return null, indicating that no valid values can be obtained.public String getContainer()
public void setContainer(String Container)
Container
- Container, such as m4a and mp4.
Note: this field may return null, indicating that no valid values can be obtained.public String getMd5()
public void setMd5(String Md5)
Md5
- MD5 value of video.
Note: this field may return null, indicating that no valid values can be obtained.public MediaAudioStreamItem[] getAudioStreamSet()
public void setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)
AudioStreamSet
- Audio stream information.
Note: this field may return null, indicating that no valid values can be obtained.public MediaVideoStreamItem[] getVideoStreamSet()
public void setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)
VideoStreamSet
- Video stream information.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.