tencentcloud-sdk-python-mps 3.1.85__tar.gz → 3.1.88__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 (17) hide show
  1. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/v20190612/models.py +292 -282
  5. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_mps-3.1.88/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_mps-3.1.85/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/README.rst +0 -0
  9. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.85 → tencentcloud_sdk_python_mps-3.1.88}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.85
3
+ Version: 3.1.88
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.85
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.88
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mps',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.85,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.88,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Mps SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.85'
17
+ __version__ = '3.1.88'
@@ -13137,34 +13137,30 @@ class AnimatedGraphicTaskInput(AbstractModel):
13137
13137
 
13138
13138
  def __init__(self):
13139
13139
  r"""
13140
- :param _Definition: 视频转动图模板 ID
13140
+ :param _Definition: <p>视频转动图模板 ID。</p>
13141
13141
  :type Definition: int
13142
- :param _StartTimeOffset: 动图在视频中的开始时间,单位为秒。
13142
+ :param _StartTimeOffset: <p>动图在视频中的开始时间,单位为秒。</p>
13143
13143
  :type StartTimeOffset: float
13144
- :param _EndTimeOffset: 动图在视频中的结束时间,单位为秒。
13144
+ :param _EndTimeOffset: <p>动图在视频中的结束时间,单位为秒。</p>
13145
13145
  :type EndTimeOffset: float
13146
- :param _OutputStorage: 转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
13146
+ :param _OutputStorage: <p>转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
13147
13147
  注意:此字段可能返回 null,表示取不到有效值。
13148
13148
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
13149
- :param _OutputObjectPath: 转动图后文件的输出路径,可以为相对路径或者绝对路径。
13150
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
13151
- 相对路径示例:
13152
- <li>文件名_{变量名}.{format}</li>
13153
- <li>文件名.{format}</li>
13154
- 绝对路径示例:
13155
- <li>/自定义路径/文件名_{变量名}.{format}</li>
13156
- 如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
13149
+ :param _OutputObjectPath: <p>转动图后文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_animatedGraphic_{definition}.{format}</code>。
13157
13150
  :type OutputObjectPath: str
13151
+ :param _ExtInfo: <p>扩展参数。</p>
13152
+ :type ExtInfo: str
13158
13153
  """
13159
13154
  self._Definition = None
13160
13155
  self._StartTimeOffset = None
13161
13156
  self._EndTimeOffset = None
13162
13157
  self._OutputStorage = None
13163
13158
  self._OutputObjectPath = None
13159
+ self._ExtInfo = None
13164
13160
 
13165
13161
  @property
13166
13162
  def Definition(self):
13167
- r"""视频转动图模板 ID
13163
+ r"""<p>视频转动图模板 ID。</p>
13168
13164
  :rtype: int
13169
13165
  """
13170
13166
  return self._Definition
@@ -13175,7 +13171,7 @@ class AnimatedGraphicTaskInput(AbstractModel):
13175
13171
 
13176
13172
  @property
13177
13173
  def StartTimeOffset(self):
13178
- r"""动图在视频中的开始时间,单位为秒。
13174
+ r"""<p>动图在视频中的开始时间,单位为秒。</p>
13179
13175
  :rtype: float
13180
13176
  """
13181
13177
  return self._StartTimeOffset
@@ -13186,7 +13182,7 @@ class AnimatedGraphicTaskInput(AbstractModel):
13186
13182
 
13187
13183
  @property
13188
13184
  def EndTimeOffset(self):
13189
- r"""动图在视频中的结束时间,单位为秒。
13185
+ r"""<p>动图在视频中的结束时间,单位为秒。</p>
13190
13186
  :rtype: float
13191
13187
  """
13192
13188
  return self._EndTimeOffset
@@ -13197,7 +13193,7 @@ class AnimatedGraphicTaskInput(AbstractModel):
13197
13193
 
13198
13194
  @property
13199
13195
  def OutputStorage(self):
13200
- r"""转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。
13196
+ r"""<p>转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
13201
13197
  注意:此字段可能返回 null,表示取不到有效值。
13202
13198
  :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
13203
13199
  """
@@ -13209,14 +13205,7 @@ class AnimatedGraphicTaskInput(AbstractModel):
13209
13205
 
13210
13206
  @property
13211
13207
  def OutputObjectPath(self):
13212
- r"""转动图后文件的输出路径,可以为相对路径或者绝对路径。
13213
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
13214
- 相对路径示例:
13215
- <li>文件名_{变量名}.{format}</li>
13216
- <li>文件名.{format}</li>
13217
- 绝对路径示例:
13218
- <li>/自定义路径/文件名_{变量名}.{format}</li>
13219
- 如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。
13208
+ r"""<p>转动图后文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_animatedGraphic_{definition}.{format}</code>。
13220
13209
  :rtype: str
13221
13210
  """
13222
13211
  return self._OutputObjectPath
@@ -13225,6 +13214,17 @@ class AnimatedGraphicTaskInput(AbstractModel):
13225
13214
  def OutputObjectPath(self, OutputObjectPath):
13226
13215
  self._OutputObjectPath = OutputObjectPath
13227
13216
 
13217
+ @property
13218
+ def ExtInfo(self):
13219
+ r"""<p>扩展参数。</p>
13220
+ :rtype: str
13221
+ """
13222
+ return self._ExtInfo
13223
+
13224
+ @ExtInfo.setter
13225
+ def ExtInfo(self, ExtInfo):
13226
+ self._ExtInfo = ExtInfo
13227
+
13228
13228
 
13229
13229
  def _deserialize(self, params):
13230
13230
  self._Definition = params.get("Definition")
@@ -13234,6 +13234,7 @@ class AnimatedGraphicTaskInput(AbstractModel):
13234
13234
  self._OutputStorage = TaskOutputStorage()
13235
13235
  self._OutputStorage._deserialize(params.get("OutputStorage"))
13236
13236
  self._OutputObjectPath = params.get("OutputObjectPath")
13237
+ self._ExtInfo = params.get("ExtInfo")
13237
13238
  memeber_set = set(params.keys())
13238
13239
  for name, value in vars(self).items():
13239
13240
  property_name = name[1:]
@@ -24595,6 +24596,10 @@ class CreateSmartSubtitleTemplateRequest(AbstractModel):
24595
24596
  :type SelectingSubtitleAreasConfig: :class:`tencentcloud.mps.v20190612.models.SelectingSubtitleAreasConfig`
24596
24597
  :param _SubtitleEmbedId: <p>压制模板id,只有ProcessType为0或2(任务类型为ASR或OCR)时才允许填写。开启多个翻译语言时,不允许填写。</p>
24597
24598
  :type SubtitleEmbedId: int
24599
+ :param _SpeakerMode: <p>说话人识别开关,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认不开启说话人识别。</p>
24600
+ :type SpeakerMode: int
24601
+ :param _SpeakerLabel: <p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认不输出到字幕文件。</p>
24602
+ :type SpeakerLabel: int
24598
24603
  """
24599
24604
  self._Name = None
24600
24605
  self._VideoSrcLanguage = None
@@ -24607,6 +24612,8 @@ class CreateSmartSubtitleTemplateRequest(AbstractModel):
24607
24612
  self._ProcessType = None
24608
24613
  self._SelectingSubtitleAreasConfig = None
24609
24614
  self._SubtitleEmbedId = None
24615
+ self._SpeakerMode = None
24616
+ self._SpeakerLabel = None
24610
24617
 
24611
24618
  @property
24612
24619
  def Name(self):
@@ -24729,6 +24736,28 @@ class CreateSmartSubtitleTemplateRequest(AbstractModel):
24729
24736
  def SubtitleEmbedId(self, SubtitleEmbedId):
24730
24737
  self._SubtitleEmbedId = SubtitleEmbedId
24731
24738
 
