Class: TencentCloud::Mps::V20190612::MediaTranscodeItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::MediaTranscodeItem
- Defined in:
- lib/v20190612/models.rb
Overview
转码信息
Instance Attribute Summary collapse
-
#AudioStreamSet ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Bitrate ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#CallBackExtInfo ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Container ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Definition ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Duration ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Height ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Md5 ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#OutputStorage ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Path ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Size ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#VideoStreamSet ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。. -
#Width ⇒ Object
- hdr:HDR配置
- wd_fps:插帧帧率配置
- video_super_resolution: 超分配置
- repair:综合增强配置
- denoise:视频降噪配置
- color_enhance:色彩增强配置
- scratch:去划痕配置
- artifact:去伪影(毛刺)配置
- sharp:细节增强配置
- low_light:低光照增强配置
- face_enhance:人脸增强配置
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(outputstorage = nil, path = nil, definition = nil, bitrate = nil, height = nil, width = nil, size = nil, duration = nil, container = nil, md5 = nil, audiostreamset = nil, videostreamset = nil, callbackextinfo = nil) ⇒ MediaTranscodeItem
constructor
A new instance of MediaTranscodeItem.
Constructor Details
#initialize(outputstorage = nil, path = nil, definition = nil, bitrate = nil, height = nil, width = nil, size = nil, duration = nil, container = nil, md5 = nil, audiostreamset = nil, videostreamset = nil, callbackextinfo = nil) ⇒ MediaTranscodeItem
Returns a new instance of MediaTranscodeItem.
21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 |
# File 'lib/v20190612/models.rb', line 21252 def initialize(outputstorage=nil, path=nil, definition=nil, bitrate=nil, height=nil, width=nil, size=nil, duration=nil, container=nil, md5=nil, audiostreamset=nil, videostreamset=nil, callbackextinfo=nil) @OutputStorage = outputstorage @Path = path @Definition = definition @Bitrate = bitrate @Height = height @Width = width @Size = size @Duration = duration @Container = container @Md5 = md5 @AudioStreamSet = audiostreamset @VideoStreamSet = videostreamset @CallBackExtInfo = callbackextinfo end |
Instance Attribute Details
#AudioStreamSet ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def AudioStreamSet @AudioStreamSet end |
#Bitrate ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Bitrate @Bitrate end |
#CallBackExtInfo ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def CallBackExtInfo @CallBackExtInfo end |
#Container ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Container @Container end |
#Definition ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Definition @Definition end |
#Duration ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Duration @Duration end |
#Height ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Height @Height end |
#Md5 ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Md5 @Md5 end |
#OutputStorage ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def OutputStorage @OutputStorage end |
#Path ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Path @Path end |
#Size ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Size @Size end |
#VideoStreamSet ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def VideoStreamSet @VideoStreamSet end |
#Width ⇒ Object
21250 21251 21252 |
# File 'lib/v20190612/models.rb', line 21250 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 |
# File 'lib/v20190612/models.rb', line 21268 def deserialize(params) unless params['OutputStorage'].nil? @OutputStorage = TaskOutputStorage.new @OutputStorage.deserialize(params['OutputStorage']) end @Path = params['Path'] @Definition = params['Definition'] @Bitrate = params['Bitrate'] @Height = params['Height'] @Width = params['Width'] @Size = params['Size'] @Duration = params['Duration'] @Container = params['Container'] @Md5 = params['Md5'] unless params['AudioStreamSet'].nil? @AudioStreamSet = [] params['AudioStreamSet'].each do |i| mediaaudiostreamitem_tmp = MediaAudioStreamItem.new mediaaudiostreamitem_tmp.deserialize(i) @AudioStreamSet << mediaaudiostreamitem_tmp end end unless params['VideoStreamSet'].nil? @VideoStreamSet = [] params['VideoStreamSet'].each do |i| mediavideostreamitem_tmp = MediaVideoStreamItem.new mediavideostreamitem_tmp.deserialize(i) @VideoStreamSet << mediavideostreamitem_tmp end end @CallBackExtInfo = params['CallBackExtInfo'] end |