tencentcloud-sdk-python-vod 3.0.914__tar.gz → 3.0.916__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (14) hide show
  1. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/vod/v20180717/models.py +245 -3
  4. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/vod/v20180717/vod_client.py +23 -0
  5. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +1 -1
  6. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/README.rst +0 -0
  7. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/setup.cfg +0 -0
  8. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/setup.py +0 -0
  9. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/vod/__init__.py +0 -0
  10. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/vod/v20180717/__init__.py +0 -0
  11. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
  12. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
  13. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
  14. {tencentcloud-sdk-python-vod-3.0.914 → tencentcloud-sdk-python-vod-3.0.916}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.0.914
3
+ Version: 3.0.916
4
4
  Summary: Tencent Cloud Vod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.914'
17
+ __version__ = '3.0.916'
@@ -252,10 +252,13 @@ class AdaptiveDynamicStreamingInfoItem(AbstractModel):
252
252
  :type Size: int
253
253
  :param DigitalWatermarkType: 数字水印类型。可选值:
254
254
  <li>Trace 表示经过溯源水印处理;</li>
255
+ <li>CopyRight 表示经过版权水印处理;</li>
255
256
  <li>None 表示没有经过数字水印处理。</li>
256
257
  :type DigitalWatermarkType: str
257
258
  :param SubStreamSet: 子流信息列表。
258
259
  :type SubStreamSet: list of MediaSubStreamInfoItem
260
+ :param CopyRightWatermarkText: 版权信息。
261
+ :type CopyRightWatermarkText: str
259
262
  """
260
263
  self.Definition = None
261
264
  self.Package = None
@@ -264,6 +267,7 @@ class AdaptiveDynamicStreamingInfoItem(AbstractModel):
264
267
  self.Size = None
265
268
  self.DigitalWatermarkType = None
266
269
  self.SubStreamSet = None
270
+ self.CopyRightWatermarkText = None
267
271
 
268
272
 
269
273
  def _deserialize(self, params):
@@ -279,6 +283,7 @@ class AdaptiveDynamicStreamingInfoItem(AbstractModel):
279
283
  obj = MediaSubStreamInfoItem()
280
284
  obj._deserialize(item)
281
285
  self.SubStreamSet.append(obj)
286
+ self.CopyRightWatermarkText = params.get("CopyRightWatermarkText")
282
287
  memeber_set = set(params.keys())
283
288
  for name, value in vars(self).items():
284
289
  if name in memeber_set:
@@ -301,12 +306,15 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
301
306
  :type WatermarkSet: list of WatermarkInput
302
307
  :param TraceWatermark: 溯源水印。
303
308
  :type TraceWatermark: :class:`tencentcloud.vod.v20180717.models.TraceWatermarkInput`
309
+ :param CopyRightWatermark: 版权水印。
310
+ :type CopyRightWatermark: :class:`tencentcloud.vod.v20180717.models.CopyRightWatermarkInput`
304
311
  :param SubtitleSet: 字幕列表,元素为字幕 ID,支持多个字幕,最大可支持16个。
305
312
  :type SubtitleSet: list of str
306
313
  """
307
314
  self.Definition = None
308
315
  self.WatermarkSet = None
309
316
  self.TraceWatermark = None
317
+ self.CopyRightWatermark = None
310
318
  self.SubtitleSet = None
311
319
 
312
320
 
@@ -321,6 +329,9 @@ class AdaptiveDynamicStreamingTaskInput(AbstractModel):
321
329
  if params.get("TraceWatermark") is not None:
322
330
  self.TraceWatermark = TraceWatermarkInput()
323
331
  self.TraceWatermark._deserialize(params.get("TraceWatermark"))
332
+ if params.get("CopyRightWatermark") is not None:
333
+ self.CopyRightWatermark = CopyRightWatermarkInput()
334
+ self.CopyRightWatermark._deserialize(params.get("CopyRightWatermark"))
324
335
  self.SubtitleSet = params.get("SubtitleSet")
325
336
  memeber_set = set(params.keys())
326
337
  for name, value in vars(self).items():
@@ -5193,10 +5204,10 @@ class Canvas(AbstractModel):
5193
5204
  <li>White:白色背景</li>
5194
5205
  默认值:Black。
5195
5206
  :type Color: str
5196
- :param Width: 画布宽度,即输出视频的宽度,取值范围:0~ 4096,单位:px。
5207
+ :param Width: 画布宽度,即输出视频的宽度,取值范围:0~ 3840,单位:px。
5197
5208
  默认值:0,表示和第一个视频轨的第一个视频片段的视频宽度一致。
5198
5209
  :type Width: int
5199
- :param Height: 画布高度,即输出视频的高度(或长边),取值范围:0~ 4096,单位:px。
5210
+ :param Height: 画布高度,即输出视频的高度(或长边),取值范围:0~ 3840,单位:px。
5200
5211
  默认值:0,表示和第一个视频轨的第一个视频片段的视频高度一致。
5201
5212
  :type Height: int
5202
5213
  """
@@ -6104,6 +6115,30 @@ class ContentReviewTemplateItem(AbstractModel):
6104
6115
 
6105
6116
 
6106
6117
 
6118
+ class CopyRightWatermarkInput(AbstractModel):
6119
+ """版权水印参数
6120
+
6121
+ """
6122
+
6123
+ def __init__(self):
6124
+ r"""
6125
+ :param Text: 版权信息,最大长度为 200 个字符。
6126
+ :type Text: str
6127
+ """
6128
+ self.Text = None
6129
+
6130
+
6131
+ def _deserialize(self, params):
6132
+ self.Text = params.get("Text")
6133
+ memeber_set = set(params.keys())
6134
+ for name, value in vars(self).items():
6135
+ if name in memeber_set:
6136
+ memeber_set.remove(name)
6137
+ if len(memeber_set) > 0:
6138
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6139
+
6140
+
6141
+
6107
6142
  class CoverBySnapshotTaskInput(AbstractModel):
6108
6143
  """对视频截图做封面任务输入参数类型
6109
6144
 
@@ -12300,7 +12335,8 @@ class DescribeTaskDetailResponse(AbstractModel):
12300
12335
  <li>DescribeFileAttributesTask:获取文件属性任务;</li>
12301
12336
  <li>RebuildMedia:音画质重生任务;</li>
12302
12337
  <li>ReviewAudioVideo:音视频审核任务;</li>
12303
- <li>ExtractTraceWatermark:提取溯源水印任务。</li>
12338
+ <li>ExtractTraceWatermark:提取溯源水印任务;</li>
12339
+ <li>ExtractCopyRightWatermark:提取版权水印任务。</li>
12304
12340
  :type TaskType: str
12305
12341
  :param Status: 任务状态,取值:
12306
12342
  <li>WAITING:等待中;</li>
@@ -12358,6 +12394,9 @@ class DescribeTaskDetailResponse(AbstractModel):
12358
12394
  :param ExtractTraceWatermarkTask: 提取溯源水印任务信息,仅当 TaskType 为 ExtractTraceWatermark,该字段有值。
12359
12395
  注意:此字段可能返回 null,表示取不到有效值。
12360
12396
  :type ExtractTraceWatermarkTask: :class:`tencentcloud.vod.v20180717.models.ExtractTraceWatermarkTask`
12397
+ :param ExtractCopyRightWatermarkTask: 提取版权水印任务信息,仅当 TaskType 为 ExtractCopyRightWatermark,该字段有值。
12398
+ 注意:此字段可能返回 null,表示取不到有效值。
12399
+ :type ExtractCopyRightWatermarkTask: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkTask`
12361
12400
  :param ReviewAudioVideoTask: 音视频审核任务信息,仅当 TaskType 为 ReviewAudioVideo,该字段有值。
12362
12401
  注意:此字段可能返回 null,表示取不到有效值。
12363
12402
  :type ReviewAudioVideoTask: :class:`tencentcloud.vod.v20180717.models.ReviewAudioVideoTask`
@@ -12390,6 +12429,7 @@ class DescribeTaskDetailResponse(AbstractModel):
12390
12429
  self.RemoveWatermarkTask = None
12391
12430
  self.RebuildMediaTask = None
12392
12431
  self.ExtractTraceWatermarkTask = None
12432
+ self.ExtractCopyRightWatermarkTask = None
12393
12433
  self.ReviewAudioVideoTask = None
12394
12434
  self.ReduceMediaBitrateTask = None
12395
12435
  self.DescribeFileAttributesTask = None
@@ -12447,6 +12487,9 @@ class DescribeTaskDetailResponse(AbstractModel):
12447
12487
  if params.get("ExtractTraceWatermarkTask") is not None:
12448
12488
  self.ExtractTraceWatermarkTask = ExtractTraceWatermarkTask()
12449
12489
  self.ExtractTraceWatermarkTask._deserialize(params.get("ExtractTraceWatermarkTask"))
12490
+ if params.get("ExtractCopyRightWatermarkTask") is not None:
12491
+ self.ExtractCopyRightWatermarkTask = ExtractCopyRightWatermarkTask()
12492
+ self.ExtractCopyRightWatermarkTask._deserialize(params.get("ExtractCopyRightWatermarkTask"))
12450
12493
  if params.get("ReviewAudioVideoTask") is not None:
12451
12494
  self.ReviewAudioVideoTask = ReviewAudioVideoTask()
12452
12495
  self.ReviewAudioVideoTask._deserialize(params.get("ReviewAudioVideoTask"))
@@ -13669,6 +13712,7 @@ class EventContent(AbstractModel):
13669
13712
  <li>RebuildMediaComplete:音画质重生完成事件。</li>
13670
13713
  <li>ReviewAudioVideoComplete:音视频审核完成;</li>
13671
13714
  <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
13715
+ <li>ExtractCopyRightWatermarkComplete:提取版权水印完成;</li>
13672
13716
  <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
13673
13717
  <b>兼容 2017 版的事件类型:</b>
13674
13718
  <li>TranscodeComplete:视频转码完成;</li>
@@ -13731,6 +13775,9 @@ class EventContent(AbstractModel):
13731
13775
  :param ExtractTraceWatermarkCompleteEvent: 溯源水印提取完成事件,当事件类型为 ExtractTraceWatermarkComplete 时有效。
13732
13776
  注意:此字段可能返回 null,表示取不到有效值。
13733
13777
  :type ExtractTraceWatermarkCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ExtractTraceWatermarkTask`