24739
+ @property
24740
+ def SpeakerMode(self):
24741
+ r"""<p>说话人识别开关,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认不开启说话人识别。</p>
24742
+ :rtype: int
24743
+ """
24744
+ return self._SpeakerMode
24745
+
24746
+ @SpeakerMode.setter
24747
+ def SpeakerMode(self, SpeakerMode):
24748
+ self._SpeakerMode = SpeakerMode
24749
+
24750
+ @property
24751
+ def SpeakerLabel(self):
24752
+ r"""<p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认不输出到字幕文件。</p>
24753
+ :rtype: int
24754
+ """
24755
+ return self._SpeakerLabel
24756
+
24757
+ @SpeakerLabel.setter
24758
+ def SpeakerLabel(self, SpeakerLabel):
24759
+ self._SpeakerLabel = SpeakerLabel
24760
+
24732
24761
 
24733
24762
  def _deserialize(self, params):
24734
24763
  self._Name = params.get("Name")
@@ -24746,6 +24775,8 @@ class CreateSmartSubtitleTemplateRequest(AbstractModel):
24746
24775
  self._SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig()
24747
24776
  self._SelectingSubtitleAreasConfig._deserialize(params.get("SelectingSubtitleAreasConfig"))
24748
24777
  self._SubtitleEmbedId = params.get("SubtitleEmbedId")
24778
+ self._SpeakerMode = params.get("SpeakerMode")
24779
+ self._SpeakerLabel = params.get("SpeakerLabel")
24749
24780
  memeber_set = set(params.keys())
24750
24781
  for name, value in vars(self).items():
24751
24782
  property_name = name[1:]
@@ -48996,35 +49027,31 @@ class ImageSpriteTaskInput(AbstractModel):
48996
49027
 
48997
49028
  def __init__(self):
48998
49029
  r"""
48999
- :param _Definition: 雪碧图模板 ID
49030
+ :param _Definition: <p>雪碧图模板 ID。</p>
49000
49031
  :type Definition: int
49001
- :param _OutputStorage: 截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。
49032
+ :param _OutputStorage: <p>截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
49002
49033
  注意:此字段可能返回 null,表示取不到有效值。
49003
49034
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
49004
- :param _OutputObjectPath: 截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。
49005
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
49006
- 相对路径示例:
49007
- <li>文件名_{变量名}.{format}</li>
49008
- <li>文件名.{format}</li>
49009
- 绝对路径示例:
49010
- <li>/自定义路径/文件名_{变量名}.{format}</li>
49011
- 如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
49035
+ :param _OutputObjectPath: <p>截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_imageSprite_{definition}_{number}.{format}</code>。
49012
49036
  :type OutputObjectPath: str
49013
- :param _WebVttObjectName: 截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}.{format}`。
49037
+ :param _WebVttObjectName: <p>截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:<code>{inputName}_imageSprite_{definition}.{format}</code>。</p>
49014
49038
  :type WebVttObjectName: str
49015
- :param _ObjectNumberFormat: 截取雪碧图后输出路径中的`{number}`变量的规则。
49039
+ :param _ObjectNumberFormat: <p>截取雪碧图后输出路径中的<code>{number}</code>变量的规则。</p>
49016
49040
  注意:此字段可能返回 null,表示取不到有效值。
49017
49041
  :type ObjectNumberFormat: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
49042
+ :param _ExtInfo: <p>扩展参数。</p>
49043
+ :type ExtInfo: str
49018
49044
  """
49019
49045
  self._Definition = None
49020
49046
  self._OutputStorage = None
49021
49047
  self._OutputObjectPath = None
49022
49048
  self._WebVttObjectName = None
49023
49049
  self._ObjectNumberFormat = None
49050
+ self._ExtInfo = None
49024
49051
 
49025
49052
  @property
49026
49053
  def Definition(self):
49027
- r"""雪碧图模板 ID
49054
+ r"""<p>雪碧图模板 ID。</p>
49028
49055
  :rtype: int
49029
49056
  """
49030
49057
  return self._Definition
@@ -49035,7 +49062,7 @@ class ImageSpriteTaskInput(AbstractModel):
49035
49062
 
49036
49063
  @property
49037
49064
  def OutputStorage(self):
49038
- r"""截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。
49065
+ r"""<p>截取雪碧图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
49039
49066
  注意:此字段可能返回 null,表示取不到有效值。
49040
49067
  :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
49041
49068
  """
@@ -49047,14 +49074,7 @@ class ImageSpriteTaskInput(AbstractModel):
49047
49074
 
49048
49075
  @property
49049
49076
  def OutputObjectPath(self):
49050
- r"""截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。
49051
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
49052
- 相对路径示例:
49053
- <li>文件名_{变量名}.{format}</li>
49054
- <li>文件名.{format}</li>
49055
- 绝对路径示例:
49056
- <li>/自定义路径/文件名_{变量名}.{format}</li>
49057
- 如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。
49077
+ r"""<p>截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_imageSprite_{definition}_{number}.{format}</code>。
49058
49078
  :rtype: str
