Class: TencentCloud::Bda::V20200324::VideoBasicInformation

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

Overview

视频基础信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(framewidth = nil, frameheight = nil, framespersecond = nil, duration = nil, totalframes = nil) ⇒ VideoBasicInformation

Returns a new instance of VideoBasicInformation.



1807
1808
1809
1810
1811
1812
1813
# File 'lib/v20200324/models.rb', line 1807

def initialize(framewidth=nil, frameheight=nil, framespersecond=nil, duration=nil, totalframes=nil)
  @FrameWidth = framewidth
  @FrameHeight = frameheight
  @FramesPerSecond = framespersecond
  @Duration = duration
  @TotalFrames = totalframes
end

Instance Attribute Details

#DurationObject

Parameters:

  • FrameWidth:

    视频宽度

  • FrameHeight:

    视频高度

  • FramesPerSecond:

    视频帧速率(FPS)

  • Duration:

    视频时长

  • TotalFrames:

    视频帧数



1805
1806
1807
# File 'lib/v20200324/models.rb', line 1805

def Duration
  @Duration
end

#FrameHeightObject

Parameters:

  • FrameWidth:

    视频宽度

  • FrameHeight:

    视频高度

  • FramesPerSecond:

    视频帧速率(FPS)

  • Duration:

    视频时长

  • TotalFrames:

    视频帧数



1805
1806
1807
# File 'lib/v20200324/models.rb', line 1805

def FrameHeight
  @FrameHeight
end

#FramesPerSecondObject

Parameters:

  • FrameWidth:

    视频宽度

  • FrameHeight:

    视频高度

  • FramesPerSecond:

    视频帧速率(FPS)

  • Duration:

    视频时长

  • TotalFrames:

    视频帧数



1805
1806
1807
# File 'lib/v20200324/models.rb', line 1805

def FramesPerSecond
  @FramesPerSecond
end

#FrameWidthObject

Parameters:

  • FrameWidth:

    视频宽度

  • FrameHeight:

    视频高度

  • FramesPerSecond:

    视频帧速率(FPS)

  • Duration:

    视频时长

  • TotalFrames:

    视频帧数



1805
1806
1807
# File 'lib/v20200324/models.rb', line 1805

def FrameWidth
  @FrameWidth
end

#TotalFramesObject

Parameters:

  • FrameWidth:

    视频宽度

  • FrameHeight:

    视频高度

  • FramesPerSecond:

    视频帧速率(FPS)

  • Duration:

    视频时长

  • TotalFrames:

    视频帧数



1805
1806
1807
# File 'lib/v20200324/models.rb', line 1805

def TotalFrames
  @TotalFrames
end

Instance Method Details

#deserialize(params) ⇒ Object



1815
1816
1817
1818
1819
1820
1821
# File 'lib/v20200324/models.rb', line 1815

def deserialize(params)
  @FrameWidth = params['FrameWidth']
  @FrameHeight = params['FrameHeight']
  @FramesPerSecond = params['FramesPerSecond']
  @Duration = params['Duration']
  @TotalFrames = params['TotalFrames']
end