Class: TencentCloud::Vod::V20180717::OutputVideoStream
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::OutputVideoStream
- Defined in:
- lib/v20180717/models.rb
Overview
输出的视频流信息
Instance Attribute Summary collapse
-
#Codec ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。 默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。.
-
#Fps ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。 默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(codec = nil, fps = nil) ⇒ OutputVideoStream
constructor
A new instance of OutputVideoStream.
Constructor Details
#initialize(codec = nil, fps = nil) ⇒ OutputVideoStream
Returns a new instance of OutputVideoStream.
21319 21320 21321 21322 |
# File 'lib/v20180717/models.rb', line 21319 def initialize(codec=nil, fps=nil) @Codec = codec @Fps = fps end |
Instance Attribute Details
#Codec ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
21317 21318 21319 |
# File 'lib/v20180717/models.rb', line 21317 def Codec @Codec end |
#Fps ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
21317 21318 21319 |
# File 'lib/v20180717/models.rb', line 21317 def Fps @Fps end |
Instance Method Details
#deserialize(params) ⇒ Object
21324 21325 21326 21327 |
# File 'lib/v20180717/models.rb', line 21324 def deserialize(params) @Codec = params['Codec'] @Fps = params['Fps'] end |