49059
49079
  """
49060
49080
  return self._OutputObjectPath
@@ -49065,7 +49085,7 @@ class ImageSpriteTaskInput(AbstractModel):
49065
49085
 
49066
49086
  @property
49067
49087
  def WebVttObjectName(self):
49068
- r"""截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}.{format}`。
49088
+ r"""<p>截取雪碧图后,Web VTT 文件的输出路径,只能为相对路径。如果不填,则默认为相对路径:<code>{inputName}_imageSprite_{definition}.{format}</code>。</p>
49069
49089
  :rtype: str
49070
49090
  """
49071
49091
  return self._WebVttObjectName
@@ -49076,7 +49096,7 @@ class ImageSpriteTaskInput(AbstractModel):
49076
49096
 
49077
49097
  @property
49078
49098
  def ObjectNumberFormat(self):
49079
- r"""截取雪碧图后输出路径中的`{number}`变量的规则。
49099
+ r"""<p>截取雪碧图后输出路径中的<code>{number}</code>变量的规则。</p>
49080
49100
  注意:此字段可能返回 null,表示取不到有效值。
49081
49101
  :rtype: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
49082
49102
  """
@@ -49086,6 +49106,17 @@ class ImageSpriteTaskInput(AbstractModel):
49086
49106
  def ObjectNumberFormat(self, ObjectNumberFormat):
49087
49107
  self._ObjectNumberFormat = ObjectNumberFormat
49088
49108
 
49109
+ @property
49110
+ def ExtInfo(self):
49111
+ r"""<p>扩展参数。</p>
49112
+ :rtype: str
49113
+ """
49114
+ return self._ExtInfo
49115
+
49116
+ @ExtInfo.setter
49117
+ def ExtInfo(self, ExtInfo):
49118
+ self._ExtInfo = ExtInfo
49119
+
49089
49120
 
49090
49121
  def _deserialize(self, params):
49091
49122
  self._Definition = params.get("Definition")
@@ -49097,6 +49128,7 @@ class ImageSpriteTaskInput(AbstractModel):
49097
49128
  if params.get("ObjectNumberFormat") is not None:
49098
49129
  self._ObjectNumberFormat = NumberFormat()
49099
49130
  self._ObjectNumberFormat._deserialize(params.get("ObjectNumberFormat"))
49131
+ self._ExtInfo = params.get("ExtInfo")
49100
49132
  memeber_set = set(params.keys())
49101
49133
  for name, value in vars(self).items():
49102
49134
  property_name = name[1:]
@@ -61515,6 +61547,10 @@ class ModifySmartSubtitleTemplateRequest(AbstractModel):
61515
61547
  :type SelectingSubtitleAreasConfig: :class:`tencentcloud.mps.v20190612.models.SelectingSubtitleAreasConfig`
61516
61548
  :param _SubtitleEmbedId: <p>压制模板id,只有ProcessType为0或2(任务类型为ASR或OCR)时才允许填写。开启多个翻译语言时,不允许填写。</p>
61517
61549
  :type SubtitleEmbedId: int
61550
+ :param _SpeakerMode: <p>说话人识别开关,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别。</p>
61551
+ :type SpeakerMode: int
61552
+ :param _SpeakerLabel: <p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0。</p>
61553
+ :type SpeakerLabel: int
61518
61554
  """
61519
61555
  self._Definition = None
61520
61556
  self._TranslateSwitch = None
@@ -61528,6 +61564,8 @@ class ModifySmartSubtitleTemplateRequest(AbstractModel):
61528
61564
  self._ProcessType = None
61529
61565
  self._SelectingSubtitleAreasConfig = None
61530
61566
  self._SubtitleEmbedId = None
61567
+ self._SpeakerMode = None
61568
+ self._SpeakerLabel = None
61531
61569
 
61532
61570
  @property
61533
61571
  def Definition(self):
@@ -61661,6 +61699,28 @@ class ModifySmartSubtitleTemplateRequest(AbstractModel):
61661
61699
  def SubtitleEmbedId(self, SubtitleEmbedId):
61662
61700
  self._SubtitleEmbedId = SubtitleEmbedId
61663
61701
 
61702
+ @property
61703
+ def SpeakerMode(self):
61704
+ r"""<p>说话人识别开关,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别。</p>
61705
+ :rtype: int
61706
+ """
61707
+ return self._SpeakerMode
61708
+
61709
+ @SpeakerMode.setter
61710
+ def SpeakerMode(self, SpeakerMode):
61711
+ self._SpeakerMode = SpeakerMode
61712
+
61713
+ @property
61714
+ def SpeakerLabel(self):
61715
+ r"""<p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0。</p>
61716
+ :rtype: int
61717
+ """
61718
+ return self._SpeakerLabel
61719
+
61720
+ @SpeakerLabel.setter
61721
+ def SpeakerLabel(self, SpeakerLabel):
61722
+ self._SpeakerLabel = SpeakerLabel
61723
+
61664
61724
 
61665
61725
  def _deserialize(self, params):
61666
61726
  self._Definition = params.get("Definition")
@@ -61679,6 +61739,8 @@ class ModifySmartSubtitleTemplateRequest(AbstractModel):
61679
61739
  self._SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig()
61680
61740
  self._SelectingSubtitleAreasConfig._deserialize(params.get("SelectingSubtitleAreasConfig"))
61681
61741
  self._SubtitleEmbedId = params.get("SubtitleEmbedId")
61742
+ self._SpeakerMode = params.get("SpeakerMode")
61743
+ self._SpeakerLabel = params.get("SpeakerLabel")
61682
61744
  memeber_set = set(params.keys())
61683
61745
  for name, value in vars(self).items():
61684
61746
  property_name = name[1:]
@@ -70528,6 +70590,10 @@ class RawSmartSubtitleParameter(AbstractModel):
70528
70590
  :type SelectingSubtitleAreasConfig: :class:`tencentcloud.mps.v20190612.models.SelectingSubtitleAreasConfig`
70529
70591
  :param _SubtitleEmbedId: <p>压制模板id,只有ProcessType为0或2(任务类型为ASR或OCR)时才允许填写</p>
70530
70592
  :type SubtitleEmbedId: int
70593
+ :param _SpeakerMode: <p>说话人识别模式,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认值:0</p>
70594
+ :type SpeakerMode: int
70595
+ :param _SpeakerLabel: <p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认值:0</p>
70596
+ :type SpeakerLabel: int
70531
70597
  """
70532
70598
  self._SubtitleType = None
70533
70599
  self._VideoSrcLanguage = None
@@ -70539,6 +70605,8 @@ class RawSmartSubtitleParameter(AbstractModel):
70539
70605
  self._ProcessType = None
70540
70606
  self._SelectingSubtitleAreasConfig = None
70541
70607
  self._SubtitleEmbedId = None
70608
+ self._SpeakerMode = None
70609
+ self._SpeakerLabel = None
70542
70610
 
70543
70611
  @property
70544
70612
  def SubtitleType(self):
@@ -70655,6 +70723,28 @@ class RawSmartSubtitleParameter(AbstractModel):
70655
70723
  def SubtitleEmbedId(self, SubtitleEmbedId):
70656
70724
  self._SubtitleEmbedId = SubtitleEmbedId
70657
70725
 
70726
+ @property
70727
+ def SpeakerMode(self):
70728
+ r"""<p>说话人识别模式,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认值:0</p>
70729
+ :rtype: int
70730
+ """
70731
+ return self._SpeakerMode
70732
+
70733
+ @SpeakerMode.setter
70734
+ def SpeakerMode(self, SpeakerMode):
70735
+ self._SpeakerMode = SpeakerMode
70736
+
70737
+ @property
70738
+ def SpeakerLabel(self):
70739
+ r"""<p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认值:0</p>
70740
+ :rtype: int
70741
+ """
70742
+ return self._SpeakerLabel
70743
+
70744
+ @SpeakerLabel.setter
70745
+ def SpeakerLabel(self, SpeakerLabel):
70746
+ self._SpeakerLabel = SpeakerLabel
70747
+
70658
70748
 
70659
70749
  def _deserialize(self, params):
70660
70750
  self._SubtitleType = params.get("SubtitleType")
@@ -70671,6 +70761,8 @@ class RawSmartSubtitleParameter(AbstractModel):
70671
70761
  self._SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig()
70672
70762
  self._SelectingSubtitleAreasConfig._deserialize(params.get("SelectingSubtitleAreasConfig"))
70673
70763
  self._SubtitleEmbedId = params.get("SubtitleEmbedId")
70764
+ self._SpeakerMode = params.get("SpeakerMode")
70765
+ self._SpeakerLabel = params.get("SpeakerLabel")
70674
70766
  memeber_set = set(params.keys())
70675
70767
  for name, value in vars(self).items():
70676
70768
  property_name = name[1:]
@@ -72747,7 +72839,7 @@ class SSAIConf(AbstractModel):
72747
72839
  :type MultiRequest: bool
72748
72840
  :param _DashOriginManifestType: <p>dash周期类型:SinglePeriod 或 MultiPeriod,默认 MultiPeriod</p>
72749
72841
  :type DashOriginManifestType: str
72750
- :param _SlateOnEmptyVast: <p>Empty VAST时是否播放Slate,默认开启(true)</p>
72842
+ :param _SlateOnEmptyVast: <p>广告为空时是否插入Slate,默认开启(true)</p>
72751
72843
  :type SlateOnEmptyVast: bool
72752
72844
  :param _SCTEMarkerDuration: <p>SCTE marker duration,默认180,范围0-3600</p>
72753
72845
  :type SCTEMarkerDuration: int
@@ -72968,7 +73060,7 @@ class SSAIConf(AbstractModel):
72968
73060
 
72969
73061
  @property
72970
73062
  def SlateOnEmptyVast(self):
72971
- r"""<p>Empty VAST时是否播放Slate,默认开启(true)</p>
73063
+ r"""<p>广告为空时是否插入Slate,默认开启(true)</p>
72972
73064
  :rtype: bool
72973
73065
  """
72974
73066
  return self._SlateOnEmptyVast
@@ -73221,36 +73313,31 @@ class SampleSnapshotTaskInput(AbstractModel):
73221
73313
 
73222
73314
  def __init__(self):
73223
73315
  r"""
73224
- :param _Definition: 采样截图模板 ID
73316
+ :param _Definition: <p>采样截图模板 ID。</p>
73225
73317
  :type Definition: int
73226
- :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
73318
+ :param _WatermarkSet: <p>水印列表,支持多张图片或文字水印,最大可支持 10 张。</p>
73227
73319
  :type WatermarkSet: list of WatermarkInput
73228
- :param _OutputStorage: 采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
73320
+ :param _OutputStorage: <p>采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
73229
73321
  注意:此字段可能返回 null,表示取不到有效值。
73230
73322
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
73231
- :param _OutputObjectPath: 采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。
73232
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
73233
- 相对路径示例:
73234
- <li>文件名_{变量名}.{format}</li>
73235
- <li>文件名.{format}</li>
73236
- 绝对路径示例:
73237
- <li>/自定义路径/文件名_{变量名}.{format}</li>
73238
- 如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
73239
-
73323
+ :param _OutputObjectPath: <p>采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_sampleSnapshot_{definition}_{number}.{format}</code>。
73240
73324
  :type OutputObjectPath: str
73241
- :param _ObjectNumberFormat: 采样截图后输出路径中的`{number}`变量的规则。
73325
+ :param _ObjectNumberFormat: <p>采样截图后输出路径中的<code>{number}</code>变量的规则。</p>
73242
73326
  注意:此字段可能返回 null,表示取不到有效值。
73243
73327
  :type ObjectNumberFormat: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
73328
+ :param _ExtInfo: <p>扩展参数。</p>
73329
+ :type ExtInfo: str
73244
73330
  """
73245
73331
  self._Definition = None
73246
73332
  self._WatermarkSet = None
73247
73333
  self._OutputStorage = None
73248
73334
  self._OutputObjectPath = None
73249
73335
  self._ObjectNumberFormat = None
73336
+ self._ExtInfo = None
73250
73337
 
73251
73338
  @property
73252
73339
  def Definition(self):
73253
- r"""采样截图模板 ID
73340
+ r"""<p>采样截图模板 ID。</p>
73254
73341
  :rtype: int
73255
73342
  """
73256
73343
  return self._Definition
@@ -73261,7 +73348,7 @@ class SampleSnapshotTaskInput(AbstractModel):
73261
73348
 
73262
73349
  @property
73263
73350
  def WatermarkSet(self):
73264
- r"""水印列表,支持多张图片或文字水印,最大可支持 10 张。
73351
+ r"""<p>水印列表,支持多张图片或文字水印,最大可支持 10 张。</p>
73265
73352
  :rtype: list of WatermarkInput
73266
73353
  """
73267
73354
  return self._WatermarkSet
@@ -73272,7 +73359,7 @@ class SampleSnapshotTaskInput(AbstractModel):
73272
73359
 
73273
73360
  @property
73274
73361
  def OutputStorage(self):
73275
- r"""采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
73362
+ r"""<p>采样截图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
73276
73363
  注意:此字段可能返回 null,表示取不到有效值。
73277
73364
  :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
73278
73365
  """
@@ -73284,15 +73371,7 @@ class SampleSnapshotTaskInput(AbstractModel):
73284
73371
 
73285
73372
  @property
73286
73373
  def OutputObjectPath(self):
73287
- r"""采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。
73288
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
73289
- 相对路径示例:
73290
- <li>文件名_{变量名}.{format}</li>
73291
- <li>文件名.{format}</li>
73292
- 绝对路径示例:
73293
- <li>/自定义路径/文件名_{变量名}.{format}</li>
73294
- 如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。
73295
-
73374
+ r"""<p>采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_sampleSnapshot_{definition}_{number}.{format}</code>。
73296
73375
  :rtype: str
73297
73376
  """
73298
73377
  return self._OutputObjectPath
@@ -73303,7 +73382,7 @@ class SampleSnapshotTaskInput(AbstractModel):
73303
73382
 
73304
73383
  @property
73305
73384
  def ObjectNumberFormat(self):
73306
- r"""采样截图后输出路径中的`{number}`变量的规则。
73385
+ r"""<p>采样截图后输出路径中的<code>{number}</code>变量的规则。</p>
73307
73386
  注意:此字段可能返回 null,表示取不到有效值。
73308
73387
  :rtype: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
73309
73388
  """
@@ -73313,6 +73392,17 @@ class SampleSnapshotTaskInput(AbstractModel):
73313
73392
  def ObjectNumberFormat(self, ObjectNumberFormat):
73314
73393
  self._ObjectNumberFormat = ObjectNumberFormat
73315
73394
 
73395
+ @property
73396
+ def ExtInfo(self):
73397
+ r"""<p>扩展参数。</p>
73398
+ :rtype: str
73399
+ """
73400
+ return self._ExtInfo
73401
+
73402
+ @ExtInfo.setter
73403
+ def ExtInfo(self, ExtInfo):
73404
+ self._ExtInfo = ExtInfo
73405
+
73316
73406
 
73317
73407
  def _deserialize(self, params):
73318
73408
  self._Definition = params.get("Definition")
@@ -73329,6 +73419,7 @@ class SampleSnapshotTaskInput(AbstractModel):
73329
73419
  if params.get("ObjectNumberFormat") is not None:
73330
73420
  self._ObjectNumberFormat = NumberFormat()
73331
73421
  self._ObjectNumberFormat._deserialize(params.get("ObjectNumberFormat"))
73422
+ self._ExtInfo = params.get("ExtInfo")
73332
73423
  memeber_set = set(params.keys())
73333
73424
  for name, value in vars(self).items():
73334
73425
  property_name = name[1:]
@@ -77230,19 +77321,21 @@ class SmartSubtitleTaskResultInput(AbstractModel):
77230
77321
 
77231
77322
  def __init__(self):
77232
77323
  r"""
77233
- :param _Definition: 智能字幕模板 ID
77324
+ :param _Definition: <p>智能字幕模板 ID。</p>
77234
77325
  :type Definition: int
77235
- :param _RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。
77236
- 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
77326
+ :param _RawParameter: <p>智能字幕自定义参数,当 Definition 填 0 时有效。<br>该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。</p>
77237
77327
  注意:此字段可能返回 null,表示取不到有效值。
77238
77328
  :type RawParameter: :class:`tencentcloud.mps.v20190612.models.RawSmartSubtitleParameter`
77329
+ :param _UserExtPara: <p>扩展参数。</p>
77330
+ :type UserExtPara: str
77239
77331
  """
77240
77332
  self._Definition = None
77241
77333
  self._RawParameter = None
77334
+ self._UserExtPara = None
77242
77335
 
77243
77336
  @property
77244
77337
  def Definition(self):
77245
- r"""智能字幕模板 ID
77338
+ r"""<p>智能字幕模板 ID。</p>
77246
77339
  :rtype: int
77247
77340
  """
77248
77341
  return self._Definition
@@ -77253,8 +77346,7 @@ class SmartSubtitleTaskResultInput(AbstractModel):
77253
77346
 
77254
77347
  @property
77255
77348
  def RawParameter(self):
77256
- r"""智能字幕自定义参数,当 Definition 填 0 时有效。
77257
- 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
77349
+ r"""<p>智能字幕自定义参数,当 Definition 填 0 时有效。<br>该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。</p>
77258
77350
  注意:此字段可能返回 null,表示取不到有效值。
77259
77351
  :rtype: :class:`tencentcloud.mps.v20190612.models.RawSmartSubtitleParameter`
77260
77352
  """
@@ -77264,12 +77356,24 @@ class SmartSubtitleTaskResultInput(AbstractModel):
77264
77356
  def RawParameter(self, RawParameter):
77265
77357
  self._RawParameter = RawParameter
77266
77358
 
77359
+ @property
77360
+ def UserExtPara(self):
77361
+ r"""<p>扩展参数。</p>
77362
+ :rtype: str
77363
+ """
77364
+ return self._UserExtPara
77365
+
77366
+ @UserExtPara.setter
77367
+ def UserExtPara(self, UserExtPara):
77368
+ self._UserExtPara = UserExtPara
77369
+
77267
77370
 
77268
77371
  def _deserialize(self, params):
77269
77372
  self._Definition = params.get("Definition")
77270
77373
  if params.get("RawParameter") is not None:
77271
77374
  self._RawParameter = RawSmartSubtitleParameter()
77272
77375
  self._RawParameter._deserialize(params.get("RawParameter"))
77376
+ self._UserExtPara = params.get("UserExtPara")
77273
77377
  memeber_set = set(params.keys())
77274
77378
  for name, value in vars(self).items():
77275
77379
  property_name = name[1:]
@@ -77750,116 +77854,54 @@ class SmartSubtitleTemplateItem(AbstractModel):
77750
77854
 
77751
77855
  def __init__(self):
77752
77856
  r"""
77753
- :param _Definition: 智能字幕模板唯一标识
77857
+ :param _Definition: <p>智能字幕模板唯一标识</p>
77754
77858
  :type Definition: int
77755
- :param _Name: 智能字幕模板名称
77859
+ :param _Name: <p>智能字幕模板名称</p>
77756
77860
  注意:此字段可能返回 null,表示取不到有效值。
77757
77861
  :type Name: str
77758
- :param _Comment: 智能字幕模板描述信息
77862
+ :param _Comment: <p>智能字幕模板描述信息</p>
77759
77863
  注意:此字段可能返回 null,表示取不到有效值。
77760
77864
  :type Comment: str
77761
- :param _Type: 模板类型,取值范围:
77762
- * Preset:系统预置模板;
77763
- * Custom:用户自定义模板。
77865
+ :param _Type: <p>模板类型,取值范围:</p><ul><li>Preset:系统预置模板;</li><li>Custom:用户自定义模板。</li></ul>
77764
77866
  注意:此字段可能返回 null,表示取不到有效值。
77765
77867
  :type Type: str
77766
- :param _AsrHotWordsConfigure: ASR热词库参数
77868
+ :param _AsrHotWordsConfigure: <p>ASR热词库参数</p>
77767
77869
  注意:此字段可能返回 null,表示取不到有效值。
77768
77870
  :type AsrHotWordsConfigure: :class:`tencentcloud.mps.v20190612.models.AsrHotWordsConfigure`
77769
- :param _AsrHotWordsLibraryName: 模板关联热词库名称
77871
+ :param _AsrHotWordsLibraryName: <p>模板关联热词库名称</p>
77770
77872
  注意:此字段可能返回 null,表示取不到有效值。
77771
77873
  :type AsrHotWordsLibraryName: str
77772
- :param _VideoSrcLanguage: 智能字幕视频源语言列表:
77773
-
77774
- `zh`:简体中文
77775
- `yue`:中文粵语
77776
- `zh-PY`:中英粤
77777
- `zh_medical`:中文医疗
77778
- `zh_dialect`:中文方言
77779
- `prime_zh`:中英方言
77780
- `zh_en`:中英
77781
- `en`:英语
77782
- `ja`:日语
77783
- `ko`:韩语
77784
- `fr`:法语
77785
- `es`:西班牙语
77786
- `it`:意大利语
77787
- `de`:德语
77788
- `tr`:土耳其语
77789
- `ru`:俄语
77790
- `pt`:葡萄牙语(巴西)
77791
- `pt-PT`:葡萄牙语(葡萄牙)
77792
- `vi`:越南语
77793
- `id`:印度尼西亚语
77794
- `ms`:马来语
77795
- `th`:泰语
77796
- `ar`:阿拉伯语
77797
- `hi`:印地语
77798
- `fil`:菲律宾语
77799
- `auto`:自动识别(仅在纯字幕翻译中支持)
77874
+ :param _VideoSrcLanguage: <p>智能字幕视频源语言列表:</p><p><code>zh</code>:简体中文<br><code>yue</code>:中文粵语<br><code>zh-PY</code>:中英粤<br><code>zh_medical</code>:中文医疗<br><code>zh_dialect</code>:中文方言<br><code>prime_zh</code>:中英方言<br><code>zh_en</code>:中英<br><code>en</code>:英语<br><code>ja</code>:日语<br><code>ko</code>:韩语<br><code>fr</code>:法语<br><code>es</code>:西班牙语<br><code>it</code>:意大利语<br><code>de</code>:德语<br><code>tr</code>:土耳其语<br><code>ru</code>:俄语<br><code>pt</code>:葡萄牙语(巴西)<br><code>pt-PT</code>:葡萄牙语(葡萄牙)<br><code>vi</code>:越南语<br><code>id</code>:印度尼西亚语<br><code>ms</code>:马来语<br><code>th</code>:泰语<br><code>ar</code>:阿拉伯语<br><code>hi</code>:印地语<br><code>fil</code>:菲律宾语<br><code>auto</code>:自动识别(仅在纯字幕翻译中支持)</p>
77800
77875
  :type VideoSrcLanguage: str
77801
- :param _SubtitleFormat: 智能字幕文件格式
77802
- - vtt: WebVTT 格式
77803
- - srt: SRT格式
77804
- - original:与源字幕文件一致(用于纯字幕翻译模板)
77805
- - 不填或填空:不生成字幕文件
77876
+ :param _SubtitleFormat: <p>智能字幕文件格式</p><ul><li>vtt: WebVTT 格式</li><li>srt: SRT格式</li><li>original:与源字幕文件一致(用于纯字幕翻译模板)</li><li>不填或填空:不生成字幕文件</li></ul>
77806
77877
  注意:此字段可能返回 null,表示取不到有效值。
77807
77878
  :type SubtitleFormat: str
77808
- :param _SubtitleType: 智能字幕字幕语言类型
77809
- 0: 源语言
77810
- 1: 翻译语言
77811
- 2: 源语言+翻译语言
77812
- 当TranslateSwitch为OFF时仅支持取0
77813
- 当TranslateSwitch为ON时仅支持取1或2
77879
+ :param _SubtitleType: <p>智能字幕字幕语言类型<br>0: 源语言<br>1: 翻译语言<br>2: 源语言+翻译语言<br>当TranslateSwitch为OFF时仅支持取0<br>当TranslateSwitch为ON时仅支持取1或2</p>
77814
77880
  :type SubtitleType: int
77815
- :param _TranslateSwitch: 字幕翻译开关
77816
- ON: 开启翻译
77817
- OFF: 关闭翻译
77881
+ :param _TranslateSwitch: <p>字幕翻译开关<br>ON: 开启翻译<br>OFF: 关闭翻译</p>
77818
77882
  注意:此字段可能返回 null,表示取不到有效值。
77819
77883
  :type TranslateSwitch: str
77820
- :param _TranslateDstLanguage: 字幕翻译目标语言
77821
- 当TranslateSwitch为ON的时候生效
77822
- `zh`:简体中文
77823
- `zh-TW`:繁体中文
77824
- `en`:英语
77825
- `ja`:日语
77826
- `ko`:韩语
77827
- `fr`:法语
77828
- `es`:西班牙语
77829
- `it`:意大利语
77830
- `de`:德语
77831
- `tr`:土耳其语
77832
- `ru`:俄语
77833
- `pt`:葡萄牙语(巴西)
77834
- `pt-PT`:葡萄牙语(葡萄牙)
77835
- `vi`:越南语
77836
- `id`:印度尼西亚语
77837
- `ms`:马来语
77838
- `th`:泰语
77839
- `ar`:阿拉伯语
77840
- `hi`:印地语
77841
- `fil`:菲律宾语
77842
-
77843
-
77844
- **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
77845
-
77884
+ :param _TranslateDstLanguage: <p>字幕翻译目标语言<br>当TranslateSwitch为ON的时候生效<br><code>zh</code>:简体中文<br><code>zh-TW</code>:繁体中文<br><code>en</code>:英语<br><code>ja</code>:日语<br><code>ko</code>:韩语<br><code>fr</code>:法语<br><code>es</code>:西班牙语<br><code>it</code>:意大利语<br><code>de</code>:德语<br><code>tr</code>:土耳其语<br><code>ru</code>:俄语<br><code>pt</code>:葡萄牙语(巴西)<br><code>pt-PT</code>:葡萄牙语(葡萄牙)<br><code>vi</code>:越南语<br><code>id</code>:印度尼西亚语<br><code>ms</code>:马来语<br><code>th</code>:泰语<br><code>ar</code>:阿拉伯语<br><code>hi</code>:印地语<br><code>fil</code>:菲律宾语</p><p><strong>注意</strong>:多语言方式,则使用 <code>/</code> 分割,如:<code>en/ja</code>,表示英语和日语。</p>
77846
77885
  注意:此字段可能返回 null,表示取不到有效值。
77847
77886
  :type TranslateDstLanguage: str
77848
- :param _CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
77887
+ :param _CreateTime: <p>模板创建时间,使用 <a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p>
77849
77888
  :type CreateTime: str
77850
- :param _UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
77889
+ :param _UpdateTime: <p>模板最后修改时间,使用 <a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p>
77851
77890
  :type UpdateTime: str
77852
- :param _AliasName: 智能字幕预设模板别名
77891
+ :param _AliasName: <p>智能字幕预设模板别名</p>
77853
77892
  注意:此字段可能返回 null,表示取不到有效值。
77854
77893
  :type AliasName: str
77855
- :param _ProcessType: 字幕处理类型:
77856
- - 0:ASR识别字幕
77857
- - 1:纯字幕翻译
77858
- - 2: OCR识别字幕
77894
+ :param _ProcessType: <p>字幕处理类型:</p><ul><li>0:ASR识别字幕</li><li>1:纯字幕翻译</li><li>2: OCR识别字幕</li></ul>
77859
77895
  :type ProcessType: int
77860
- :param _SelectingSubtitleAreasConfig: 字幕OCR提取框选区域配置信息
77896
+ :param _SelectingSubtitleAreasConfig: <p>字幕OCR提取框选区域配置信息</p>
77861
77897
  注意:此字段可能返回 null,表示取不到有效值。
77862
77898
  :type SelectingSubtitleAreasConfig: :class:`tencentcloud.mps.v20190612.models.SelectingSubtitleAreasConfig`
77899
+ :param _SubtitleEmbedId: <p>字幕压制模板id</p>
77900
+ :type SubtitleEmbedId: int
77901
+ :param _SpeakerMode: <p>说话人识别模式,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认值:0</p>
77902
+ :type SpeakerMode: int
77903
+ :param _SpeakerLabel: <p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认值:0</p>
77904
+ :type SpeakerLabel: int
77863
77905
  """
77864
77906
  self._Definition = None
77865
77907
  self._Name = None
@@ -77877,10 +77919,13 @@ OFF: 关闭翻译
77877
77919
  self._AliasName = None
77878
77920
  self._ProcessType = None
77879
77921
  self._SelectingSubtitleAreasConfig = None
77922
+ self._SubtitleEmbedId = None
77923
+ self._SpeakerMode = None
77924
+ self._SpeakerLabel = None
77880
77925
 
77881
77926
  @property
77882
77927
  def Definition(self):
77883
- r"""智能字幕模板唯一标识
77928
+ r"""<p>智能字幕模板唯一标识</p>
77884
77929
  :rtype: int
77885
77930
  """
77886
77931
  return self._Definition
@@ -77891,7 +77936,7 @@ OFF: 关闭翻译
77891
77936
 
77892
77937
  @property
77893
77938
  def Name(self):
77894
- r"""智能字幕模板名称
77939
+ r"""<p>智能字幕模板名称</p>
77895
77940
  注意:此字段可能返回 null,表示取不到有效值。
77896
77941
  :rtype: str
77897
77942
  """
@@ -77903,7 +77948,7 @@ OFF: 关闭翻译
77903
77948
 
77904
77949
  @property
77905
77950
  def Comment(self):
77906
- r"""智能字幕模板描述信息
77951
+ r"""<p>智能字幕模板描述信息</p>
77907
77952
  注意:此字段可能返回 null,表示取不到有效值。
77908
77953
  :rtype: str
77909
77954
  """
@@ -77915,9 +77960,7 @@ OFF: 关闭翻译
77915
77960
 
77916
77961
  @property
77917
77962
  def Type(self):
77918
- r"""模板类型,取值范围:
77919
- * Preset:系统预置模板;
77920
- * Custom:用户自定义模板。
77963
+ r"""<p>模板类型,取值范围:</p><ul><li>Preset:系统预置模板;</li><li>Custom:用户自定义模板。</li></ul>
77921
77964
  注意:此字段可能返回 null,表示取不到有效值。
77922
77965
  :rtype: str
77923
77966
  """
@@ -77929,7 +77972,7 @@ OFF: 关闭翻译
77929
77972
 
77930
77973
  @property
77931
77974
  def AsrHotWordsConfigure(self):
77932
- r"""ASR热词库参数
77975
+ r"""<p>ASR热词库参数</p>
77933
77976
  注意:此字段可能返回 null,表示取不到有效值。
77934
77977
  :rtype: :class:`tencentcloud.mps.v20190612.models.AsrHotWordsConfigure`
77935
77978
  """
@@ -77941,7 +77984,7 @@ OFF: 关闭翻译
77941
77984
 
77942
77985
  @property
77943
77986
  def AsrHotWordsLibraryName(self):
77944
- r"""模板关联热词库名称
77987
+ r"""<p>模板关联热词库名称</p>
77945
77988
  注意:此字段可能返回 null,表示取不到有效值。
77946
77989
  :rtype: str
77947
77990
  """
@@ -77953,34 +77996,7 @@ OFF: 关闭翻译
77953
77996
 
77954
77997
  @property
77955
77998
  def VideoSrcLanguage(self):
77956
- r"""智能字幕视频源语言列表:
77957
-
77958
- `zh`:简体中文
77959
- `yue`:中文粵语
77960
- `zh-PY`:中英粤
77961
- `zh_medical`:中文医疗
77962
- `zh_dialect`:中文方言
77963
- `prime_zh`:中英方言
77964
- `zh_en`:中英
77965
- `en`:英语
77966
- `ja`:日语
77967
- `ko`:韩语
77968
- `fr`:法语
77969
- `es`:西班牙语
77970
- `it`:意大利语
77971
- `de`:德语
77972
- `tr`:土耳其语
77973
- `ru`:俄语
77974
- `pt`:葡萄牙语(巴西)
77975
- `pt-PT`:葡萄牙语(葡萄牙)
77976
- `vi`:越南语
77977
- `id`:印度尼西亚语
77978
- `ms`:马来语
77979
- `th`:泰语
77980
- `ar`:阿拉伯语
77981
- `hi`:印地语
77982
- `fil`:菲律宾语
77983
- `auto`:自动识别(仅在纯字幕翻译中支持)
77999
+ r"""<p>智能字幕视频源语言列表:</p><p><code>zh</code>:简体中文<br><code>yue</code>:中文粵语<br><code>zh-PY</code>:中英粤<br><code>zh_medical</code>:中文医疗<br><code>zh_dialect</code>:中文方言<br><code>prime_zh</code>:中英方言<br><code>zh_en</code>:中英<br><code>en</code>:英语<br><code>ja</code>:日语<br><code>ko</code>:韩语<br><code>fr</code>:法语<br><code>es</code>:西班牙语<br><code>it</code>:意大利语<br><code>de</code>:德语<br><code>tr</code>:土耳其语<br><code>ru</code>:俄语<br><code>pt</code>:葡萄牙语(巴西)<br><code>pt-PT</code>:葡萄牙语(葡萄牙)<br><code>vi</code>:越南语<br><code>id</code>:印度尼西亚语<br><code>ms</code>:马来语<br><code>th</code>:泰语<br><code>ar</code>:阿拉伯语<br><code>hi</code>:印地语<br><code>fil</code>:菲律宾语<br><code>auto</code>:自动识别(仅在纯字幕翻译中支持)</p>
77984
78000
  :rtype: str
77985
78001
  """
77986
78002
  return self._VideoSrcLanguage
@@ -77991,11 +78007,7 @@ OFF: 关闭翻译
77991
78007
 
77992
78008
  @property
77993
78009
  def SubtitleFormat(self):
77994
- r"""智能字幕文件格式
77995
- - vtt: WebVTT 格式
77996
- - srt: SRT格式
77997
- - original:与源字幕文件一致(用于纯字幕翻译模板)
77998
- - 不填或填空:不生成字幕文件
78010
+ r"""<p>智能字幕文件格式</p><ul><li>vtt: WebVTT 格式</li><li>srt: SRT格式</li><li>original:与源字幕文件一致(用于纯字幕翻译模板)</li><li>不填或填空:不生成字幕文件</li></ul>
77999
78011
  注意:此字段可能返回 null,表示取不到有效值。
78000
78012
  :rtype: str
78001
78013
  """
@@ -78007,12 +78019,7 @@ OFF: 关闭翻译
78007
78019
 
78008
78020
  @property
78009
78021
  def SubtitleType(self):
78010
- r"""智能字幕字幕语言类型
78011
- 0: 源语言
78012
- 1: 翻译语言
78013
- 2: 源语言+翻译语言
78014
- 当TranslateSwitch为OFF时仅支持取0
78015
- 当TranslateSwitch为ON时仅支持取1或2
78022
+ r"""<p>智能字幕字幕语言类型<br>0: 源语言<br>1: 翻译语言<br>2: 源语言+翻译语言<br>当TranslateSwitch为OFF时仅支持取0<br>当TranslateSwitch为ON时仅支持取1或2</p>
78016
78023
  :rtype: int
78017
78024
  """
78018
78025
  return self._SubtitleType
@@ -78023,9 +78030,7 @@ OFF: 关闭翻译
78023
78030
 
78024
78031
  @property
78025
78032
  def TranslateSwitch(self):
78026
- r"""字幕翻译开关
78027
- ON: 开启翻译
78028
- OFF: 关闭翻译
78033
+ r"""<p>字幕翻译开关<br>ON: 开启翻译<br>OFF: 关闭翻译</p>
78029
78034
  注意:此字段可能返回 null,表示取不到有效值。
78030
78035
  :rtype: str
78031
78036
  """
@@ -78037,32 +78042,7 @@ OFF: 关闭翻译
78037
78042
 
78038
78043
  @property
78039
78044
  def TranslateDstLanguage(self):
78040
- r"""字幕翻译目标语言
78041
- 当TranslateSwitch为ON的时候生效
78042
- `zh`:简体中文
78043
- `zh-TW`:繁体中文
78044
- `en`:英语
78045
- `ja`:日语
78046
- `ko`:韩语
78047
- `fr`:法语
78048
- `es`:西班牙语
78049
- `it`:意大利语
78050
- `de`:德语
78051
- `tr`:土耳其语
78052
- `ru`:俄语
78053
- `pt`:葡萄牙语(巴西)
78054
- `pt-PT`:葡萄牙语(葡萄牙)
78055
- `vi`:越南语
78056
- `id`:印度尼西亚语
78057
- `ms`:马来语
78058
- `th`:泰语
78059
- `ar`:阿拉伯语
78060
- `hi`:印地语
78061
- `fil`:菲律宾语
78062
-
78063
-
78064
- **注意**:多语言方式,则使用 `/` 分割,如:`en/ja`,表示英语和日语。
78065
-
78045
+ r"""<p>字幕翻译目标语言<br>当TranslateSwitch为ON的时候生效<br><code>zh</code>:简体中文<br><code>zh-TW</code>:繁体中文<br><code>en</code>:英语<br><code>ja</code>:日语<br><code>ko</code>:韩语<br><code>fr</code>:法语<br><code>es</code>:西班牙语<br><code>it</code>:意大利语<br><code>de</code>:德语<br><code>tr</code>:土耳其语<br><code>ru</code>:俄语<br><code>pt</code>:葡萄牙语(巴西)<br><code>pt-PT</code>:葡萄牙语(葡萄牙)<br><code>vi</code>:越南语<br><code>id</code>:印度尼西亚语<br><code>ms</code>:马来语<br><code>th</code>:泰语<br><code>ar</code>:阿拉伯语<br><code>hi</code>:印地语<br><code>fil</code>:菲律宾语</p><p><strong>注意</strong>:多语言方式,则使用 <code>/</code> 分割,如:<code>en/ja</code>,表示英语和日语。</p>
78066
78046
  注意:此字段可能返回 null,表示取不到有效值。
78067
78047
  :rtype: str
78068
78048
  """
@@ -78074,7 +78054,7 @@ OFF: 关闭翻译
78074
78054
 
78075
78055
  @property
78076
78056
  def CreateTime(self):
78077
- r"""模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
78057
+ r"""<p>模板创建时间,使用 <a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p>
78078
78058
  :rtype: str
78079
78059
  """
78080
78060
  return self._CreateTime
@@ -78085,7 +78065,7 @@ OFF: 关闭翻译
78085
78065
 
78086
78066
  @property
78087
78067
  def UpdateTime(self):
78088
- r"""模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
78068
+ r"""<p>模板最后修改时间,使用 <a href="https://cloud.tencent.com/document/product/862/37710#52">ISO 日期格式</a>。</p>
78089
78069
  :rtype: str
78090
78070
  """
78091
78071
  return self._UpdateTime
@@ -78096,7 +78076,7 @@ OFF: 关闭翻译
78096
78076
 
78097
78077
  @property
78098
78078
  def AliasName(self):
78099
- r"""智能字幕预设模板别名
78079
+ r"""<p>智能字幕预设模板别名</p>
78100
78080
  注意:此字段可能返回 null,表示取不到有效值。
78101
78081
  :rtype: str
78102
78082
  """
@@ -78108,10 +78088,7 @@ OFF: 关闭翻译
78108
78088
 
78109
78089
  @property
78110
78090
  def ProcessType(self):
78111
- r"""字幕处理类型:
78112
- - 0:ASR识别字幕
78113
- - 1:纯字幕翻译
78114
- - 2: OCR识别字幕
78091
+ r"""<p>字幕处理类型:</p><ul><li>0:ASR识别字幕</li><li>1:纯字幕翻译</li><li>2: OCR识别字幕</li></ul>
78115
78092
  :rtype: int
78116
78093
  """
78117
78094
  return self._ProcessType
@@ -78122,7 +78099,7 @@ OFF: 关闭翻译
78122
78099
 
78123
78100
  @property
78124
78101
  def SelectingSubtitleAreasConfig(self):
78125
- r"""字幕OCR提取框选区域配置信息
78102
+ r"""<p>字幕OCR提取框选区域配置信息</p>
78126
78103
  注意:此字段可能返回 null,表示取不到有效值。
78127
78104
  :rtype: :class:`tencentcloud.mps.v20190612.models.SelectingSubtitleAreasConfig`
78128
78105
  """
@@ -78132,6 +78109,39 @@ OFF: 关闭翻译
78132
78109
  def SelectingSubtitleAreasConfig(self, SelectingSubtitleAreasConfig):
78133
78110
  self._SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig
78134
78111
 
78112
+ @property
78113
+ def SubtitleEmbedId(self):
78114
+ r"""<p>字幕压制模板id</p>
78115
+ :rtype: int
78116
+ """
78117
+ return self._SubtitleEmbedId
78118
+
78119
+ @SubtitleEmbedId.setter
78120
+ def SubtitleEmbedId(self, SubtitleEmbedId):
78121
+ self._SubtitleEmbedId = SubtitleEmbedId
78122
+
78123
+ @property
78124
+ def SpeakerMode(self):
78125
+ r"""<p>说话人识别模式,可选值:<br>0:表示不开启说话人识别;<br>1:表示开启说话人识别;<br>默认值:0</p>
78126
+ :rtype: int
78127
+ """
78128
+ return self._SpeakerMode
78129
+
78130
+ @SpeakerMode.setter
78131
+ def SpeakerMode(self, SpeakerMode):
78132
+ self._SpeakerMode = SpeakerMode
78133
+
78134
+ @property
78135
+ def SpeakerLabel(self):
78136
+ r"""<p>说话人识别输出到字幕文件,可选值:<br>0:表示不输出到字幕文件;<br>1:表示输出到vtt字幕文件<br>注意:使用此参数SpeakerMode的值不能为0;<br>默认值:0</p>
78137
+ :rtype: int
78138
+ """
78139
+ return self._SpeakerLabel
78140
+
78141
+ @SpeakerLabel.setter
78142
+ def SpeakerLabel(self, SpeakerLabel):
78143
+ self._SpeakerLabel = SpeakerLabel
78144
+
78135
78145
 
78136
78146
  def _deserialize(self, params):
78137
78147
  self._Definition = params.get("Definition")
@@ -78154,6 +78164,9 @@ OFF: 关闭翻译
78154
78164
  if params.get("SelectingSubtitleAreasConfig") is not None:
78155
78165
  self._SelectingSubtitleAreasConfig = SelectingSubtitleAreasConfig()
78156
78166
  self._SelectingSubtitleAreasConfig._deserialize(params.get("SelectingSubtitleAreasConfig"))
78167
+ self._SubtitleEmbedId = params.get("SubtitleEmbedId")
78168
+ self._SpeakerMode = params.get("SpeakerMode")
78169
+ self._SpeakerLabel = params.get("SpeakerLabel")
78157
78170
  memeber_set = set(params.keys())
78158
78171
  for name, value in vars(self).items():
78159
78172
  property_name = name[1:]
@@ -78425,31 +78438,24 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78425
78438
 
78426
78439
  def __init__(self):
78427
78440
  r"""
78428
- :param _Definition: 指定时间点截图模板 ID
78441
+ :param _Definition: <p>指定时间点截图模板 ID。</p>
78429
78442
  :type Definition: int
78430
- :param _ExtTimeOffsetSet: 截图时间点列表,时间点支持 s、% 两种格式:
78431
- <li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li>
78432
- <li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>
78443
+ :param _ExtTimeOffsetSet: <p>截图时间点列表,时间点支持 s、% 两种格式:</p><li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li><li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>
78433
78444
  :type ExtTimeOffsetSet: list of str
78434
- :param _TimeOffsetSet: 截图时间点列表,单位为<font color=red>秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。
78445
+ :param _TimeOffsetSet: <p>截图时间点列表,单位为<font color="red">秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。</p>
78435
78446
  :type TimeOffsetSet: list of float
78436
- :param _WatermarkSet: 水印列表,支持多张图片或文字水印,最大可支持 10 张。
78447
+ :param _WatermarkSet: <p>水印列表,支持多张图片或文字水印,最大可支持 10 张。</p>
78437
78448
  :type WatermarkSet: list of WatermarkInput
78438
- :param _OutputStorage: 时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
78449
+ :param _OutputStorage: <p>时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
78439
78450
  注意:此字段可能返回 null,表示取不到有效值。
78440
78451
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
78441
- :param _OutputObjectPath: 时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。
78442
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
78443
- 相对路径示例:
78444
- <li>文件名_{变量名}.{format}</li>
78445
- <li>文件名.{format}</li>
78446
- 绝对路径示例:
78447
- <li>/自定义路径/文件名_{变量名}.{format}</li>
78448
- 如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
78452
+ :param _OutputObjectPath: <p>时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}</code>。
78449
78453
  :type OutputObjectPath: str
78450
- :param _ObjectNumberFormat: 时间点截图后输出路径中的`{number}`变量的规则。
78454
+ :param _ObjectNumberFormat: <p>时间点截图后输出路径中的<code>{number}</code>变量的规则。</p>
78451
78455
  注意:此字段可能返回 null,表示取不到有效值。
78452
78456
  :type ObjectNumberFormat: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
78457
+ :param _ExtInfo: <p>扩展参数。</p>
78458
+ :type ExtInfo: str
78453
78459
  """
78454
78460
  self._Definition = None
78455
78461
  self._ExtTimeOffsetSet = None
@@ -78458,10 +78464,11 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78458
78464
  self._OutputStorage = None
78459
78465
  self._OutputObjectPath = None
78460
78466
  self._ObjectNumberFormat = None
78467
+ self._ExtInfo = None
78461
78468
 
78462
78469
  @property
78463
78470
  def Definition(self):
78464
- r"""指定时间点截图模板 ID
78471
+ r"""<p>指定时间点截图模板 ID。</p>
78465
78472
  :rtype: int
78466
78473
  """
78467
78474
  return self._Definition
@@ -78472,9 +78479,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78472
78479
 
78473
78480
  @property
78474
78481
  def ExtTimeOffsetSet(self):
78475
- r"""截图时间点列表,时间点支持 s、% 两种格式:
78476
- <li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li>
78477
- <li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>
78482
+ r"""<p>截图时间点列表,时间点支持 s、% 两种格式:</p><li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li><li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>
78478
78483
  :rtype: list of str
78479
78484
  """
78480
78485
  return self._ExtTimeOffsetSet
@@ -78485,7 +78490,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78485
78490
 
78486
78491
  @property
78487
78492
  def TimeOffsetSet(self):
78488
- r"""截图时间点列表,单位为<font color=red>秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。
78493
+ r"""<p>截图时间点列表,单位为<font color="red">秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。</p>
78489
78494
  :rtype: list of float
78490
78495
  """
78491
78496
  return self._TimeOffsetSet
@@ -78496,7 +78501,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78496
78501
 
78497
78502
  @property
78498
78503
  def WatermarkSet(self):
78499
- r"""水印列表,支持多张图片或文字水印,最大可支持 10 张。
78504
+ r"""<p>水印列表,支持多张图片或文字水印,最大可支持 10 张。</p>
78500
78505
  :rtype: list of WatermarkInput
78501
78506
  """
78502
78507
  return self._WatermarkSet
@@ -78507,7 +78512,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78507
78512
 
78508
78513
  @property
78509
78514
  def OutputStorage(self):
78510
- r"""时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。
78515
+ r"""<p>时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。</p>
78511
78516
  注意:此字段可能返回 null,表示取不到有效值。
78512
78517
  :rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
78513
78518
  """
@@ -78519,14 +78524,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78519
78524
 
78520
78525
  @property
78521
78526
  def OutputObjectPath(self):
78522
- r"""时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。
78523
- 若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。
78524
- 相对路径示例:
78525
- <li>文件名_{变量名}.{format}</li>
78526
- <li>文件名.{format}</li>
78527
- 绝对路径示例:
78528
- <li>/自定义路径/文件名_{变量名}.{format}</li>
78529
- 如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。
78527
+ r"""<p>时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。<br>若需定义输出路径,路径需以<code>.{format}</code>结尾。变量名请参考 <a href="https://cloud.tencent.com/document/product/862/37039">文件名变量说明</a>。<br>相对路径示例:</p><li>文件名_{变量名}.{format}</li><li>文件名.{format}</li>绝对路径示例:<li>/自定义路径/文件名_{变量名}.{format}</li>如果不填,则默认为相对路径:<code>{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}</code>。
78530
78528
  :rtype: str
78531
78529
  """
78532
78530
  return self._OutputObjectPath
@@ -78537,7 +78535,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78537
78535
 
78538
78536
  @property
78539
78537
  def ObjectNumberFormat(self):
78540
- r"""时间点截图后输出路径中的`{number}`变量的规则。
78538
+ r"""<p>时间点截图后输出路径中的<code>{number}</code>变量的规则。</p>
78541
78539
  注意:此字段可能返回 null,表示取不到有效值。
78542
78540
  :rtype: :class:`tencentcloud.mps.v20190612.models.NumberFormat`
78543
78541
  """
@@ -78547,6 +78545,17 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78547
78545
  def ObjectNumberFormat(self, ObjectNumberFormat):
78548
78546
  self._ObjectNumberFormat = ObjectNumberFormat
78549
78547
 
78548
+ @property
78549
+ def ExtInfo(self):
78550
+ r"""<p>扩展参数。</p>
78551
+ :rtype: str
78552
+ """
78553
+ return self._ExtInfo
78554
+
78555
+ @ExtInfo.setter
78556
+ def ExtInfo(self, ExtInfo):
78557
+ self._ExtInfo = ExtInfo
78558
+
78550
78559
 
78551
78560
  def _deserialize(self, params):
78552
78561
  self._Definition = params.get("Definition")
@@ -78565,6 +78574,7 @@ class SnapshotByTimeOffsetTaskInput(AbstractModel):
78565
78574
  if params.get("ObjectNumberFormat") is not None:
78566
78575
  self._ObjectNumberFormat = NumberFormat()
78567
78576
  self._ObjectNumberFormat._deserialize(params.get("ObjectNumberFormat"))
78577
+ self._ExtInfo = params.get("ExtInfo")
78568
78578
  memeber_set = set(params.keys())
78569
78579
  for name, value in vars(self).items():
78570
78580
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.85
3
+ Version: 3.1.88
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.85
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.88
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.88
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.85