Class: TencentCloud::Ticm::V20181127::VodVideoStreamItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181127/models.rb

Overview

文件视频流信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil) ⇒ VodVideoStreamItem

Returns a new instance of VodVideoStreamItem.



1280
1281
1282
1283
1284
1285
1286
# File 'lib/v20181127/models.rb', line 1280

def initialize(bitrate=nil, height=nil, width=nil, codec=nil, fps=nil)
  @Bitrate = bitrate
  @Height = height
  @Width = width
  @Codec = codec
  @Fps = fps
end

Instance Attribute Details

#BitrateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Bitrate:

    视频流的码率,单位:bps。

  • Height:

    视频流的高度,单位:px。

  • Width:

    视频流的宽度,单位:px。

  • Codec:

    视频流的编码格式,例如 h264。

  • Fps:

    帧率,单位:hz。



1278
1279
1280
# File 'lib/v20181127/models.rb', line 1278

def Bitrate
  @Bitrate
end

#CodecObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Bitrate:

    视频流的码率,单位:bps。

  • Height:

    视频流的高度,单位:px。

  • Width:

    视频流的宽度,单位:px。

  • Codec:

    视频流的编码格式,例如 h264。

  • Fps:

    帧率,单位:hz。



1278
1279
1280
# File 'lib/v20181127/models.rb', line 1278

def Codec
  @Codec
end

#FpsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Bitrate:

    视频流的码率,单位:bps。

  • Height:

    视频流的高度,单位:px。

  • Width:

    视频流的宽度,单位:px。

  • Codec:

    视频流的编码格式,例如 h264。

  • Fps:

    帧率,单位:hz。



1278
1279
1280
# File 'lib/v20181127/models.rb', line 1278

def Fps
  @Fps
end

#HeightObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Bitrate:

    视频流的码率,单位:bps。

  • Height:

    视频流的高度,单位:px。

  • Width:

    视频流的宽度,单位:px。

  • Codec:

    视频流的编码格式,例如 h264。

  • Fps:

    帧率,单位:hz。



1278
1279
1280
# File 'lib/v20181127/models.rb', line 1278

def Height
  @Height
end

#WidthObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Bitrate:

    视频流的码率,单位:bps。

  • Height:

    视频流的高度,单位:px。

  • Width:

    视频流的宽度,单位:px。

  • Codec:

    视频流的编码格式,例如 h264。

  • Fps:

    帧率,单位:hz。



1278
1279
1280
# File 'lib/v20181127/models.rb', line 1278

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



1288
1289
1290
1291
1292
1293
1294
# File 'lib/v20181127/models.rb', line 1288

def deserialize(params)
  @Bitrate = params['Bitrate']
  @Height = params['Height']
  @Width = params['Width']
  @Codec = params['Codec']
  @Fps = params['Fps']
end