tencentcloud-sdk-ie 1.0.347 → 1.0.348

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/v20200304/models.rb +286 -23
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c28f0348cfe194b6083b0c2ba0fbd344315e8240
4
- data.tar.gz: 8a477032d9ff7dd1a4b743ae02d836de80dd103e
3
+ metadata.gz: 719845bd294117c86c9d5dad2bdccda948c362f6
4
+ data.tar.gz: a4e0bbf17867f6ca0d8df61fc47411d01c8e4b2b
5
5
  SHA512:
6
- metadata.gz: 2bf5b25398aa998f7832b8e3b3325ba954ce712e4c5aab9e7e9a0eb477c06030ee2e5b62f0b7c6a0a6605228bfda9174937ae034df3d755024acedefe595ea59
7
- data.tar.gz: 11f242b366b55a020210eeb7fa39e8414044035a8a11aafa109bb2f5a981defe433f668b437f90f86a48dbbe361fde2cb89778155ae078e4be23bb9a9f136afb
6
+ metadata.gz: 47ac45a2f04048d82f1e9c75fd6dec2cfc210c6ae8b70d1d405168a3223342204a62b456329dbbd1f376b91881142a7a922a134a82f08026c05ad9e42e323826
7
+ data.tar.gz: 36d236691b6292dbcf1bf7f69068c62bf8c7ea2936c2797b8d831026396d04b81c87b44b50f3c386a98dde306fd02c286720a158116ac7fd25261763ce283db4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.347
1
+ 1.0.348
@@ -936,6 +936,24 @@ module TencentCloud
936
936
  end
937
937
  end
938
938
 
939
+ # 动图参数
940
+ class DynamicImageInfo < TencentCloud::Common::AbstractModel
941
+ # @param Quality: 画面质量,范围:1~100。
942
+ # <li>对于webp格式,默认:75</li>
943
+ # <li>对于gif格式,小于10为低质量,大于50为高质量,其它为普通。默认:低质量。</li>
944
+ # @type Quality: Integer
945
+
946
+ attr_accessor :Quality
947
+
948
+ def initialize(quality=nil)
949
+ @Quality = quality
950
+ end
951
+
952
+ def deserialize(params)
953
+ @Quality = params['Quality']
954
+ end
955
+ end
956
+
939
957
  # 画质重生子任务视频剪辑参数
940
958
  class EditInfo < TencentCloud::Common::AbstractModel
941
959
  # @param StartTime: 剪辑开始时间,单位:ms。
@@ -1445,7 +1463,8 @@ module TencentCloud
1445
1463
  end
1446
1464
  end
1447
1465
 
1448
- # 编辑处理/剪切任务信息
1466
+ # 编辑处理/剪切任务信息。
1467
+ # 截图结果默认存在 SaveInfoSet 的第一个存储位置。
1449
1468
  class MediaCuttingInfo < TencentCloud::Common::AbstractModel
1450
1469
  # @param TimeInfo: 截取时间信息。
1451
1470
  # @type TimeInfo: :class:`Tencentcloud::Ie.v20200304.models.MediaCuttingTimeInfo`
@@ -1454,17 +1473,24 @@ module TencentCloud
1454
1473
  # @param OutForm: 截取结果形式信息。
1455
1474
  # @type OutForm: :class:`Tencentcloud::Ie.v20200304.models.MediaCuttingOutForm`
1456
1475
  # @param ResultListSaveType: 列表文件形式,存储到用户存储服务中,可选值:
1457
- # UseSaveInfo:默认,结果列表和结果存储同一位置;
1458
- # NoListFile:不存储结果列表。
1476
+ # <li>NoListFile:不存储结果列表; </li>
1477
+ # <li>UseSaveInfo:默认,结果列表和结果存储同一位置(即SaveInfoSet 的第一个存储位置);</li>
1478
+ # <li>SaveInfoSet 存储的Id:存储在指定的存储位置。</li>
1459
1479
  # @type ResultListSaveType: String
1480
+ # @param WatermarkInfoSet: 水印信息,最多支持 10 个水印。
1481
+ # @type WatermarkInfoSet: Array
1482
+ # @param DropPureColor: 是否去除纯色截图,如果值为 True ,对应时间点的截图如果是纯色,将略过。
1483
+ # @type DropPureColor: String
1460
1484
 
1461
- attr_accessor :TimeInfo, :TargetInfo, :OutForm, :ResultListSaveType
1485
+ attr_accessor :TimeInfo, :TargetInfo, :OutForm, :ResultListSaveType, :WatermarkInfoSet, :DropPureColor
1462
1486
 
1463
- def initialize(timeinfo=nil, targetinfo=nil, outform=nil, resultlistsavetype=nil)
1487
+ def initialize(timeinfo=nil, targetinfo=nil, outform=nil, resultlistsavetype=nil, watermarkinfoset=nil, droppurecolor=nil)
1464
1488
  @TimeInfo = timeinfo
1465
1489
  @TargetInfo = targetinfo
1466
1490
  @OutForm = outform
1467
1491
  @ResultListSaveType = resultlistsavetype
1492
+ @WatermarkInfoSet = watermarkinfoset
1493
+ @DropPureColor = droppurecolor
1468
1494
  end
1469
1495
 
1470
1496
  def deserialize(params)
@@ -1481,6 +1507,15 @@ module TencentCloud
1481
1507
  @OutForm.deserialize(params['OutForm'])
1482
1508
  end
1483
1509
  @ResultListSaveType = params['ResultListSaveType']
1510
+ unless params['WatermarkInfoSet'].nil?
1511
+ @WatermarkInfoSet = []
1512
+ params['WatermarkInfoSet'].each do |i|
1513
+ mediacuttingwatermark_tmp = MediaCuttingWatermark.new
1514
+ mediacuttingwatermark_tmp.deserialize(i)
1515
+ @WatermarkInfoSet << mediacuttingwatermark_tmp
1516
+ end
1517
+ end
1518
+ @DropPureColor = params['DropPureColor']
1484
1519
  end
1485
1520
  end
1486
1521
 
@@ -1507,18 +1542,24 @@ module TencentCloud
1507
1542
  # Gaussian:高斯模糊;
1508
1543
  # 默认White。
1509
1544
  # @type FillType: String
1510
- # @param SpriteRowCount: Type=Sprite时有效,表示雪碧图行数,范围为 [1,200],默认100。
1545
+ # @param SpriteRowCount: 【废弃】参考SpriteInfo
1511
1546
  # @type SpriteRowCount: Integer
1512
- # @param SpriteColumnCount: Type=Sprite时有效,表示雪碧图列数,范围为 [1,200],默认100。
1547
+ # @param SpriteColumnCount: 【废弃】参考SpriteInfo
1513
1548
  # @type SpriteColumnCount: Integer
1549
+ # @param SpriteInfo: Type=Sprite时有效,表示雪碧图参数信息。
1550
+ # @type SpriteInfo: :class:`Tencentcloud::Ie.v20200304.models.SpriteImageInfo`
1551
+ # @param DynamicInfo: Type=Dynamic时有效,表示动图参数信息。
1552
+ # @type DynamicInfo: :class:`Tencentcloud::Ie.v20200304.models.DynamicImageInfo`
1514
1553
 
1515
- attr_accessor :Type, :FillType, :SpriteRowCount, :SpriteColumnCount
1554
+ attr_accessor :Type, :FillType, :SpriteRowCount, :SpriteColumnCount, :SpriteInfo, :DynamicInfo
1516
1555
 
1517
- def initialize(type=nil, filltype=nil, spriterowcount=nil, spritecolumncount=nil)
1556
+ def initialize(type=nil, filltype=nil, spriterowcount=nil, spritecolumncount=nil, spriteinfo=nil, dynamicinfo=nil)
1518
1557
  @Type = type
1519
1558
  @FillType = filltype
1520
1559
  @SpriteRowCount = spriterowcount
1521
1560
  @SpriteColumnCount = spritecolumncount
1561
+ @SpriteInfo = spriteinfo
1562
+ @DynamicInfo = dynamicinfo
1522
1563
  end
1523
1564
 
1524
1565
  def deserialize(params)
@@ -1526,6 +1567,14 @@ module TencentCloud
1526
1567
  @FillType = params['FillType']
1527
1568
  @SpriteRowCount = params['SpriteRowCount']
1528
1569
  @SpriteColumnCount = params['SpriteColumnCount']
1570
+ unless params['SpriteInfo'].nil?
1571
+ @SpriteInfo = SpriteImageInfo.new
1572
+ @SpriteInfo.deserialize(params['SpriteInfo'])
1573
+ end
1574
+ unless params['DynamicInfo'].nil?
1575
+ @DynamicInfo = DynamicImageInfo.new
1576
+ @DynamicInfo.deserialize(params['DynamicInfo'])
1577
+ end
1529
1578
  end
1530
1579
  end
1531
1580
 
@@ -1543,14 +1592,21 @@ module TencentCloud
1543
1592
  # @param LastFile: 最后一个结果文件。
1544
1593
  # 注意:此字段可能返回 null,表示取不到有效值。
1545
1594
  # @type LastFile: :class:`Tencentcloud::Ie.v20200304.models.TaskResultFile`
1595
+ # @param ImageCount: 任务结果包含的图片总数。
1596
+ # 静态图:总数即为文件数;
1597
+ # 雪碧图:所有小图总数;
1598
+ # 动图、视频:不计算图片数,为 0。
1599
+ # 注意:此字段可能返回 null,表示取不到有效值。
1600
+ # @type ImageCount: Integer
1546
1601
 
1547
- attr_accessor :ListFile, :ResultCount, :FirstFile, :LastFile
1602
+ attr_accessor :ListFile, :ResultCount, :FirstFile, :LastFile, :ImageCount
1548
1603
 
1549
- def initialize(listfile=nil, resultcount=nil, firstfile=nil, lastfile=nil)
1604
+ def initialize(listfile=nil, resultcount=nil, firstfile=nil, lastfile=nil, imagecount=nil)
1550
1605
  @ListFile = listfile
1551
1606
  @ResultCount = resultcount
1552
1607
  @FirstFile = firstfile
1553
1608
  @LastFile = lastfile
1609
+ @ImageCount = imagecount
1554
1610
  end
1555
1611
 
1556
1612
  def deserialize(params)
@@ -1567,6 +1623,7 @@ module TencentCloud
1567
1623
  @LastFile = TaskResultFile.new
1568
1624
  @LastFile.deserialize(params['LastFile'])
1569
1625
  end
1626
+ @ImageCount = params['ImageCount']
1570
1627
  end
1571
1628
  end
1572
1629
 
@@ -1611,16 +1668,156 @@ module TencentCloud
1611
1668
  end
1612
1669
  end
1613
1670
 
1671
+ # 媒体剪切水印信息。
1672
+ class MediaCuttingWatermark < TencentCloud::Common::AbstractModel
1673
+ # @param Type: 水印类型,可选值:
1674
+ # <li>Image:图像水印;</li>
1675
+ # <li>Text:文字水印。</li>
1676
+ # @type Type: String
1677
+ # @param Image: 图像水印信息,当 Type=Image 时必选。
1678
+ # @type Image: :class:`Tencentcloud::Ie.v20200304.models.MediaCuttingWatermarkImage`
1679
+ # @param Text: 文字水印信息,当 Type=Text 时必选。
1680
+ # @type Text: :class:`Tencentcloud::Ie.v20200304.models.MediaCuttingWatermarkText`
1681
+
1682
+ attr_accessor :Type, :Image, :Text
1683
+
1684
+ def initialize(type=nil, image=nil, text=nil)
1685
+ @Type = type
1686
+ @Image = image
1687
+ @Text = text
1688
+ end
1689
+
1690
+ def deserialize(params)
1691
+ @Type = params['Type']
1692
+ unless params['Image'].nil?
1693
+ @Image = MediaCuttingWatermarkImage.new
1694
+ @Image.deserialize(params['Image'])
1695
+ end
1696
+ unless params['Text'].nil?
1697
+ @Text = MediaCuttingWatermarkText.new
1698
+ @Text.deserialize(params['Text'])
1699
+ end
1700
+ end
1701
+ end
1702
+
1703
+ # 媒体剪切图像水印参数。
1704
+ class MediaCuttingWatermarkImage < TencentCloud::Common::AbstractModel
1705
+ # @param SourceId: 水印源的ID,对应SourceInfoSet内的源。
1706
+ # 注意1:对应的 MediaSourceInfo.Type需要为Image。
1707
+ # 注意2:对于动图,只取第一帧图像作为水印源。
1708
+ # @type SourceId: String
1709
+ # @param PosX: 水印水平坐标,单位像素,默认:0。
1710
+ # @type PosX: Integer
1711
+ # @param PosY: 水印垂直坐标,单位像素,默认:0。
1712
+ # @type PosY: Integer
1713
+ # @param Width: 水印宽度,单位像素,默认:0。
1714
+ # @type Width: Integer
1715
+ # @param Height: 水印高度,单位像素,默认:0。
1716
+ # 注意:对于宽高符合以下规则:
1717
+ # 1、Width>0 且 Height>0,按指定宽高拉伸;
1718
+ # 2、Width=0 且 Height>0,以Height为基准等比缩放;
1719
+ # 3、Width>0 且 Height=0,以Width为基准等比缩放;
1720
+ # 4、Width=0 且 Height=0,采用源的宽高。
1721
+ # @type Height: Integer
1722
+ # @param PosOriginType: 指定坐标原点,可选值:
1723
+ # <li>LeftTop:PosXY 表示水印左上点到图片左上点的相对位置</li>
1724
+ # <li>RightTop:PosXY 表示水印右上点到图片右上点的相对位置</li>
1725
+ # <li>LeftBottom:PosXY 表示水印左下点到图片左下点的相对位置</li>
1726
+ # <li>RightBottom:PosXY 表示水印右下点到图片右下点的相对位置</li>
1727
+ # <li>Center:PosXY 表示水印中心点到图片中心点的相对位置</li>
1728
+ # 默认:LeftTop。
1729
+ # @type PosOriginType: String
1730
+
1731
+ attr_accessor :SourceId, :PosX, :PosY, :Width, :Height, :PosOriginType
1732
+
1733
+ def initialize(sourceid=nil, posx=nil, posy=nil, width=nil, height=nil, posorigintype=nil)
1734
+ @SourceId = sourceid
1735
+ @PosX = posx
1736
+ @PosY = posy
1737
+ @Width = width
1738
+ @Height = height
1739
+ @PosOriginType = posorigintype
1740
+ end
1741
+
1742
+ def deserialize(params)
1743
+ @SourceId = params['SourceId']
1744
+ @PosX = params['PosX']
1745
+ @PosY = params['PosY']
1746
+ @Width = params['Width']
1747
+ @Height = params['Height']
1748
+ @PosOriginType = params['PosOriginType']
1749
+ end
1750
+ end
1751
+
1752
+ # 媒体剪切文字水印参数。
1753
+ class MediaCuttingWatermarkText < TencentCloud::Common::AbstractModel
1754
+ # @param Text: 水印文字。
1755
+ # @type Text: String
1756
+ # @param FontSize: 文字大小
1757
+ # @type FontSize: Integer
1758
+ # @param PosX: 水印水平坐标,单位像素,默认:0。
1759
+ # @type PosX: Integer
1760
+ # @param PosY: 水印垂直坐标,单位像素,默认:0。
1761
+ # @type PosY: Integer
1762
+ # @param FontColor: 文字颜色,格式为:#RRGGBBAA,默认值:#000000。
1763
+ # @type FontColor: String
1764
+ # @param FontAlpha: 文字透明度,范围:0~100,默认值:100。
1765
+ # @type FontAlpha: Integer
1766
+ # @param PosOriginType: 指定坐标原点,可选值:
1767
+ # <li>LeftTop:PosXY 表示水印左上点到图片左上点的相对位置</li>
1768
+ # <li>RightTop:PosXY 表示水印右上点到图片右上点的相对位置</li>
1769
+ # <li>LeftBottom:PosXY 表示水印左下点到图片左下点的相对位置</li>
1770
+ # <li>RightBottom:PosXY 表示水印右下点到图片右下点的相对位置</li>
1771
+ # <li>Center:PosXY 表示水印中心点到图片中心点的相对位置</li>
1772
+ # 默认:LeftTop。
1773
+ # @type PosOriginType: String
1774
+ # @param Font: 字体,可选值:
1775
+ # <li>SimHei</li>
1776
+ # <li>SimKai</li>
1777
+ # <li>Arial</li>
1778
+ # 默认 SimHei。
1779
+ # @type Font: String
1780
+
1781
+ attr_accessor :Text, :FontSize, :PosX, :PosY, :FontColor, :FontAlpha, :PosOriginType, :Font
1782
+
1783
+ def initialize(text=nil, fontsize=nil, posx=nil, posy=nil, fontcolor=nil, fontalpha=nil, posorigintype=nil, font=nil)
1784
+ @Text = text
1785
+ @FontSize = fontsize
1786
+ @PosX = posx
1787
+ @PosY = posy
1788
+ @FontColor = fontcolor
1789
+ @FontAlpha = fontalpha
1790
+ @PosOriginType = posorigintype
1791
+ @Font = font
1792
+ end
1793
+
1794
+ def deserialize(params)
1795
+ @Text = params['Text']
1796
+ @FontSize = params['FontSize']
1797
+ @PosX = params['PosX']
1798
+ @PosY = params['PosY']
1799
+ @FontColor = params['FontColor']
1800
+ @FontAlpha = params['FontAlpha']
1801
+ @PosOriginType = params['PosOriginType']
1802
+ @Font = params['Font']
1803
+ end
1804
+ end
1805
+
1614
1806
  # 编辑处理/拼接任务信息
1615
1807
  class MediaJoiningInfo < TencentCloud::Common::AbstractModel
1616
1808
  # @param TargetInfo: 输出目标信息,拼接只采用FileName和Format,用于指定目标文件名和格式。
1617
1809
  # 其中Format只支持mp4.
1618
1810
  # @type TargetInfo: :class:`Tencentcloud::Ie.v20200304.models.MediaTargetInfo`
1811
+ # @param Mode: 拼接模式:
1812
+ # Fast:快速;
1813
+ # Normal:正常;
1814
+ # @type Mode: String
1619
1815
 
1620
- attr_accessor :TargetInfo
1816
+ attr_accessor :TargetInfo, :Mode
1621
1817
 
1622
- def initialize(targetinfo=nil)
1818
+ def initialize(targetinfo=nil, mode=nil)
1623
1819
  @TargetInfo = targetinfo
1820
+ @Mode = mode
1624
1821
  end
1625
1822
 
1626
1823
  def deserialize(params)
@@ -1628,6 +1825,7 @@ module TencentCloud
1628
1825
  @TargetInfo = MediaTargetInfo.new
1629
1826
  @TargetInfo.deserialize(params['TargetInfo'])
1630
1827
  end
1828
+ @Mode = params['Mode']
1631
1829
  end
1632
1830
  end
1633
1831
 
@@ -1931,9 +2129,7 @@ module TencentCloud
1931
2129
  # @type Format: String
1932
2130
  # @param TargetVideoInfo: 视频流信息。
1933
2131
  # @type TargetVideoInfo: :class:`Tencentcloud::Ie.v20200304.models.TargetVideoInfo`
1934
- # @param ResultListSaveType: 【不再使用】 对于多输出任务,部分子服务推荐结果信息以列表文件形式,存储到用户存储服务中,可选值:
1935
- # UseSaveInfo:默认,结果列表和结果存储同一位置;
1936
- # NoListFile:不存储结果列表。
2132
+ # @param ResultListSaveType: 【不再使用】
1937
2133
  # @type ResultListSaveType: String
1938
2134
 
1939
2135
  attr_accessor :FileName, :Format, :TargetVideoInfo, :ResultListSaveType
@@ -2457,7 +2653,7 @@ module TencentCloud
2457
2653
  # @param Height: 画面高度
2458
2654
  # 注意:此字段可能返回 null,表示取不到有效值。
2459
2655
  # @type Height: Integer
2460
- # @param Fps: 视频帧率
2656
+ # @param Fps: 视频帧率,如果高于原始帧率,部分服务将无效。
2461
2657
  # 注意:此字段可能返回 null,表示取不到有效值。
2462
2658
  # @type Fps: Integer
2463
2659
 
@@ -2487,12 +2683,16 @@ module TencentCloud
2487
2683
  # @type Type: Integer
2488
2684
  # @param CosInfo: Cos形式存储信息,当Type等于1时必选。
2489
2685
  # @type CosInfo: :class:`Tencentcloud::Ie.v20200304.models.CosInfo`
2686
+ # @param Id: 存储信息ID标记,用于多个输出场景。部分任务支持多输出时,一般要求必选。
2687
+ # ID只能包含字母、数字、下划线、中划线,长读不能超过128。
2688
+ # @type Id: String
2490
2689
 
2491
- attr_accessor :Type, :CosInfo
2690
+ attr_accessor :Type, :CosInfo, :Id
2492
2691
 
2493
- def initialize(type=nil, cosinfo=nil)
2692
+ def initialize(type=nil, cosinfo=nil, id=nil)
2494
2693
  @Type = type
2495
2694
  @CosInfo = cosinfo
2695
+ @Id = id
2496
2696
  end
2497
2697
 
2498
2698
  def deserialize(params)
@@ -2501,6 +2701,7 @@ module TencentCloud
2501
2701
  @CosInfo = CosInfo.new
2502
2702
  @CosInfo.deserialize(params['CosInfo'])
2503
2703
  end
2704
+ @Id = params['Id']
2504
2705
  end
2505
2706
  end
2506
2707
 
@@ -2590,6 +2791,63 @@ module TencentCloud
2590
2791
  end
2591
2792
  end
2592
2793
 
2794
+ # 雪碧图参数信息
2795
+ # 注意:雪碧图大图整体的宽和高都不能大于 65000 像素。
2796
+ class SpriteImageInfo < TencentCloud::Common::AbstractModel
2797
+ # @param RowCount: 表示雪碧图行数,默认:10。
2798
+ # @type RowCount: Integer
2799
+ # @param ColumnCount: 表示雪碧图列数,默认:10。
2800
+ # @type ColumnCount: Integer
2801
+ # @param MarginTop: 第一行元素与顶部像素距离,默认:0。
2802
+ # @type MarginTop: Integer
2803
+ # @param MarginBottom: 最后一行元素与底部像素距离,默认:0。
2804
+ # @type MarginBottom: Integer
2805
+ # @param MarginLeft: 最左一行元素与左边像素距离,默认:0。
2806
+ # @type MarginLeft: Integer
2807
+ # @param MarginRight: 最右一行元素与右边像素距离,默认:0。
2808
+ # @type MarginRight: Integer
2809
+ # @param PaddingTop: 小图与元素顶部像素距离,默认:0。
2810
+ # @type PaddingTop: Integer
2811
+ # @param PaddingBottom: 小图与元素底部像素距离,默认:0。
2812
+ # @type PaddingBottom: Integer
2813
+ # @param PaddingLeft: 小图与元素左边像素距离,默认:0。
2814
+ # @type PaddingLeft: Integer
2815
+ # @param PaddingRight: 小图与元素右边像素距离,默认:0。
2816
+ # @type PaddingRight: Integer
2817
+ # @param BackgroundColor: 背景颜色,格式:#RRGGBB,默认:#FFFFFF。
2818
+ # @type BackgroundColor: String
2819
+
2820
+ attr_accessor :RowCount, :ColumnCount, :MarginTop, :MarginBottom, :MarginLeft, :MarginRight, :PaddingTop, :PaddingBottom, :PaddingLeft, :PaddingRight, :BackgroundColor
2821
+
2822
+ def initialize(rowcount=nil, columncount=nil, margintop=nil, marginbottom=nil, marginleft=nil, marginright=nil, paddingtop=nil, paddingbottom=nil, paddingleft=nil, paddingright=nil, backgroundcolor=nil)
2823
+ @RowCount = rowcount
2824
+ @ColumnCount = columncount
2825
+ @MarginTop = margintop
2826
+ @MarginBottom = marginbottom
2827
+ @MarginLeft = marginleft
2828
+ @MarginRight = marginright
2829
+ @PaddingTop = paddingtop
2830
+ @PaddingBottom = paddingbottom
2831
+ @PaddingLeft = paddingleft
2832
+ @PaddingRight = paddingright
2833
+ @BackgroundColor = backgroundcolor
2834
+ end
2835
+
2836
+ def deserialize(params)
2837
+ @RowCount = params['RowCount']
2838
+ @ColumnCount = params['ColumnCount']
2839
+ @MarginTop = params['MarginTop']
2840
+ @MarginBottom = params['MarginBottom']
2841
+ @MarginLeft = params['MarginLeft']
2842
+ @MarginRight = params['MarginRight']
2843
+ @PaddingTop = params['PaddingTop']
2844
+ @PaddingBottom = params['PaddingBottom']
2845
+ @PaddingLeft = params['PaddingLeft']
2846
+ @PaddingRight = params['PaddingRight']
2847
+ @BackgroundColor = params['BackgroundColor']
2848
+ end
2849
+ end
2850
+
2593
2851
  # StopMediaProcessTask请求参数结构体
2594
2852
  class StopMediaProcessTaskRequest < TencentCloud::Common::AbstractModel
2595
2853
  # @param TaskId: 编辑处理任务ID。
@@ -3077,9 +3335,9 @@ module TencentCloud
3077
3335
 
3078
3336
  # 目标视频信息。
3079
3337
  class TargetVideoInfo < TencentCloud::Common::AbstractModel
3080
- # @param Width: 视频宽度,单位像素
3338
+ # @param Width: 视频宽度,单位像素,一般要求是偶数,否则会向下对齐。
3081
3339
  # @type Width: Integer
3082
- # @param Height: 视频高度,单位像素
3340
+ # @param Height: 视频高度,单位像素,一般要求是偶数,否则会向下对齐。
3083
3341
  # @type Height: Integer
3084
3342
  # @param FrameRate: 视频帧率,范围在1到120之间
3085
3343
  # @type FrameRate: Integer
@@ -3110,13 +3368,17 @@ module TencentCloud
3110
3368
  # @param MediaInfo: 媒体信息,对于媒体文件,部分任务支持返回
3111
3369
  # 注意:此字段可能返回 null,表示取不到有效值。
3112
3370
  # @type MediaInfo: :class:`Tencentcloud::Ie.v20200304.models.MediaResultInfo`
3371
+ # @param Md5: 文件对应的md5。
3372
+ # 注意:此字段可能返回 null,表示取不到有效值。
3373
+ # @type Md5: String
3113
3374
 
3114
- attr_accessor :Url, :FileSize, :MediaInfo
3375
+ attr_accessor :Url, :FileSize, :MediaInfo, :Md5
3115
3376
 
3116
- def initialize(url=nil, filesize=nil, mediainfo=nil)
3377
+ def initialize(url=nil, filesize=nil, mediainfo=nil, md5=nil)
3117
3378
  @Url = url
3118
3379
  @FileSize = filesize
3119
3380
  @MediaInfo = mediainfo
3381
+ @Md5 = md5
3120
3382
  end
3121
3383
 
3122
3384
  def deserialize(params)
@@ -3126,6 +3388,7 @@ module TencentCloud
3126
3388
  @MediaInfo = MediaResultInfo.new
3127
3389
  @MediaInfo.deserialize(params['MediaInfo'])
3128
3390
  end
3391
+ @Md5 = params['Md5']
3129
3392
  end
3130
3393
  end
3131
3394
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.347
4
+ version: 1.0.348
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-03 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common