|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.media.MediaClient
public class MediaClient
Client for accessing Media Transcoder Services. All service calls made using this client are blocking, and will not return until the service call completes. Created by xuchuan on 2015/4/20.
Field Summary |
---|
Fields inherited from class com.baidubce.AbstractBceClient |
---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
Constructor Summary | |
---|---|
MediaClient()
Constructs a new Media client to invoke service methods on Media Transcoder. |
|
MediaClient(BceClientConfiguration clientConfiguration)
Constructs a new client using the client configuration to access Media Transcoder services. |
Method Summary | |
---|---|
CreateJobResponse |
createJob(CreateJobRequest request)
Deprecated. As of release 0.8.5, replaced by createTranscodingJob(CreateTranscodingJobRequest) } |
CreateJobResponse |
createJob(String pipelineName,
String sourceKey,
String targetKey,
String presetName)
Deprecated. As of release 0.8.5, replaced by createTranscodingJob(String, String, String, String) |
CreatePipelineResponse |
createPipeline(CreatePipelineRequest request)
Creates a pipeline which enable you to perform multiple transcodes in parallel. |
CreatePipelineResponse |
createPipeline(String pipelineName,
String sourceBucket,
String targetBucket)
Creates a pipeline which enable you to perform multiple transcodes in parallel. |
CreatePipelineResponse |
createPipeline(String pipelineName,
String sourceBucket,
String targetBucket,
int capacity)
Creates a pipeline which enable you to perform multiple transcodes in parallel. |
CreatePipelineResponse |
createPipeline(String pipelineName,
String description,
String sourceBucket,
String targetBucket,
int capacity)
Creates a pipeline which enable you to perform multiple transcodes in parallel. |
CreatePipelineResponse |
createPipeline(String pipelineName,
String description,
String sourceBucket,
String targetBucket,
int capacity,
String notification)
Creates a pipeline which enable you to perform multiple transcodes in parallel. |
CreatePresetResponse |
createPreset(CreatePresetRequest request)
Create a preset which help to convert media files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String container)
Create a preset which only convert source media file to a different container format without changing the file contents. |
CreatePresetResponse |
createPreset(String presetName,
String container,
Audio audio)
Create a preset which help to convert audio files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String container,
Audio audio,
Video video)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String container,
Clip clip,
Audio audio,
Encryption encryption)
Create a preset which help to convert audio files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String container,
Clip clip,
Audio audio,
Video video,
Encryption encryption)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String container,
Clip clip,
Audio audio,
Video video,
Encryption encryption,
String watermarkId)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container)
Create a preset which only convert source media file to a different container format without changing the file contents. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
Audio audio)
Create a preset which help to convert audio files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
Audio audio,
Video video)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
boolean transmux,
Clip clip,
Audio audio,
Video video,
Encryption encryption)
Create a preset which help to convert media files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
boolean transmux,
Clip clip,
Audio audio,
Video video,
Encryption encryption,
String watermarkId)
Create a preset which help to convert media files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
boolean transmux,
Clip clip,
Audio audio,
Video video,
Encryption encryption,
Watermarks watermarks,
TransCfg transCfg,
ExtraCfg extraCfg)
Create a preset which help to convert media files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
Clip clip,
Audio audio,
Encryption encryption)
Create a preset which help to convert audio files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
Clip clip,
Audio audio,
Video video,
Encryption encryption)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreatePresetResponse |
createPreset(String presetName,
String description,
String container,
Clip clip,
Audio audio,
Video video,
Encryption encryption,
String watermarkId)
Create a preset which help to convert video files on be played in a wide range of devices. |
CreateThumbnailJobResponse |
createThumbnailJob(CreateThumbnailJobRequest request)
Creates a thumbnail job and return job ID. |
CreateThumbnailJobResponse |
createThumbnailJob(String pipelineName,
String sourceKey)
Creates a thumbnail job and return job ID. |
CreateThumbnailJobResponse |
createThumbnailJob(String pipelineName,
String sourceKey,
ThumbnailTarget target,
ThumbnailCapture capture)
Creates a thumbnail job and return job ID. |
CreateThumbnailJobResponse |
createThumbnailJob(String pipelineName,
String sourceKey,
ThumbnailTarget target,
ThumbnailCapture capture,
Area delogoArea)
Creates a thumbnail job and return job ID. |
CreateThumbnailJobResponse |
createThumbnailJob(String pipelineName,
String sourceKey,
ThumbnailTarget target,
ThumbnailCapture capture,
Area delogoArea,
Area crop)
Creates a thumbnail job and return job ID. |
CreateTranscodingJobResponse |
createTranscodingJob(CreateTranscodingJobRequest request)
Creates a new transcoder job which converts media files in BOS buckets with specified preset. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
List<SourceClip> clips,
String targetKey,
String presetName)
Creates a new transcoder job which converts media files in BOS buckets with specified preset. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
List<SourceClip> clips,
String targetKey,
String presetName,
String watermarkId)
Creates a new transcoder job which converts media files in BOS buckets with specified preset and watermarkId associated with the job. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
List<SourceClip> clips,
String targetKey,
String presetName,
String watermarkId,
Area delogoArea)
Creates a new transcoder job which converts media files in BOS buckets with specified preset, watermarkId, and delogoArea. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
List<SourceClip> clips,
String targetKey,
String presetName,
String watermarkId,
Area delogoArea,
Area crop,
List<Insert> inserts)
Creates a new transcoder job which converts media files in BOS buckets with specified preset, watermarkId, and delogoArea. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
String sourceKey,
String targetKey,
String presetName)
Creates a new transcoder job which converts media files in BOS buckets with specified preset. |
CreateTranscodingJobResponse |
createTranscodingJob(String pipelineName,
String sourceKey,
String targetKey,
String presetName,
String watermarkId,
Area delogoArea)
Creates a new transcoder job which converts media files in BOS buckets with specified preset, watermarkId, and delogoArea. |
CreateWaterMarkResponse |
createWaterMark(CreateWaterMarkRequest request)
Creates a water mark and return water mark ID |
CreateWaterMarkResponse |
createWaterMark(String bucket,
String key,
int horizontalOffsetInPixel,
int verticalOffsetInPixel)
Deprecated. |
CreateWaterMarkResponse |
createWaterMark(String bucket,
String key,
String horizontalAlignment,
String verticalAlignment)
Creates a watermark and return water mark ID. |
CreateWaterMarkResponse |
createWaterMark(String bucket,
String key,
String horizontalAlignment,
String verticalAlignment,
int horizontalOffsetInPixel,
int verticalOffsetInPixel)
Creates a watermark and return water mark ID. |
CreateWaterMarkResponse |
createWaterMark(String bucket,
String key,
String horizontalAlignment,
String verticalAlignment,
int horizontalOffsetInPixel,
int verticalOffsetInPixel,
Timeline timeline,
Integer repeated,
Boolean allowScaling)
Creates a watermark and return water mark ID. |
void |
deletePipeline(DeletePipelineRequest request)
Deletes a pipeline with the specified pipeline name. |
void |
deletePipeline(String pipelineName)
Gets a pipeline with the specified pipeline name. |
void |
deletePreset(DeletePresetRequest request)
Deletes a preset with specified name. |
void |
deletePreset(String presetName)
Deletes a preset with specified name. |
void |
deleteWaterMark(DeleteWaterMarkRequest request)
Delete a water mark. |
void |
deleteWaterMark(String watermarkId)
Delete a water mark. |
GetJobResponse |
getJob(GetJobRequest request)
Deprecated. As of release 0.8.5, replaced by getTranscodingJob(GetTranscodingJobRequest) |
GetJobResponse |
getJob(String jobId)
Deprecated. As of release 0.8.5, replaced by getTranscodingJob(String) |
GetMediaInfoOfFileResponse |
getMediaInfoOfFile(GetMediaInfoOfFileRequest request)
Retrieve the media information of an object in Bos bucket. |
GetMediaInfoOfFileResponse |
getMediaInfoOfFile(String bucket,
String key)
Retrieve the media information of an object in Bos bucket. |
GetPipelineResponse |
getPipeline(GetPipelineRequest request)
Gets a pipeline with the specified pipeline name. |
GetPipelineResponse |
getPipeline(String pipelineName)
Gets a pipeline with the specified pipeline name. |
GetPresetResponse |
getPreset(GetPresetRequest request)
Gets a preset with specified name. |
GetPresetResponse |
getPreset(String presetName)
Gets a preset with specified name. |
GetThumbnailJobResponse |
getThumbnailJob(GetThumbnailJobRequest request)
Get information of thumbnail job. |
GetThumbnailJobResponse |
getThumbnailJob(String jobId)
Get information of thumbnail job. |
GetTranscodingJobResponse |
getTranscodingJob(GetTranscodingJobRequest request)
Retrieve the status of a job. |
GetTranscodingJobResponse |
getTranscodingJob(String jobId)
Retrieve the status of a job. |
GetWaterMarkResponse |
getWaterMark(GetWaterMarkRequest request)
Get a water mark for a given water mark ID. |
GetWaterMarkResponse |
getWaterMark(String watermarkId)
Get a water mark for a given water mark ID. |
ListJobsResponse |
listJobs(ListJobsRequest request)
Deprecated. As of release 0.8.5, replaced by listTranscodingJobs(ListTranscodingJobsRequest) |
ListJobsResponse |
listJobs(String pipelineName)
Deprecated. As of release 0.8.5, replaced by listTranscodingJobs(String) |
ListPipelinesResponse |
listPipelines()
List all your pipelines. |
ListPipelinesResponse |
listPipelines(ListPipelinesRequest request)
List all your pipelines. |
ListPresetsResponse |
listPresets()
List all system and user's preset. |
ListPresetsResponse |
listPresets(ListPresetsRequest request)
List all system and user's preset. |
ListThumbnailJobsResponse |
listThumbnailJobs(ListThumbnailJobsRequest request)
List thumbnail jobs for a given pipeline. |
ListThumbnailJobsResponse |
listThumbnailJobs(String pipelineName)
List thumbnail jobs for a given pipeline. |
ListTranscodingJobsResponse |
listTranscodingJobs(ListTranscodingJobsRequest request)
List all transcoder jobs on specified pipeline. |
ListTranscodingJobsResponse |
listTranscodingJobs(String pipelineName)
List all transcoder jobs on specified pipeline. |
ListWaterMarkResponse |
listWaterMark()
List all water mark. |
ListWaterMarkResponse |
listWaterMark(ListWaterMarkRequest request)
List all water mark. |
Methods inherited from class com.baidubce.AbstractBceClient |
---|
getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MediaClient()
public MediaClient(BceClientConfiguration clientConfiguration)
clientConfiguration
- The client configuration options controlling how this client
connects to Media services (e.g. proxy settings, retry counts, etc).Method Detail |
---|
@Deprecated public CreateJobResponse createJob(String pipelineName, String sourceKey, String targetKey, String presetName)
createTranscodingJob(String, String, String, String)
pipelineName
- The name of pipeline used by this job.sourceKey
- The key of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.
@Deprecated public CreateJobResponse createJob(CreateJobRequest request)
createTranscodingJob(CreateTranscodingJobRequest)
}
request
- The request object containing all options for creating a job.
@Deprecated public ListJobsResponse listJobs(String pipelineName)
listTranscodingJobs(String)
pipelineName
- The name of a pipeline.
@Deprecated public ListJobsResponse listJobs(ListJobsRequest request)
listTranscodingJobs(ListTranscodingJobsRequest)
request
- The request object containing all options for list jobs.
@Deprecated public GetJobResponse getJob(String jobId)
getTranscodingJob(String)
jobId
- The ID of a job.
@Deprecated public GetJobResponse getJob(GetJobRequest request)
getTranscodingJob(GetTranscodingJobRequest)
request
- The request object containing all options for retrieving job status.
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, String sourceKey, String targetKey, String presetName)
pipelineName
- The name of pipeline used by this job.sourceKey
- The key of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, String sourceKey, String targetKey, String presetName, String watermarkId, Area delogoArea)
pipelineName
- The name of pipeline used by this job.sourceKey
- The key of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.watermarkId
- Single watermarkId associated with the job.delogoArea
- The delogo area (x, y, width, height).
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, List<SourceClip> clips, String targetKey, String presetName)
pipelineName
- The name of pipeline used by this job.clips
- The keys of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, List<SourceClip> clips, String targetKey, String presetName, String watermarkId)
pipelineName
- The name of pipeline used by this job.clips
- The keys of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.watermarkId
- Single watermarkId associated with the job.
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, List<SourceClip> clips, String targetKey, String presetName, String watermarkId, Area delogoArea)
pipelineName
- The name of pipeline used by this job.clips
- The keys of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.watermarkId
- Single watermarkId associated with the job.delogoArea
- The delogo area (x, y, width, height).
public CreateTranscodingJobResponse createTranscodingJob(String pipelineName, List<SourceClip> clips, String targetKey, String presetName, String watermarkId, Area delogoArea, Area crop, List<Insert> inserts)
pipelineName
- The name of pipeline used by this job.clips
- The keys of the source media file in the bucket specified in the pipeline.targetKey
- The key of the target media file in the bucket specified in the pipeline.presetName
- The name of the preset used by this job.watermarkId
- Single watermarkId associated with the job.delogoArea
- The delogo area (x, y, width, height).crop
- The crop area (x, y, width, height).inserts
- The list of Insert.
public CreateTranscodingJobResponse createTranscodingJob(CreateTranscodingJobRequest request)
request
- The request object containing all options for creating a job.
public ListTranscodingJobsResponse listTranscodingJobs(String pipelineName)
pipelineName
- The name of a pipeline.
public ListTranscodingJobsResponse listTranscodingJobs(ListTranscodingJobsRequest request)
request
- The request object containing all options for list jobs.
public GetTranscodingJobResponse getTranscodingJob(String jobId)
jobId
- The ID of a job.
public GetTranscodingJobResponse getTranscodingJob(GetTranscodingJobRequest request)
request
- The request object containing all options for retrieving job status.
public CreatePipelineResponse createPipeline(String pipelineName, String sourceBucket, String targetBucket, int capacity)
pipelineName
- The name of the new pipeline.sourceBucket
- The name of source bucket in Bos.targetBucket
- The name of target bucket in Bos.capacity
- The concurrent capability of the new pipeline.public CreatePipelineResponse createPipeline(String pipelineName, String sourceBucket, String targetBucket)
pipelineName
- The name of the new pipeline.sourceBucket
- The name of source bucket in Bos.targetBucket
- The name of target bucket in Bos.public CreatePipelineResponse createPipeline(String pipelineName, String description, String sourceBucket, String targetBucket, int capacity)
pipelineName
- The name of new pipeline.description
- The optional description of the new pipeline.sourceBucket
- The name of source bucket in Bos.targetBucket
- The name of target bucket in Bos.capacity
- The concurrent capability of the new pipeline.public CreatePipelineResponse createPipeline(String pipelineName, String description, String sourceBucket, String targetBucket, int capacity, String notification)
pipelineName
- The name of new pipeline.description
- The optional description of the new pipeline.sourceBucket
- The name of source bucket in Bos.targetBucket
- The name of target bucket in Bos.capacity
- The concurrent capability of the new pipeline.notification
- The name of notificationpublic CreatePipelineResponse createPipeline(CreatePipelineRequest request)
request
- The request object containing all options for creating new pipeline.public ListPipelinesResponse listPipelines()
public ListPipelinesResponse listPipelines(ListPipelinesRequest request)
request
- The request object containing all options for listing all pipelines.
public GetPipelineResponse getPipeline(String pipelineName)
pipelineName
- The name of your pipeline.
public GetPipelineResponse getPipeline(GetPipelineRequest request)
request
- The request object containing all options for getting a pipelines.
public void deletePipeline(String pipelineName)
pipelineName
- The name of your pipeline.public void deletePipeline(DeletePipelineRequest request)
request
- The request object containing all options for deleting a pipelines.public CreatePresetResponse createPreset(String presetName, String container, Audio audio)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.audio
- Specify the audio format of target file.public CreatePresetResponse createPreset(String presetName, String description, String container, Audio audio)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.audio
- Specify the audio format of target file.public CreatePresetResponse createPreset(String presetName, String container, Clip clip, Audio audio, Encryption encryption)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.encryption
- Specify the encryption property of target file.public CreatePresetResponse createPreset(String presetName, String description, String container, Clip clip, Audio audio, Encryption encryption)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.encryption
- Specify the encryption property of target file.public CreatePresetResponse createPreset(String presetName, String container, Audio audio, Video video)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.audio
- Specify the audio format of target file.video
- Specify the video format of target file.public CreatePresetResponse createPreset(String presetName, String description, String container, Audio audio, Video video)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.audio
- Specify the audio format of target file.video
- Specify the video format of target file.public CreatePresetResponse createPreset(String presetName, String container, Clip clip, Audio audio, Video video, Encryption encryption)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.public CreatePresetResponse createPreset(String presetName, String description, String container, Clip clip, Audio audio, Video video, Encryption encryption)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.public CreatePresetResponse createPreset(String presetName, String container, Clip clip, Audio audio, Video video, Encryption encryption, String watermarkId)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.watermarkId
- Specify the watermarkId.public CreatePresetResponse createPreset(String presetName, String description, String container, Clip clip, Audio audio, Video video, Encryption encryption, String watermarkId)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.watermarkId
- Specify the watermarkId.public CreatePresetResponse createPreset(String presetName, String container)
presetName
- The name of the new preset.container
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.public CreatePresetResponse createPreset(String presetName, String description, String container)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.public CreatePresetResponse createPreset(String presetName, String description, String container, boolean transmux, Clip clip, Audio audio, Video video, Encryption encryption)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.transmux
- If true, means only convert source media file to a different container format without changing
the file contents.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.public CreatePresetResponse createPreset(String presetName, String description, String container, boolean transmux, Clip clip, Audio audio, Video video, Encryption encryption, String watermarkId)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.transmux
- If true, means only convert source media file to a different container format without changing
the file contents.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.watermarkId
- Specify the watermarkId.public CreatePresetResponse createPreset(String presetName, String description, String container, boolean transmux, Clip clip, Audio audio, Video video, Encryption encryption, Watermarks watermarks, TransCfg transCfg, ExtraCfg extraCfg)
presetName
- The name of the new preset.description
- The description of the new presetcontainer
- The container type for the output file. Valid values include mp4, flv, hls, mp3, m4a.transmux
- If true, means only convert source media file to a different container format without changing
the file contents.clip
- The clip property of the preset.audio
- Specify the audio format of target file.video
- Specify the video format of target file.encryption
- Specify the encryption property of target file.watermarks
- Specify the watermarks.transCfg
- Specify the transcoding configuration.extraCfg
- Specify the extra configuration.public CreatePresetResponse createPreset(CreatePresetRequest request)
request
- The request object containing all options for deleting presets.public ListPresetsResponse listPresets()
public ListPresetsResponse listPresets(ListPresetsRequest request)
request
- The request object containing all options for listing presets.
public GetPresetResponse getPreset(String presetName)
presetName
- The name of a preset.
public GetPresetResponse getPreset(GetPresetRequest request)
request
- The request object containing all options for getting a preset.
public void deletePreset(String presetName)
presetName
- The name of a preset.public void deletePreset(DeletePresetRequest request)
request
- The request object containing all options for deleting a preset.public GetMediaInfoOfFileResponse getMediaInfoOfFile(String bucket, String key)
bucket
- The bucket name of Bos object which you want to read.key
- The key name of Bos object which your want to read.
public GetMediaInfoOfFileResponse getMediaInfoOfFile(GetMediaInfoOfFileRequest request)
request
- The request object containing all options for retrieving media information.
@Deprecated public CreateWaterMarkResponse createWaterMark(String bucket, String key, int horizontalOffsetInPixel, int verticalOffsetInPixel)
bucket
- The bucket name of Bos object which you want to read.key
- The key name of Bos object which your want to read.horizontalOffsetInPixel
- The horizontal offset in pixels.verticalOffsetInPixel
- The vertical offset in pixels.
public CreateWaterMarkResponse createWaterMark(String bucket, String key, String horizontalAlignment, String verticalAlignment)
bucket
- The bucket name of Bos object which you want to read.key
- The key name of Bos object which your want to read.horizontalAlignment
- The horizontal alignment, includes left, center, right.verticalAlignment
- The vertical alignment, includes top, center, bottom.
public CreateWaterMarkResponse createWaterMark(String bucket, String key, String horizontalAlignment, String verticalAlignment, int horizontalOffsetInPixel, int verticalOffsetInPixel)
bucket
- The bucket name of Bos object which you want to read.key
- The key name of Bos object which your want to read.horizontalAlignment
- The horizontal alignment, includes left, center, right.verticalAlignment
- The vertical alignment, includes top, center, bottom.horizontalOffsetInPixel
- The horizontal offset in pixels.verticalOffsetInPixel
- The vertical offset in pixels.
public CreateWaterMarkResponse createWaterMark(String bucket, String key, String horizontalAlignment, String verticalAlignment, int horizontalOffsetInPixel, int verticalOffsetInPixel, Timeline timeline, Integer repeated, Boolean allowScaling)
bucket
- The bucket name of Bos object which you want to read.key
- The key name of Bos object which your want to read.horizontalAlignment
- The horizontal alignment, includes left, center, right.verticalAlignment
- The vertical alignment, includes top, center, bottom.horizontalOffsetInPixel
- The horizontal offset in pixels.verticalOffsetInPixel
- The vertical offset in pixels.timeline
- The vertical offset in pixels.repeated
- The vertical offset in pixels.allowScaling
- The vertical offset in pixels.
public CreateWaterMarkResponse createWaterMark(CreateWaterMarkRequest request)
request
- The request object containing all options for creating new water mark.
public GetWaterMarkResponse getWaterMark(String watermarkId)
watermarkId
- The ID of water mark.
public GetWaterMarkResponse getWaterMark(GetWaterMarkRequest request)
request
- The request object containing all options for getting water mark.
public ListWaterMarkResponse listWaterMark()
public ListWaterMarkResponse listWaterMark(ListWaterMarkRequest request)
public void deleteWaterMark(String watermarkId)
watermarkId
- The ID of water mark.public void deleteWaterMark(DeleteWaterMarkRequest request)
request
- The request object containing all options for deleting water mark.public CreateThumbnailJobResponse createThumbnailJob(String pipelineName, String sourceKey, ThumbnailTarget target, ThumbnailCapture capture)
pipelineName
- The name of a pipeline.sourceKey
- The key of source object.target
- The property container of target object.capture
- The property container of thumbnail generating policies.
public CreateThumbnailJobResponse createThumbnailJob(String pipelineName, String sourceKey, ThumbnailTarget target, ThumbnailCapture capture, Area delogoArea)
pipelineName
- The name of a pipeline.sourceKey
- The key of source object.target
- The property container of target object.capture
- The property container of thumbnail generating policies.delogoArea
- The property container of delogo Area.
public CreateThumbnailJobResponse createThumbnailJob(String pipelineName, String sourceKey, ThumbnailTarget target, ThumbnailCapture capture, Area delogoArea, Area crop)
pipelineName
- The name of a pipeline.sourceKey
- The key of source object.target
- The property container of target object.capture
- The property container of thumbnail generating policies.delogoArea
- The property container of delogo Area.crop
- The property container of crop Area.
public CreateThumbnailJobResponse createThumbnailJob(String pipelineName, String sourceKey)
pipelineName
- The name of a pipeline.sourceKey
- The key of source object.
public CreateThumbnailJobResponse createThumbnailJob(CreateThumbnailJobRequest request)
request
- The request object containing all options for creating new water mark.
public GetThumbnailJobResponse getThumbnailJob(String jobId)
jobId
- The unique ID of thumbnail job.
public GetThumbnailJobResponse getThumbnailJob(GetThumbnailJobRequest request)
request
- The request object containing all options for creating new water mark.
public ListThumbnailJobsResponse listThumbnailJobs(String pipelineName)
pipelineName
- The name of a pipeline.
public ListThumbnailJobsResponse listThumbnailJobs(ListThumbnailJobsRequest request)
request
- The request object containing all options for creating new water mark.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |