tencentcloud-sdk-mps 3.0.1085 → 3.0.1090

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +88 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b11a0a14b49ba33502517b712a6833dcc45fd34b
4
- data.tar.gz: 58a0e555c30e055b349138138ae55666e6e1423e
3
+ metadata.gz: d9c6fdeff270be40c1e2ee1612791ba5cd9db861
4
+ data.tar.gz: e6def85ec2f08adb3449205d7a455f7e639486f4
5
5
  SHA512:
6
- metadata.gz: e685b7058a343bf62901bda90fd45f59d4e62fd86dccb55b6889ff9ef7abc841186dd3d01819a0b7ad85327a82f85d832e74a7c12ea1f7641be2ede8e9371a5a
7
- data.tar.gz: 918466ae2d7d19525e0aaa2b5f17b86a80a0e3479e7e6baf32f086a745313d319ea7c5086f8c4548ef8d943f0fff7bd7ba7589402eedbd75a8805ccae2eae571
6
+ metadata.gz: 2d30a8e2ffe5992117eccb4e821118e5a4c72baeaaaf79162ec1384cff639e224b46df0e1fe04180a8b8fee3545160465d53ab276f5481f1f8795f1624e6f682
7
+ data.tar.gz: 2ef469c512871c587f7e49f80dc20ca214e47e2ff81e4f228620c3e1933bac7df3d7b316fbae9b82e5ea414cda205434b0c484d4a3692633be9dbad93f77e879
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1085
1
+ 3.0.1090
@@ -16643,15 +16643,19 @@ module TencentCloud
16643
16643
  # @param Paragraphs: 分段结果。
16644
16644
  # 注意:此字段可能返回 null,表示取不到有效值。
16645
16645
  # @type Paragraphs: Array
16646
+ # @param MindMapUrl: 摘要思维导图地址
16647
+ # 注意:此字段可能返回 null,表示取不到有效值。
16648
+ # @type MindMapUrl: String
16646
16649
 
16647
- attr_accessor :Description, :Confidence, :Title, :Keywords, :Paragraphs
16650
+ attr_accessor :Description, :Confidence, :Title, :Keywords, :Paragraphs, :MindMapUrl
16648
16651
 
16649
- def initialize(description=nil, confidence=nil, title=nil, keywords=nil, paragraphs=nil)
16652
+ def initialize(description=nil, confidence=nil, title=nil, keywords=nil, paragraphs=nil, mindmapurl=nil)
16650
16653
  @Description = description
16651
16654
  @Confidence = confidence
16652
16655
  @Title = title
16653
16656
  @Keywords = keywords
16654
16657
  @Paragraphs = paragraphs
16658
+ @MindMapUrl = mindmapurl
16655
16659
  end
16656
16660
 
16657
16661
  def deserialize(params)
@@ -16667,6 +16671,7 @@ module TencentCloud
16667
16671
  @Paragraphs << aiparagraphinfo_tmp
16668
16672
  end
16669
16673
  end
16674
+ @MindMapUrl = params['MindMapUrl']
16670
16675
  end
16671
16676
  end
16672
16677
 
@@ -23760,21 +23765,38 @@ module TencentCloud
23760
23765
  # @param Path: 要压制到视频中的字幕文件地址。
23761
23766
  # 注意:此字段可能返回 null,表示取不到有效值。
23762
23767
  # @type Path: String
23763
- # @param StreamIndex: 指定要压制到视频中的字幕轨道,如果有指定Path,则Path 优先级更高。Path 和 StreamIndex 至少指定一个。
23768
+ # @param StreamIndex: 指定要压制到视频中的字幕轨道,Path 和 StreamIndex 至少指定一个;如果指定了Path,则优先使用Path。
23769
+ # Streamindex的取值须与源文件中的字幕轨索引一致。例如,源文件中的字幕轨为stream#0:3,则StreamIndex应为3,否则可能导致任务处理失败。
23770
+
23771
+
23764
23772
  # 注意:此字段可能返回 null,表示取不到有效值。
