com.qcloud.cos.model.ciModel.job.MediaTranscodeObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.cos.model.ciModel.job;
import java.util.ArrayList;
import java.util.List;
/**
* 媒体处理 任务转码实体 https://cloud.tencent.com/document/product/460/48234
*/
public class MediaTranscodeObject extends MediaVideoCommon {
/**
* 容器格式 例:mp4
*/
private MediaContainerObject container;
/**
* 视频信息 不传 Video,相当于删除视频信息
*/
private MediaTranscodeVideoObject video;
/**
* 音频信息
*/
private MediaAudioObject audio;
/**
* 转码配置
*/
private MediaTransConfigObject transConfig;
/**
* 时间区间
*/
private MediaTimeIntervalObject timeInterval;
/**
* 混音
*
* @return
*/
private MediaAudioMixObject audioMix;
private List audioMixArray;
public MediaContainerObject getContainer() {
if (container == null) {
container = new MediaContainerObject();
}
return container;
}
public void setContainer(MediaContainerObject container) {
this.container = container;
}
public MediaTranscodeVideoObject getVideo() {
if (video == null) {
video = new MediaTranscodeVideoObject();
}
return video;
}
public void setVideo(MediaTranscodeVideoObject video) {
this.video = video;
}
public MediaAudioObject getAudio() {
if (audio == null) {
audio = new MediaAudioObject();
}
return audio;
}
public void setAudio(MediaAudioObject audio) {
this.audio = audio;
}
public MediaTransConfigObject getTransConfig() {
if (transConfig == null) {
transConfig = new MediaTransConfigObject();
}
return transConfig;
}
public void setTransConfig(MediaTransConfigObject transConfig) {
this.transConfig = transConfig;
}
public MediaTimeIntervalObject getTimeInterval() {
if (timeInterval == null) {
timeInterval = new MediaTimeIntervalObject();
}
return timeInterval;
}
public void setTimeInterval(MediaTimeIntervalObject timeInterval) {
this.timeInterval = timeInterval;
}
public MediaAudioMixObject getAudioMix() {
if (audioMix == null) {
audioMix = new MediaAudioMixObject();
}
return audioMix;
}
public void setAudioMix(MediaAudioMixObject audioMix) {
this.audioMix = audioMix;
}
public List getAudioMixArray() {
if (audioMixArray == null) {
audioMixArray = new ArrayList<>();
}
return audioMixArray;
}
public void setAudioMixArray(List audioMixArray) {
this.audioMixArray = audioMixArray;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("MediaTranscodeObject{");
sb.append("container=").append(container);
sb.append(", video=").append(video);
sb.append(", audio=").append(audio);
sb.append(", transConfig=").append(transConfig);
sb.append(", timeInterval=").append(timeInterval);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy