Documentation ¶
Index ¶
- func GenReqDefForCancelRemuxTask() *def.HttpRequestDef
- func GenReqDefForCreateAnimatedGraphicsTask() *def.HttpRequestDef
- func GenReqDefForCreateEncryptTask() *def.HttpRequestDef
- func GenReqDefForCreateExtractTask() *def.HttpRequestDef
- func GenReqDefForCreateMbTasksReport() *def.HttpRequestDef
- func GenReqDefForCreateMediaProcessTask() *def.HttpRequestDef
- func GenReqDefForCreateMergeChannelsTask() *def.HttpRequestDef
- func GenReqDefForCreateMpeCallBack() *def.HttpRequestDef
- func GenReqDefForCreateQualityEnhanceTemplate() *def.HttpRequestDef
- func GenReqDefForCreateRemuxTask() *def.HttpRequestDef
- func GenReqDefForCreateResetTracksTask() *def.HttpRequestDef
- func GenReqDefForCreateRetryRemuxTask() *def.HttpRequestDef
- func GenReqDefForCreateTemplateGroup() *def.HttpRequestDef
- func GenReqDefForCreateThumbnailsTask() *def.HttpRequestDef
- func GenReqDefForCreateTransTemplate() *def.HttpRequestDef
- func GenReqDefForCreateTranscodingTask() *def.HttpRequestDef
- func GenReqDefForCreateWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteAnimatedGraphicsTask() *def.HttpRequestDef
- func GenReqDefForDeleteEncryptTask() *def.HttpRequestDef
- func GenReqDefForDeleteExtractTask() *def.HttpRequestDef
- func GenReqDefForDeleteMediaProcessTask() *def.HttpRequestDef
- func GenReqDefForDeleteMergeChannelsTask() *def.HttpRequestDef
- func GenReqDefForDeleteQualityEnhanceTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteRemuxTask() *def.HttpRequestDef
- func GenReqDefForDeleteResetTracksTask() *def.HttpRequestDef
- func GenReqDefForDeleteTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteTemplateGroup() *def.HttpRequestDef
- func GenReqDefForDeleteThumbnailsTask() *def.HttpRequestDef
- func GenReqDefForDeleteTranscodingTask() *def.HttpRequestDef
- func GenReqDefForDeleteWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForListAnimatedGraphicsTask() *def.HttpRequestDef
- func GenReqDefForListEncryptTask() *def.HttpRequestDef
- func GenReqDefForListExtractTask() *def.HttpRequestDef
- func GenReqDefForListMediaProcessTask() *def.HttpRequestDef
- func GenReqDefForListMergeChannelsTask() *def.HttpRequestDef
- func GenReqDefForListQualityEnhanceDefaultTemplate() *def.HttpRequestDef
- func GenReqDefForListRemuxTask() *def.HttpRequestDef
- func GenReqDefForListResetTracksTask() *def.HttpRequestDef
- func GenReqDefForListTemplate() *def.HttpRequestDef
- func GenReqDefForListTemplateGroup() *def.HttpRequestDef
- func GenReqDefForListThumbnailsTask() *def.HttpRequestDef
- func GenReqDefForListTranscodeDetail() *def.HttpRequestDef
- func GenReqDefForListTranscodingTask() *def.HttpRequestDef
- func GenReqDefForListWatermarkTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateQualityEnhanceTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateTemplateGroup() *def.HttpRequestDef
- func GenReqDefForUpdateTransTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateWatermarkTemplate() *def.HttpRequestDef
- func MpcClientBuilder() *http_client.HcHttpClientBuilder
- type MpcClient
- func (c *MpcClient) CancelRemuxTask(request *model.CancelRemuxTaskRequest) (*model.CancelRemuxTaskResponse, error)
- func (c *MpcClient) CreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) (*model.CreateAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) CreateEncryptTask(request *model.CreateEncryptTaskRequest) (*model.CreateEncryptTaskResponse, error)
- func (c *MpcClient) CreateExtractTask(request *model.CreateExtractTaskRequest) (*model.CreateExtractTaskResponse, error)
- func (c *MpcClient) CreateMbTasksReport(request *model.CreateMbTasksReportRequest) (*model.CreateMbTasksReportResponse, error)
- func (c *MpcClient) CreateMediaProcessTask(request *model.CreateMediaProcessTaskRequest) (*model.CreateMediaProcessTaskResponse, error)
- func (c *MpcClient) CreateMergeChannelsTask(request *model.CreateMergeChannelsTaskRequest) (*model.CreateMergeChannelsTaskResponse, error)
- func (c *MpcClient) CreateMpeCallBack(request *model.CreateMpeCallBackRequest) (*model.CreateMpeCallBackResponse, error)
- func (c *MpcClient) CreateQualityEnhanceTemplate(request *model.CreateQualityEnhanceTemplateRequest) (*model.CreateQualityEnhanceTemplateResponse, error)
- func (c *MpcClient) CreateRemuxTask(request *model.CreateRemuxTaskRequest) (*model.CreateRemuxTaskResponse, error)
- func (c *MpcClient) CreateResetTracksTask(request *model.CreateResetTracksTaskRequest) (*model.CreateResetTracksTaskResponse, error)
- func (c *MpcClient) CreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) (*model.CreateRetryRemuxTaskResponse, error)
- func (c *MpcClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
- func (c *MpcClient) CreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) (*model.CreateThumbnailsTaskResponse, error)
- func (c *MpcClient) CreateTransTemplate(request *model.CreateTransTemplateRequest) (*model.CreateTransTemplateResponse, error)
- func (c *MpcClient) CreateTranscodingTask(request *model.CreateTranscodingTaskRequest) (*model.CreateTranscodingTaskResponse, error)
- func (c *MpcClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
- func (c *MpcClient) DeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) (*model.DeleteAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) DeleteEncryptTask(request *model.DeleteEncryptTaskRequest) (*model.DeleteEncryptTaskResponse, error)
- func (c *MpcClient) DeleteExtractTask(request *model.DeleteExtractTaskRequest) (*model.DeleteExtractTaskResponse, error)
- func (c *MpcClient) DeleteMediaProcessTask(request *model.DeleteMediaProcessTaskRequest) (*model.DeleteMediaProcessTaskResponse, error)
- func (c *MpcClient) DeleteMergeChannelsTask(request *model.DeleteMergeChannelsTaskRequest) (*model.DeleteMergeChannelsTaskResponse, error)
- func (c *MpcClient) DeleteQualityEnhanceTemplate(request *model.DeleteQualityEnhanceTemplateRequest) (*model.DeleteQualityEnhanceTemplateResponse, error)
- func (c *MpcClient) DeleteRemuxTask(request *model.DeleteRemuxTaskRequest) (*model.DeleteRemuxTaskResponse, error)
- func (c *MpcClient) DeleteResetTracksTask(request *model.DeleteResetTracksTaskRequest) (*model.DeleteResetTracksTaskResponse, error)
- func (c *MpcClient) DeleteTemplate(request *model.DeleteTemplateRequest) (*model.DeleteTemplateResponse, error)
- func (c *MpcClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
- func (c *MpcClient) DeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) (*model.DeleteThumbnailsTaskResponse, error)
- func (c *MpcClient) DeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) (*model.DeleteTranscodingTaskResponse, error)
- func (c *MpcClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
- func (c *MpcClient) ListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) (*model.ListAnimatedGraphicsTaskResponse, error)
- func (c *MpcClient) ListEncryptTask(request *model.ListEncryptTaskRequest) (*model.ListEncryptTaskResponse, error)
- func (c *MpcClient) ListExtractTask(request *model.ListExtractTaskRequest) (*model.ListExtractTaskResponse, error)
- func (c *MpcClient) ListMediaProcessTask(request *model.ListMediaProcessTaskRequest) (*model.ListMediaProcessTaskResponse, error)
- func (c *MpcClient) ListMergeChannelsTask(request *model.ListMergeChannelsTaskRequest) (*model.ListMergeChannelsTaskResponse, error)
- func (c *MpcClient) ListQualityEnhanceDefaultTemplate(request *model.ListQualityEnhanceDefaultTemplateRequest) (*model.ListQualityEnhanceDefaultTemplateResponse, error)
- func (c *MpcClient) ListRemuxTask(request *model.ListRemuxTaskRequest) (*model.ListRemuxTaskResponse, error)
- func (c *MpcClient) ListResetTracksTask(request *model.ListResetTracksTaskRequest) (*model.ListResetTracksTaskResponse, error)
- func (c *MpcClient) ListTemplate(request *model.ListTemplateRequest) (*model.ListTemplateResponse, error)
- func (c *MpcClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
- func (c *MpcClient) ListThumbnailsTask(request *model.ListThumbnailsTaskRequest) (*model.ListThumbnailsTaskResponse, error)
- func (c *MpcClient) ListTranscodeDetail(request *model.ListTranscodeDetailRequest) (*model.ListTranscodeDetailResponse, error)
- func (c *MpcClient) ListTranscodingTask(request *model.ListTranscodingTaskRequest) (*model.ListTranscodingTaskResponse, error)
- func (c *MpcClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
- func (c *MpcClient) UpdateQualityEnhanceTemplate(request *model.UpdateQualityEnhanceTemplateRequest) (*model.UpdateQualityEnhanceTemplateResponse, error)
- func (c *MpcClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
- func (c *MpcClient) UpdateTransTemplate(request *model.UpdateTransTemplateRequest) (*model.UpdateTransTemplateResponse, error)
- func (c *MpcClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForCancelRemuxTask ¶
func GenReqDefForCancelRemuxTask() *def.HttpRequestDef
func GenReqDefForCreateAnimatedGraphicsTask ¶
func GenReqDefForCreateAnimatedGraphicsTask() *def.HttpRequestDef
func GenReqDefForCreateEncryptTask ¶
func GenReqDefForCreateEncryptTask() *def.HttpRequestDef
func GenReqDefForCreateExtractTask ¶
func GenReqDefForCreateExtractTask() *def.HttpRequestDef
func GenReqDefForCreateMbTasksReport ¶
func GenReqDefForCreateMbTasksReport() *def.HttpRequestDef
func GenReqDefForCreateMediaProcessTask ¶
func GenReqDefForCreateMediaProcessTask() *def.HttpRequestDef
func GenReqDefForCreateMergeChannelsTask ¶
func GenReqDefForCreateMergeChannelsTask() *def.HttpRequestDef
func GenReqDefForCreateMpeCallBack ¶
func GenReqDefForCreateMpeCallBack() *def.HttpRequestDef
func GenReqDefForCreateQualityEnhanceTemplate ¶
func GenReqDefForCreateQualityEnhanceTemplate() *def.HttpRequestDef
func GenReqDefForCreateRemuxTask ¶
func GenReqDefForCreateRemuxTask() *def.HttpRequestDef
func GenReqDefForCreateResetTracksTask ¶
func GenReqDefForCreateResetTracksTask() *def.HttpRequestDef
func GenReqDefForCreateRetryRemuxTask ¶
func GenReqDefForCreateRetryRemuxTask() *def.HttpRequestDef
func GenReqDefForCreateTemplateGroup ¶
func GenReqDefForCreateTemplateGroup() *def.HttpRequestDef
func GenReqDefForCreateThumbnailsTask ¶
func GenReqDefForCreateThumbnailsTask() *def.HttpRequestDef
func GenReqDefForCreateTransTemplate ¶
func GenReqDefForCreateTransTemplate() *def.HttpRequestDef
func GenReqDefForCreateTranscodingTask ¶
func GenReqDefForCreateTranscodingTask() *def.HttpRequestDef
func GenReqDefForCreateWatermarkTemplate ¶
func GenReqDefForCreateWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForDeleteAnimatedGraphicsTask ¶
func GenReqDefForDeleteAnimatedGraphicsTask() *def.HttpRequestDef
func GenReqDefForDeleteEncryptTask ¶
func GenReqDefForDeleteEncryptTask() *def.HttpRequestDef
func GenReqDefForDeleteExtractTask ¶
func GenReqDefForDeleteExtractTask() *def.HttpRequestDef
func GenReqDefForDeleteMediaProcessTask ¶
func GenReqDefForDeleteMediaProcessTask() *def.HttpRequestDef
func GenReqDefForDeleteMergeChannelsTask ¶
func GenReqDefForDeleteMergeChannelsTask() *def.HttpRequestDef
func GenReqDefForDeleteQualityEnhanceTemplate ¶
func GenReqDefForDeleteQualityEnhanceTemplate() *def.HttpRequestDef
func GenReqDefForDeleteRemuxTask ¶
func GenReqDefForDeleteRemuxTask() *def.HttpRequestDef
func GenReqDefForDeleteResetTracksTask ¶
func GenReqDefForDeleteResetTracksTask() *def.HttpRequestDef
func GenReqDefForDeleteTemplate ¶
func GenReqDefForDeleteTemplate() *def.HttpRequestDef
func GenReqDefForDeleteTemplateGroup ¶
func GenReqDefForDeleteTemplateGroup() *def.HttpRequestDef
func GenReqDefForDeleteThumbnailsTask ¶
func GenReqDefForDeleteThumbnailsTask() *def.HttpRequestDef
func GenReqDefForDeleteTranscodingTask ¶
func GenReqDefForDeleteTranscodingTask() *def.HttpRequestDef
func GenReqDefForDeleteWatermarkTemplate ¶
func GenReqDefForDeleteWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForListAnimatedGraphicsTask ¶
func GenReqDefForListAnimatedGraphicsTask() *def.HttpRequestDef
func GenReqDefForListEncryptTask ¶
func GenReqDefForListEncryptTask() *def.HttpRequestDef
func GenReqDefForListExtractTask ¶
func GenReqDefForListExtractTask() *def.HttpRequestDef
func GenReqDefForListMediaProcessTask ¶
func GenReqDefForListMediaProcessTask() *def.HttpRequestDef
func GenReqDefForListMergeChannelsTask ¶
func GenReqDefForListMergeChannelsTask() *def.HttpRequestDef
func GenReqDefForListQualityEnhanceDefaultTemplate ¶
func GenReqDefForListQualityEnhanceDefaultTemplate() *def.HttpRequestDef
func GenReqDefForListRemuxTask ¶
func GenReqDefForListRemuxTask() *def.HttpRequestDef
func GenReqDefForListResetTracksTask ¶
func GenReqDefForListResetTracksTask() *def.HttpRequestDef
func GenReqDefForListTemplate ¶
func GenReqDefForListTemplate() *def.HttpRequestDef
func GenReqDefForListTemplateGroup ¶
func GenReqDefForListTemplateGroup() *def.HttpRequestDef
func GenReqDefForListThumbnailsTask ¶
func GenReqDefForListThumbnailsTask() *def.HttpRequestDef
func GenReqDefForListTranscodeDetail ¶
func GenReqDefForListTranscodeDetail() *def.HttpRequestDef
func GenReqDefForListTranscodingTask ¶
func GenReqDefForListTranscodingTask() *def.HttpRequestDef
func GenReqDefForListWatermarkTemplate ¶
func GenReqDefForListWatermarkTemplate() *def.HttpRequestDef
func GenReqDefForUpdateQualityEnhanceTemplate ¶
func GenReqDefForUpdateQualityEnhanceTemplate() *def.HttpRequestDef
func GenReqDefForUpdateTemplateGroup ¶
func GenReqDefForUpdateTemplateGroup() *def.HttpRequestDef
func GenReqDefForUpdateTransTemplate ¶
func GenReqDefForUpdateTransTemplate() *def.HttpRequestDef
func GenReqDefForUpdateWatermarkTemplate ¶
func GenReqDefForUpdateWatermarkTemplate() *def.HttpRequestDef
func MpcClientBuilder ¶
func MpcClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type MpcClient ¶
type MpcClient struct {
HcClient *http_client.HcHttpClient
}
func NewMpcClient ¶
func NewMpcClient(hcClient *http_client.HcHttpClient) *MpcClient
func (*MpcClient) CancelRemuxTask ¶
func (c *MpcClient) CancelRemuxTask(request *model.CancelRemuxTaskRequest) (*model.CancelRemuxTaskResponse, error)
取消已下发的转封装任务,仅支持取消正在排队中的任务。。
func (*MpcClient) CreateAnimatedGraphicsTask ¶
func (c *MpcClient) CreateAnimatedGraphicsTask(request *model.CreateAnimatedGraphicsTaskRequest) (*model.CreateAnimatedGraphicsTaskResponse, error)
创建动图任务,用于将完整的视频文件或视频文件中的一部分转换为动态图文件,暂只支持输出GIF文件。 待转动图的视频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateEncryptTask ¶
func (c *MpcClient) CreateEncryptTask(request *model.CreateEncryptTaskRequest) (*model.CreateEncryptTaskResponse, error)
支持独立加密,包括创建、查询、删除独立加密任务。 约束: - 只支持转码后的文件进行加密。 - 加密的文件必须是m3u8或者mpd结尾的文件。
func (*MpcClient) CreateExtractTask ¶
func (c *MpcClient) CreateExtractTask(request *model.CreateExtractTaskRequest) (*model.CreateExtractTaskResponse, error)
创建视频解析任务,解析视频元数据。
func (*MpcClient) CreateMbTasksReport ¶
func (c *MpcClient) CreateMbTasksReport(request *model.CreateMbTasksReportRequest) (*model.CreateMbTasksReportResponse, error)
## 典型场景 ## 合并音频多声道文件任务、重置音频文件声轨任务上报结果接口。 ## 接口功能 ## 合并音频多声道文件任务、重置音频文件声轨任务上报结果接口。 ## 接口约束 ## 无。
func (*MpcClient) CreateMediaProcessTask ¶
func (c *MpcClient) CreateMediaProcessTask(request *model.CreateMediaProcessTaskRequest) (*model.CreateMediaProcessTaskResponse, error)
## 典型场景 ## 创建视频增强任务。 ## 接口功能 ## 创建视频增强任务。 ## 接口约束 ## 无。
func (*MpcClient) CreateMergeChannelsTask ¶
func (c *MpcClient) CreateMergeChannelsTask(request *model.CreateMergeChannelsTaskRequest) (*model.CreateMergeChannelsTaskResponse, error)
创建声道合并任务,合并声道任务支持将每个声道各放一个文件中的片源,合并为单个音频文件。 执行合并声道的源音频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateMpeCallBack ¶
func (c *MpcClient) CreateMpeCallBack(request *model.CreateMpeCallBackRequest) (*model.CreateMpeCallBackResponse, error)
## 典型场景 ## mpe通知mpc。 ## 接口功能 ## mpe调用此接口通知mpc转封装等结果。 ## 接口约束 ## 无。
func (*MpcClient) CreateQualityEnhanceTemplate ¶
func (c *MpcClient) CreateQualityEnhanceTemplate(request *model.CreateQualityEnhanceTemplateRequest) (*model.CreateQualityEnhanceTemplateResponse, error)
创建视频增强模板
func (*MpcClient) CreateRemuxTask ¶
func (c *MpcClient) CreateRemuxTask(request *model.CreateRemuxTaskRequest) (*model.CreateRemuxTaskResponse, error)
创建转封装任务,转换音视频文件的格式,但不改变其分辨率和码率。 待转封装的媒资文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateResetTracksTask ¶
func (c *MpcClient) CreateResetTracksTask(request *model.CreateResetTracksTaskRequest) (*model.CreateResetTracksTaskResponse, error)
创建音轨重置任务,重置音轨任务支持按人工指定关系声道layout,语言标签,转封装片源,使其满足转码输入。 执行音轨重置的源音频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateRetryRemuxTask ¶
func (c *MpcClient) CreateRetryRemuxTask(request *model.CreateRetryRemuxTaskRequest) (*model.CreateRetryRemuxTaskResponse, error)
对失败的转封装任务进行重试。
func (*MpcClient) CreateTemplateGroup ¶
func (c *MpcClient) CreateTemplateGroup(request *model.CreateTemplateGroupRequest) (*model.CreateTemplateGroupResponse, error)
新建转码模板组,最多支持一进六出。
func (*MpcClient) CreateThumbnailsTask ¶
func (c *MpcClient) CreateThumbnailsTask(request *model.CreateThumbnailsTaskRequest) (*model.CreateThumbnailsTaskResponse, error)
新建截图任务,视频截图将从首帧开始,按设置的时间间隔截图,最后截取末帧。 待截图的视频文件需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。 约束: 暂只支持生成JPG格式的图片文件。
func (*MpcClient) CreateTransTemplate ¶
func (c *MpcClient) CreateTransTemplate(request *model.CreateTransTemplateRequest) (*model.CreateTransTemplateResponse, error)
新建转码模板,采用自定义的模板转码。
func (*MpcClient) CreateTranscodingTask ¶
func (c *MpcClient) CreateTranscodingTask(request *model.CreateTranscodingTaskRequest) (*model.CreateTranscodingTaskResponse, error)
新建转码任务可以将视频进行转码,并在转码过程中压制水印、视频截图等。视频转码前需要配置转码模板。 待转码的音视频需要存储在与媒体处理服务同区域的OBS桶中,且该OBS桶已授权。
func (*MpcClient) CreateWatermarkTemplate ¶
func (c *MpcClient) CreateWatermarkTemplate(request *model.CreateWatermarkTemplateRequest) (*model.CreateWatermarkTemplateResponse, error)
自定义水印模板。
func (*MpcClient) DeleteAnimatedGraphicsTask ¶
func (c *MpcClient) DeleteAnimatedGraphicsTask(request *model.DeleteAnimatedGraphicsTaskRequest) (*model.DeleteAnimatedGraphicsTaskResponse, error)
取消已下发的生成动图任务,仅支持取消正在排队中的任务。
func (*MpcClient) DeleteEncryptTask ¶
func (c *MpcClient) DeleteEncryptTask(request *model.DeleteEncryptTaskRequest) (*model.DeleteEncryptTaskResponse, error)
取消独立加密任务。 约束: 只能取消正在任务队列中排队的任务。已开始加密或已完成的加密任务不能取消。
func (*MpcClient) DeleteExtractTask ¶
func (c *MpcClient) DeleteExtractTask(request *model.DeleteExtractTaskRequest) (*model.DeleteExtractTaskResponse, error)
取消已下发的视频解析任务,仅支持取消正在排队中的任务。
func (*MpcClient) DeleteMediaProcessTask ¶
func (c *MpcClient) DeleteMediaProcessTask(request *model.DeleteMediaProcessTaskRequest) (*model.DeleteMediaProcessTaskResponse, error)
## 典型场景 ## 取消视频增强任务。 ## 接口功能 ## 取消视频增强任务。 ## 接口约束 ## 仅可删除正在排队中的任务。
func (*MpcClient) DeleteMergeChannelsTask ¶
func (c *MpcClient) DeleteMergeChannelsTask(request *model.DeleteMergeChannelsTaskRequest) (*model.DeleteMergeChannelsTaskResponse, error)
取消合并音频多声道文件。
func (*MpcClient) DeleteQualityEnhanceTemplate ¶
func (c *MpcClient) DeleteQualityEnhanceTemplate(request *model.DeleteQualityEnhanceTemplateRequest) (*model.DeleteQualityEnhanceTemplateResponse, error)
删除用户视频增强模板。
func (*MpcClient) DeleteRemuxTask ¶
func (c *MpcClient) DeleteRemuxTask(request *model.DeleteRemuxTaskRequest) (*model.DeleteRemuxTaskResponse, error)
删除转封装任务
func (*MpcClient) DeleteResetTracksTask ¶
func (c *MpcClient) DeleteResetTracksTask(request *model.DeleteResetTracksTaskRequest) (*model.DeleteResetTracksTaskResponse, error)
取消重置音频文件声轨任务。
func (*MpcClient) DeleteTemplate ¶
func (c *MpcClient) DeleteTemplate(request *model.DeleteTemplateRequest) (*model.DeleteTemplateResponse, error)
删除转码模板。
func (*MpcClient) DeleteTemplateGroup ¶
func (c *MpcClient) DeleteTemplateGroup(request *model.DeleteTemplateGroupRequest) (*model.DeleteTemplateGroupResponse, error)
删除转码模板组。
func (*MpcClient) DeleteThumbnailsTask ¶
func (c *MpcClient) DeleteThumbnailsTask(request *model.DeleteThumbnailsTaskRequest) (*model.DeleteThumbnailsTaskResponse, error)
取消已下发截图任务。 只能取消已接受尚在队列中等待处理的任务,已完成或正在执行阶段的任务不能取消。
func (*MpcClient) DeleteTranscodingTask ¶
func (c *MpcClient) DeleteTranscodingTask(request *model.DeleteTranscodingTaskRequest) (*model.DeleteTranscodingTaskResponse, error)
取消已下发转码任务。 只能取消正在转码任务队列中排队的转码任务。已开始转码或已完成的转码任务不能取消。
func (*MpcClient) DeleteWatermarkTemplate ¶
func (c *MpcClient) DeleteWatermarkTemplate(request *model.DeleteWatermarkTemplateRequest) (*model.DeleteWatermarkTemplateResponse, error)
删除自定义水印模板。
func (*MpcClient) ListAnimatedGraphicsTask ¶
func (c *MpcClient) ListAnimatedGraphicsTask(request *model.ListAnimatedGraphicsTaskRequest) (*model.ListAnimatedGraphicsTaskResponse, error)
查询动图任务的状态。
func (*MpcClient) ListEncryptTask ¶
func (c *MpcClient) ListEncryptTask(request *model.ListEncryptTaskRequest) (*model.ListEncryptTaskResponse, error)
查询独立加密任务状态。返回任务执行结果或当前状态。
func (*MpcClient) ListExtractTask ¶
func (c *MpcClient) ListExtractTask(request *model.ListExtractTaskRequest) (*model.ListExtractTaskResponse, error)
查询解析任务的状态和结果。
func (*MpcClient) ListMediaProcessTask ¶
func (c *MpcClient) ListMediaProcessTask(request *model.ListMediaProcessTaskRequest) (*model.ListMediaProcessTaskResponse, error)
## 典型场景 ## 查询视频增强任务。 ## 接口功能 ## 查询视频增强任务。 ## 接口约束 ## 无。
func (*MpcClient) ListMergeChannelsTask ¶
func (c *MpcClient) ListMergeChannelsTask(request *model.ListMergeChannelsTaskRequest) (*model.ListMergeChannelsTaskResponse, error)
查询声道合并任务的状态。
func (*MpcClient) ListQualityEnhanceDefaultTemplate ¶
func (c *MpcClient) ListQualityEnhanceDefaultTemplate(request *model.ListQualityEnhanceDefaultTemplateRequest) (*model.ListQualityEnhanceDefaultTemplateResponse, error)
查询视频增强预置模板,返回所有结果。
func (*MpcClient) ListRemuxTask ¶
func (c *MpcClient) ListRemuxTask(request *model.ListRemuxTaskRequest) (*model.ListRemuxTaskResponse, error)
查询转封装任务状态。
func (*MpcClient) ListResetTracksTask ¶
func (c *MpcClient) ListResetTracksTask(request *model.ListResetTracksTaskRequest) (*model.ListResetTracksTaskResponse, error)
查询音轨重置任务的状态。
func (*MpcClient) ListTemplate ¶
func (c *MpcClient) ListTemplate(request *model.ListTemplateRequest) (*model.ListTemplateResponse, error)
查询用户自定义转码配置模板。 支持指定模板ID查询,或分页全量查询。转码配置模板ID,最多10个。
func (*MpcClient) ListTemplateGroup ¶
func (c *MpcClient) ListTemplateGroup(request *model.ListTemplateGroupRequest) (*model.ListTemplateGroupResponse, error)
查询转码模板组列表。
func (*MpcClient) ListThumbnailsTask ¶
func (c *MpcClient) ListThumbnailsTask(request *model.ListThumbnailsTaskRequest) (*model.ListThumbnailsTaskResponse, error)
查询截图任务状态。返回任务执行结果,包括状态、输入、输出等信息。
func (*MpcClient) ListTranscodeDetail ¶
func (c *MpcClient) ListTranscodeDetail(request *model.ListTranscodeDetailRequest) (*model.ListTranscodeDetailResponse, error)
查询媒资转码详情
func (*MpcClient) ListTranscodingTask ¶
func (c *MpcClient) ListTranscodingTask(request *model.ListTranscodingTaskRequest) (*model.ListTranscodingTaskResponse, error)
查询转码任务状态。
func (*MpcClient) ListWatermarkTemplate ¶
func (c *MpcClient) ListWatermarkTemplate(request *model.ListWatermarkTemplateRequest) (*model.ListWatermarkTemplateResponse, error)
查询自定义水印模板。支持指定模板ID查询,或分页全量查询。
func (*MpcClient) UpdateQualityEnhanceTemplate ¶
func (c *MpcClient) UpdateQualityEnhanceTemplate(request *model.UpdateQualityEnhanceTemplateRequest) (*model.UpdateQualityEnhanceTemplateResponse, error)
更新视频增强模板。
func (*MpcClient) UpdateTemplateGroup ¶
func (c *MpcClient) UpdateTemplateGroup(request *model.UpdateTemplateGroupRequest) (*model.UpdateTemplateGroupResponse, error)
修改模板组接口。
func (*MpcClient) UpdateTransTemplate ¶
func (c *MpcClient) UpdateTransTemplate(request *model.UpdateTransTemplateRequest) (*model.UpdateTransTemplateResponse, error)
更新转码模板。
func (*MpcClient) UpdateWatermarkTemplate ¶
func (c *MpcClient) UpdateWatermarkTemplate(request *model.UpdateWatermarkTemplateRequest) (*model.UpdateWatermarkTemplateResponse, error)
更新自定义水印模板。