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.
21321 21322 21323 21324 |
# File 'lib/v20180717/models.rb', line 21321 def initialize(codec=nil, fps=nil) @Codec = codec @Fps = fps end |
Instance Attribute Details
#Codec ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
21319 21320 21321 |
# File 'lib/v20180717/models.rb', line 21319 def Codec @Codec end |
#Fps ⇒ Object
<li>libx264:H.264 编码 </li> 默认值:libx264。默认值:0,表示和第一个视频轨的第一个视频片段的视频帧率一致。
21319 21320 21321 |
# File 'lib/v20180717/models.rb', line 21319 def Fps @Fps end |
Instance Method Details
#deserialize(params) ⇒ Object
21326 21327 21328 21329 |
# File 'lib/v20180717/models.rb', line 21326 def deserialize(params) @Codec = params['Codec'] @Fps = params['Fps'] end |