23765
23773
  # @type StreamIndex: Integer
23766
- # @param FontType: 字体类型,
23774
+ # @param FontType: 字体类型,支持:
23767
23775
  # <li>hei.ttf:黑体</li>
23768
23776
  # <li>song.ttf:宋体</li>
23769
- # <li>simkai.ttf:楷体</li>
23777
+ # <li>kai.ttf(推荐)或 simkai.ttf:楷体</li>
23778
+ # <li>msyh.ttf:微软雅黑</li>
23779
+ # <li>msyhbd.ttf:微软雅黑加粗</li>
23780
+ # <li>hkjgt.ttf:华康金刚体</li>
23781
+ # <li>dhttx.ttf:典黑体特细</li>
23782
+ # <li>xqgdzt.ttf:喜鹊古字典体</li>
23783
+ # <li>qpcyt.ttf:巧拼超圆体</li>
23770
23784
  # <li>arial.ttf:仅支持英文</li>
23771
- # 默认hei.ttf
23785
+ # <li>dinalternate.ttf:DIN Alternate Bold</li>
23786
+ # <li>helveticalt.ttf:Helvetica</li>
23787
+ # <li>helveticains.ttf:Helvetica Inserat</li>
23788
+ # <li>trajanpro.ttf:TrajanPro-Bold</li>
23789
+ # <li>korean.ttf:韩语</li>
23790
+ # <li>japanese.ttf:日语</li>
23791
+ # <li>thai.ttf:泰语</li>
23792
+ # 默认:hei.ttf 黑体。
23772
23793
  # 注意:此字段可能返回 null,表示取不到有效值。
23773
23794
  # @type FontType: String
23774
23795
  # @param FontSize: 字体大小,格式:Npx,N 为数值,不指定则以字幕文件中为准。
23796
+ # 默认源视频高度的5%。
23775
23797
  # 注意:此字段可能返回 null,表示取不到有效值。
23776
23798
  # @type FontSize: String
23777
- # @param FontColor: 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)
23799
+ # @param FontColor: 字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。
23778
23800
  # 注意:此字段可能返回 null,表示取不到有效值。
23779
23801
  # @type FontColor: String
23780
23802
  # @param FontAlpha: 文字透明度,取值范围:(0, 1]
@@ -23783,16 +23805,63 @@ module TencentCloud
23783
23805
  # 默认值:1。
23784
23806
  # 注意:此字段可能返回 null,表示取不到有效值。
23785
23807
  # @type FontAlpha: Float
23808
+ # @param YPos: 字幕y轴坐标位置,指定此参数会忽略字幕文件自带坐标;支持像素和百分比格式:
23809
+
23810
+ # - 像素:Npx,N范围:[0,4096]。
23811
+ # - 百分百:N%,N范围:[0,100];例如10%表示字幕y坐标=10%*源视频高度。
23812
+
23813
+ # 默认值:源视频高度*4%。
23814
+ # 注意:坐标轴原点在源视频中轴线底部,字幕基准点在字幕中轴线底部,参考下图:
23815
+ # ![image](https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/102_ai_subtitle/subtitle_style.png)
23786
23816
 
23787
- attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha
23817
+ # 注意:此字段可能返回 null,表示取不到有效值。
23818
+ # @type YPos: String
23819
+ # @param BoardY: 字幕背景底板的y轴坐标位置;支持像素和百分比格式:
23820
+
23821
+ # - 像素:Npx,N范围:[0,4096]。
23822
+ # - 百分百:N%,N范围:[0,100];例如10%表示字幕背景底板y坐标=10%*源视频高度。
23823
+
23824
+ # 不传表示不开启字幕背景底板。
23825
+ # 注意:坐标轴原点位于源视频的中轴线底部,字幕背景底板的基准点在其中轴线底部,参考下图:
23826
+ # ![image](https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/102_ai_subtitle/subtitle_style.png)
23788
23827
 
23789
- def initialize(path=nil, streamindex=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil)
23828
+ # 注意:此字段可能返回 null,表示取不到有效值。
23829
+ # @type BoardY: String
23830
+ # @param BoardWidth: 底板的宽度,单位为像素,取值范围:[0,4096]。
23831
+ # 默认源视频宽像素的90%。
23832
+
23833
+ # 注意:此字段可能返回 null,表示取不到有效值。
23834
+ # @type BoardWidth: Integer
23835
+ # @param BoardHeight: 底板的高度。单位为像素,取值范围:[0,4096]。
23836
+ # 默认为源视频高像素的15%。
23837
+ # 注意:此字段可能返回 null,表示取不到有效值。
23838
+ # @type BoardHeight: Integer
23839
+ # @param BoardColor: 底板颜色。格式:0xRRGGBB,
23840
+ # 默认值:0x000000(黑色)。
23841
+ # 注意:此字段可能返回 null,表示取不到有效值。
23842
+ # @type BoardColor: String
23843
+ # @param BoardAlpha: 字幕背景板透明度,取值范围:[0, 1]
23844
+ # <li>0:完全透明</li>
23845
+ # <li>1:完全不透明</li>
23846
+ # 默认值:0.8。
23847
+ # 注意:此字段可能返回 null,表示取不到有效值。
23848
+ # @type BoardAlpha: Float
23849
+
23850
+ attr_accessor :Path, :StreamIndex, :FontType, :FontSize, :FontColor, :FontAlpha, :YPos, :BoardY, :BoardWidth, :BoardHeight, :BoardColor, :BoardAlpha
23851
+
23852
+ def initialize(path=nil, streamindex=nil, fonttype=nil, fontsize=nil, fontcolor=nil, fontalpha=nil, ypos=nil, boardy=nil, boardwidth=nil, boardheight=nil, boardcolor=nil, boardalpha=nil)
23790
23853
  @Path = path
23791
23854
  @StreamIndex = streamindex
23792
23855
  @FontType = fonttype
23793
23856
  @FontSize = fontsize
23794
23857
  @FontColor = fontcolor
23795
23858
  @FontAlpha = fontalpha
23859
+ @YPos = ypos
23860
+ @BoardY = boardy
23861
+ @BoardWidth = boardwidth
23862
+ @BoardHeight = boardheight
23863
+ @BoardColor = boardcolor
23864
+ @BoardAlpha = boardalpha
23796
23865
  end
23797
23866
 
23798
23867
  def deserialize(params)
@@ -23802,6 +23871,12 @@ module TencentCloud
23802
23871
  @FontSize = params['FontSize']
23803
23872
  @FontColor = params['FontColor']
23804
23873
  @FontAlpha = params['FontAlpha']
23874
+ @YPos = params['YPos']
23875
+ @BoardY = params['BoardY']
23876
+ @BoardWidth = params['BoardWidth']
23877
+ @BoardHeight = params['BoardHeight']
23878
+ @BoardColor = params['BoardColor']
23879
+ @BoardAlpha = params['BoardAlpha']
23805
23880
  end
23806
23881
  end
23807
23882
 
@@ -25737,10 +25812,10 @@ module TencentCloud
25737
25812
  # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
25738
25813
  # @type UpdateTime: String
25739
25814
  # @param CoordinateOrigin: 原点位置,可选值:
25740
- # <li>topLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
25741
- # <li>topRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>
25742
- # <li>bottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
25743
- # <li>bottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下。;</li>
25815
+ # <li>TopLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
25816
+ # <li>TopRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>
25817
+ # <li>BottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
25818
+ # <li>BottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下角。</li>
25744
25819
  # @type CoordinateOrigin: String
25745
25820
 
25746
25821
  attr_accessor :Definition, :Type, :Name, :Comment, :XPos, :YPos, :ImageTemplate, :TextTemplate, :SvgTemplate, :CreateTime, :UpdateTime, :CoordinateOrigin
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1085
4
+ version: 3.0.1090
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-19 00:00:00.000000000 Z
11
+ date: 2025-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common