13778
+ :param ExtractCopyRightWatermarkCompleteEvent: 版权水印提取完成事件,当事件类型为 ExtractCopyRightWatermarkComplete 时有效。
13779
+ 注意:此字段可能返回 null,表示取不到有效值。
13780
+ :type ExtractCopyRightWatermarkCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkTask`
13734
13781
  :param ReviewAudioVideoCompleteEvent: 音视频审核完成事件,当事件类型为 ReviewAudioVideoComplete 时有效。
13735
13782
  注意:此字段可能返回 null,表示取不到有效值。
13736
13783
  :type ReviewAudioVideoCompleteEvent: :class:`tencentcloud.vod.v20180717.models.ReviewAudioVideoTask`
@@ -13761,6 +13808,7 @@ class EventContent(AbstractModel):
13761
13808
  self.RestoreMediaCompleteEvent = None
13762
13809
  self.RebuildMediaCompleteEvent = None
13763
13810
  self.ExtractTraceWatermarkCompleteEvent = None
13811
+ self.ExtractCopyRightWatermarkCompleteEvent = None
13764
13812
  self.ReviewAudioVideoCompleteEvent = None
13765
13813
  self.ReduceMediaBitrateCompleteEvent = None
13766
13814
  self.DescribeFileAttributesCompleteEvent = None
@@ -13823,6 +13871,9 @@ class EventContent(AbstractModel):
13823
13871
  if params.get("ExtractTraceWatermarkCompleteEvent") is not None:
13824
13872
  self.ExtractTraceWatermarkCompleteEvent = ExtractTraceWatermarkTask()
13825
13873
  self.ExtractTraceWatermarkCompleteEvent._deserialize(params.get("ExtractTraceWatermarkCompleteEvent"))
13874
+ if params.get("ExtractCopyRightWatermarkCompleteEvent") is not None:
13875
+ self.ExtractCopyRightWatermarkCompleteEvent = ExtractCopyRightWatermarkTask()
13876
+ self.ExtractCopyRightWatermarkCompleteEvent._deserialize(params.get("ExtractCopyRightWatermarkCompleteEvent"))
13826
13877
  if params.get("ReviewAudioVideoCompleteEvent") is not None:
13827
13878
  self.ReviewAudioVideoCompleteEvent = ReviewAudioVideoTask()
13828
13879
  self.ReviewAudioVideoCompleteEvent._deserialize(params.get("ReviewAudioVideoCompleteEvent"))
@@ -13906,6 +13957,186 @@ class ExecuteFunctionResponse(AbstractModel):
13906
13957
  self.RequestId = params.get("RequestId")
13907
13958
 
13908
13959
 
13960
+ class ExtractCopyRightWatermarkRequest(AbstractModel):
13961
+ """ExtractCopyRightWatermark请求参数结构体
13962
+
13963
+ """
13964
+
13965
+ def __init__(self):
13966
+ r"""
13967
+ :param Url: 需要提取水印的媒体 URL。
13968
+ :type Url: str
13969
+ :param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
13970
+ :type SubAppId: int
13971
+ :param SessionContext: 标识来源上下文,用于透传用户请求信息,在 ExtractCopyRightWatermarkComplete 回调和任务流状态变更回调将返回该字段值,最长 1000 个字符。
13972
+ :type SessionContext: str
13973
+ :param SessionId: 用于任务去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
13974
+ :type SessionId: str
13975
+ :param TasksPriority: 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
13976
+ :type TasksPriority: int
13977
+ :param ExtInfo: 保留字段,特殊用途时使用。
13978
+ :type ExtInfo: str
13979
+ """
13980
+ self.Url = None
13981
+ self.SubAppId = None
13982
+ self.SessionContext = None
13983
+ self.SessionId = None
13984
+ self.TasksPriority = None
13985
+ self.ExtInfo = None
13986
+
13987
+
13988
+ def _deserialize(self, params):
13989
+ self.Url = params.get("Url")
13990
+ self.SubAppId = params.get("SubAppId")
13991
+ self.SessionContext = params.get("SessionContext")
13992
+ self.SessionId = params.get("SessionId")
13993
+ self.TasksPriority = params.get("TasksPriority")
13994
+ self.ExtInfo = params.get("ExtInfo")
13995
+ memeber_set = set(params.keys())
13996
+ for name, value in vars(self).items():
13997
+ if name in memeber_set:
13998
+ memeber_set.remove(name)
13999
+ if len(memeber_set) > 0:
14000
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14001
+
14002
+
14003
+
14004
+ class ExtractCopyRightWatermarkResponse(AbstractModel):
14005
+ """ExtractCopyRightWatermark返回参数结构体
14006
+
14007
+ """
14008
+
14009
+ def __init__(self):
14010
+ r"""
14011
+ :param TaskId: 任务 ID。
14012
+ :type TaskId: str
14013
+ :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14014
+ :type RequestId: str
14015
+ """
14016
+ self.TaskId = None
14017
+ self.RequestId = None
14018
+
14019
+
14020
+ def _deserialize(self, params):
14021
+ self.TaskId = params.get("TaskId")
14022
+ self.RequestId = params.get("RequestId")
14023
+
14024
+
14025
+ class ExtractCopyRightWatermarkTask(AbstractModel):
14026
+ """提取版权水印任务。
14027
+
14028
+ """
14029
+
14030
+ def __init__(self):
14031
+ r"""
14032
+ :param TaskId: 任务 ID。
14033
+ :type TaskId: str
14034
+ :param Status: 任务状态,取值:
14035
+ <li>PROCESSING:处理中;</li>
14036
+ <li>FINISH:已完成。</li>
14037
+ :type Status: str
14038
+ :param ErrCode: 错误码,0 表示成功,其他值表示失败:
14039
+ <li>40000:输入参数不合法,请检查输入参数;</li>
14040
+ <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
14041
+ <li>70000:内部服务错误,建议重试。</li>
14042
+ :type ErrCode: int
14043
+ :param Message: 错误信息。
14044
+ :type Message: str
14045
+ :param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
14046
+ :type ErrCodeExt: str
14047
+ :param Input: 提取版权水印任务输入信息。
14048
+ 注意:此字段可能返回 null,表示取不到有效值。
14049
+ :type Input: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkTaskInput`
14050
+ :param Output: 提取版权水印任务输出信息。
14051
+ 注意:此字段可能返回 null,表示取不到有效值。
14052
+ :type Output: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkTaskOutput`
14053
+ :param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
14054
+ :type SessionId: str
14055
+ :param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
14056
+ :type SessionContext: str
14057
+ """
14058
+ self.TaskId = None
14059
+ self.Status = None
14060
+ self.ErrCode = None
14061
+ self.Message = None
14062
+ self.ErrCodeExt = None
14063
+ self.Input = None
14064
+ self.Output = None
14065
+ self.SessionId = None
14066
+ self.SessionContext = None
14067
+
14068
+
14069
+ def _deserialize(self, params):
14070
+ self.TaskId = params.get("TaskId")
14071
+ self.Status = params.get("Status")
14072
+ self.ErrCode = params.get("ErrCode")
14073
+ self.Message = params.get("Message")
14074
+ self.ErrCodeExt = params.get("ErrCodeExt")
14075
+ if params.get("Input") is not None:
14076
+ self.Input = ExtractCopyRightWatermarkTaskInput()
14077
+ self.Input._deserialize(params.get("Input"))
14078
+ if params.get("Output") is not None:
14079
+ self.Output = ExtractCopyRightWatermarkTaskOutput()
14080
+ self.Output._deserialize(params.get("Output"))
14081
+ self.SessionId = params.get("SessionId")
14082
+ self.SessionContext = params.get("SessionContext")
14083
+ memeber_set = set(params.keys())
14084
+ for name, value in vars(self).items():
14085
+ if name in memeber_set:
14086
+ memeber_set.remove(name)
14087
+ if len(memeber_set) > 0:
14088
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14089
+
14090
+
14091
+
14092
+ class ExtractCopyRightWatermarkTaskInput(AbstractModel):
14093
+ """提取版权水印任务输入
14094
+
14095
+ """
14096
+
14097
+ def __init__(self):
14098
+ r"""
14099
+ :param Url: 需要提取水印的媒体 URL。
14100
+ :type Url: str
14101
+ """
14102
+ self.Url = None
14103
+
14104
+
14105
+ def _deserialize(self, params):
14106
+ self.Url = params.get("Url")
14107
+ memeber_set = set(params.keys())
14108
+ for name, value in vars(self).items():
14109
+ if name in memeber_set:
14110
+ memeber_set.remove(name)
14111
+ if len(memeber_set) > 0:
14112
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14113
+
14114
+
14115
+
14116
+ class ExtractCopyRightWatermarkTaskOutput(AbstractModel):
14117
+ """提取版权水印输出信息
14118
+
14119
+ """
14120
+
14121
+ def __init__(self):
14122
+ r"""
14123
+ :param Text: 版权信息。
14124
+ :type Text: str
14125
+ """
14126
+ self.Text = None
14127
+
14128
+
14129
+ def _deserialize(self, params):
14130
+ self.Text = params.get("Text")
14131
+ memeber_set = set(params.keys())
14132
+ for name, value in vars(self).items():
14133
+ if name in memeber_set:
14134
+ memeber_set.remove(name)
14135
+ if len(memeber_set) > 0:
14136
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14137
+
14138
+
14139
+
13909
14140
  class ExtractTraceWatermarkRequest(AbstractModel):
13910
14141
  """ExtractTraceWatermark请求参数结构体
13911
14142
 
@@ -18005,8 +18236,11 @@ class MediaTranscodeItem(AbstractModel):
18005
18236
  :type AudioStreamSet: list of MediaAudioStreamItem
18006
18237
  :param DigitalWatermarkType: 数字水印类型。可选值:
18007
18238
  <li>Trace 表示经过溯源水印处理;</li>
18239
+ <li>CopyRight 表示经过版权水印处理;</li>
18008
18240
  <li>None 表示没有经过数字水印处理。</li>
18009
18241
  :type DigitalWatermarkType: str
18242
+ :param CopyRightWatermarkText: 版权信息。
18243
+ :type CopyRightWatermarkText: str
18010
18244
  """
18011
18245
  self.Url = None
18012
18246
  self.Definition = None
@@ -18020,6 +18254,7 @@ class MediaTranscodeItem(AbstractModel):
18020
18254
  self.VideoStreamSet = None
18021
18255
  self.AudioStreamSet = None
18022
18256
  self.DigitalWatermarkType = None
18257
+ self.CopyRightWatermarkText = None
18023
18258
 
18024
18259
 
18025
18260
  def _deserialize(self, params):
@@ -18045,6 +18280,7 @@ class MediaTranscodeItem(AbstractModel):
18045
18280
  obj._deserialize(item)
18046
18281
  self.AudioStreamSet.append(obj)
18047
18282
  self.DigitalWatermarkType = params.get("DigitalWatermarkType")
18283
+ self.CopyRightWatermarkText = params.get("CopyRightWatermarkText")
18048
18284
  memeber_set = set(params.keys())
18049
18285
  for name, value in vars(self).items():
18050
18286
  if name in memeber_set:
@@ -27718,6 +27954,8 @@ class TranscodeTaskInput(AbstractModel):
27718
27954
  :type WatermarkSet: list of WatermarkInput
27719
27955
  :param TraceWatermark: 溯源水印。
27720
27956
  :type TraceWatermark: :class:`tencentcloud.vod.v20180717.models.TraceWatermarkInput`
27957
+ :param CopyRightWatermark: 版权水印。
27958
+ :type CopyRightWatermark: :class:`tencentcloud.vod.v20180717.models.CopyRightWatermarkInput`
27721
27959
  :param MosaicSet: 马赛克列表,最大可支持 10 张。
27722
27960
  :type MosaicSet: list of MosaicInput
27723
27961
  :param HeadTailSet: 片头片尾列表,支持多片头片尾,最大可支持 10 个。
@@ -27736,6 +27974,7 @@ class TranscodeTaskInput(AbstractModel):
27736
27974
  self.Definition = None
27737
27975
  self.WatermarkSet = None
27738
27976
  self.TraceWatermark = None
27977
+ self.CopyRightWatermark = None
27739
27978
  self.MosaicSet = None
27740
27979
  self.HeadTailSet = None
27741
27980
  self.StartTimeOffset = None
@@ -27753,6 +27992,9 @@ class TranscodeTaskInput(AbstractModel):
27753
27992
  if params.get("TraceWatermark") is not None:
27754
27993
  self.TraceWatermark = TraceWatermarkInput()
27755
27994
  self.TraceWatermark._deserialize(params.get("TraceWatermark"))
27995
+ if params.get("CopyRightWatermark") is not None:
27996
+ self.CopyRightWatermark = CopyRightWatermarkInput()
27997
+ self.CopyRightWatermark._deserialize(params.get("CopyRightWatermark"))
27756
27998
  if params.get("MosaicSet") is not None:
27757
27999
  self.MosaicSet = []
27758
28000
  for item in params.get("MosaicSet"):
@@ -2497,6 +2497,29 @@ class VodClient(AbstractClient):
2497
2497
  raise TencentCloudSDKException(e.message, e.message)
2498
2498
 
2499
2499
 
2500
+ def ExtractCopyRightWatermark(self, request):
2501
+ """提取版权水印信息。
2502
+
2503
+ :param request: Request instance for ExtractCopyRightWatermark.
2504
+ :type request: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkRequest`
2505
+ :rtype: :class:`tencentcloud.vod.v20180717.models.ExtractCopyRightWatermarkResponse`
2506
+
2507
+ """
2508
+ try:
2509
+ params = request._serialize()
2510
+ headers = request.headers
2511
+ body = self.call("ExtractCopyRightWatermark", params, headers=headers)
2512
+ response = json.loads(body)
2513
+ model = models.ExtractCopyRightWatermarkResponse()
2514
+ model._deserialize(response["Response"])
2515
+ return model
2516
+ except Exception as e:
2517
+ if isinstance(e, TencentCloudSDKException):
2518
+ raise
2519
+ else:
2520
+ raise TencentCloudSDKException(e.message, e.message)
2521
+
2522
+
2500
2523
  def ExtractTraceWatermark(self, request):
2501
2524
  """用于提取溯源水印。
2502
2525
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.0.914
3
+ Version: 3.0.916
4
4
  Summary: Tencent Cloud Vod SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud