Class: TencentCloud::Mps::V20190612::MediaVideoStreamItem

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

Overview

点播文件视频流信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil, colorprimaries = nil, colorspace = nil, colortransfer = nil, hdrtype = nil, codecs = nil, fpsnumerator = nil, fpsdenominator = nil) ⇒ MediaVideoStreamItem

Returns a new instance of MediaVideoStreamItem.



18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
# File 'lib/v20190612/models.rb', line 18880

def initialize(bitrate=nil, height=nil, width=nil, codec=nil, fps=nil, colorprimaries=nil, colorspace=nil, colortransfer=nil, hdrtype=nil, codecs=nil, fpsnumerator=nil, fpsdenominator=nil)
  @Bitrate = bitrate
  @Height = height
  @Width = width
  @Codec = codec
  @Fps = fps
  @ColorPrimaries = colorprimaries
  @ColorSpace = colorspace
  @ColorTransfer = colortransfer
  @HdrType = hdrtype
  @Codecs = codecs
  @FpsNumerator = fpsnumerator
  @FpsDenominator = fpsdenominator
end

Instance Attribute Details

#BitrateObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Bitrate
  @Bitrate
end

#CodecObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Codec
  @Codec
end

#CodecsObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Codecs
  @Codecs
end

#ColorPrimariesObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def ColorPrimaries
  @ColorPrimaries
end

#ColorSpaceObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def ColorSpace
  @ColorSpace
end

#ColorTransferObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def ColorTransfer
  @ColorTransfer
end

#FpsObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Fps
  @Fps
end

#FpsDenominatorObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def FpsDenominator
  @FpsDenominator
end

#FpsNumeratorObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def FpsNumerator
  @FpsNumerator
end

#HdrTypeObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def HdrType
  @HdrType
end

#HeightObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Height
  @Height
end

#WidthObject

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

Parameters:

  • Bitrate:

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

  • Height:

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

  • Width:

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

  • Codec:

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

  • Fps:

    帧率,单位:hz。

  • ColorPrimaries:

    色彩空间。

  • ColorSpace:

    色彩空间。

  • ColorTransfer:

    色彩空间。

  • HdrType:

    HDR类型。

  • Codecs:

    视频Codecs。

  • FpsNumerator:

    帧率分子部分

  • FpsDenominator:

    帧率分母部分



18878
18879
18880
# File 'lib/v20190612/models.rb', line 18878

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
# File 'lib/v20190612/models.rb', line 18895

def deserialize(params)
  @Bitrate = params['Bitrate']
  @Height = params['Height']
  @Width = params['Width']
  @Codec = params['Codec']
  @Fps = params['Fps']
  @ColorPrimaries = params['ColorPrimaries']
  @ColorSpace = params['ColorSpace']
  @ColorTransfer = params['ColorTransfer']
  @HdrType = params['HdrType']
  @Codecs = params['Codecs']
  @FpsNumerator = params['FpsNumerator']
  @FpsDenominator = params['FpsDenominator']
end