Class: Kaltura::KalturaMediaInfo

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#audio_bit_rateObject

The audio bit rate



4148
4149
4150
# File 'lib/kaltura_types.rb', line 4148

def audio_bit_rate
  @audio_bit_rate
end

#audio_bit_rate_modeObject

The audio bit rate mode



4151
4152
4153
# File 'lib/kaltura_types.rb', line 4151

def audio_bit_rate_mode
  @audio_bit_rate_mode
end

#audio_channelsObject

The number of audio channels



4154
4155
4156
# File 'lib/kaltura_types.rb', line 4154

def audio_channels
  @audio_channels
end

#audio_codec_idObject

The audio codec id



4142
4143
4144
# File 'lib/kaltura_types.rb', line 4142

def audio_codec_id
  @audio_codec_id
end

#audio_durationObject

The audio duration



4145
4146
4147
# File 'lib/kaltura_types.rb', line 4145

def audio_duration
  @audio_duration
end

#audio_formatObject

The audio format



4139
4140
4141
# File 'lib/kaltura_types.rb', line 4139

def audio_format
  @audio_format
end

#audio_resolutionObject

The audio resolution



4160
4161
4162
# File 'lib/kaltura_types.rb', line 4160

def audio_resolution
  @audio_resolution
end

#audio_sampling_rateObject

The audio sampling rate



4157
4158
4159
# File 'lib/kaltura_types.rb', line 4157

def audio_sampling_rate
  @audio_sampling_rate
end

#container_bit_rateObject

The container bit rate



4108
4109
4110
# File 'lib/kaltura_types.rb', line 4108

def container_bit_rate
  @container_bit_rate
end

#container_durationObject

The container duration



4105
4106
4107
# File 'lib/kaltura_types.rb', line 4105

def container_duration
  @container_duration
end

#container_formatObject

The container format



4096
4097
4098
# File 'lib/kaltura_types.rb', line 4096

def container_format
  @container_format
end

#container_idObject

The container id



4099
4100
4101
# File 'lib/kaltura_types.rb', line 4099

def container_id
  @container_id
end

#container_profileObject

The container profile



4102
4103
4104
# File 'lib/kaltura_types.rb', line 4102

def container_profile
  @container_profile
end

#content_streamsObject

Returns the value of attribute content_streams.



4171
4172
4173
# File 'lib/kaltura_types.rb', line 4171

def content_streams
  @content_streams
end

#file_sizeObject

The file size



4093
4094
4095
# File 'lib/kaltura_types.rb', line 4093

def file_size
  @file_size
end

#flavor_asset_idObject

The id of the related flavor asset



4090
4091
4092
# File 'lib/kaltura_types.rb', line 4090

def flavor_asset_id
  @flavor_asset_id
end

#idObject

The id of the media info



4087
4088
4089
# File 'lib/kaltura_types.rb', line 4087

def id
  @id
end

#is_fast_startObject

Returns the value of attribute is_fast_start.



4170
4171
4172
# File 'lib/kaltura_types.rb', line 4170

def is_fast_start
  @is_fast_start
end

#multi_streamObject

Returns the value of attribute multi_stream.



4169
4170
4171
# File 'lib/kaltura_types.rb', line 4169

def multi_stream
  @multi_stream
end

#multi_stream_infoObject

Returns the value of attribute multi_stream_info.



4167
4168
4169
# File 'lib/kaltura_types.rb', line 4167

def multi_stream_info
  @multi_stream_info
end

#raw_dataObject

The data as returned by the mediainfo command line



4166
4167
4168
# File 'lib/kaltura_types.rb', line 4166

def raw_data
  @raw_data
end

#scan_typeObject

Returns the value of attribute scan_type.



4168
4169
4170
# File 'lib/kaltura_types.rb', line 4168

def scan_type
  @scan_type
end

#video_bit_rateObject

The video bit rate



4120
4121
4122
# File 'lib/kaltura_types.rb', line 4120

def video_bit_rate
  @video_bit_rate
end

#video_bit_rate_modeObject

The video bit rate mode



4123
4124
4125
# File 'lib/kaltura_types.rb', line 4123

def video_bit_rate_mode
  @video_bit_rate_mode
end

#video_codec_idObject

The video codec id



4114
4115
4116
# File 'lib/kaltura_types.rb', line 4114

def video_codec_id
  @video_codec_id
end

#video_darObject

The video display aspect ratio (dar)



4135
4136
4137
# File 'lib/kaltura_types.rb', line 4135

def video_dar
  @video_dar
end

#video_durationObject

The video duration



4117
4118
4119
# File 'lib/kaltura_types.rb', line 4117

def video_duration
  @video_duration
end

#video_formatObject

The video format



4111
4112
4113
# File 'lib/kaltura_types.rb', line 4111

def video_format
  @video_format
end

#video_frame_rateObject

The video frame rate



4132
4133
4134
# File 'lib/kaltura_types.rb', line 4132

def video_frame_rate
  @video_frame_rate
end

#video_heightObject

The video height



4129
4130
4131
# File 'lib/kaltura_types.rb', line 4129

def video_height
  @video_height
end

#video_rotationObject

Returns the value of attribute video_rotation.



4136
4137
4138
# File 'lib/kaltura_types.rb', line 4136

def video_rotation
  @video_rotation
end

#video_widthObject

The video width



4126
4127
4128
# File 'lib/kaltura_types.rb', line 4126

def video_width
  @video_width
end

#writing_libObject

The writing library



4163
4164
4165
# File 'lib/kaltura_types.rb', line 4163

def writing_lib
  @writing_lib
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
# File 'lib/kaltura_types.rb', line 4234

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.flavor_asset_id = xml_element.elements['flavorAssetId'].text
	self.file_size = xml_element.elements['fileSize'].text
	self.container_format = xml_element.elements['containerFormat'].text
	self.container_id = xml_element.elements['containerId'].text
	self.container_profile = xml_element.elements['containerProfile'].text
	self.container_duration = xml_element.elements['containerDuration'].text
	self.container_bit_rate = xml_element.elements['containerBitRate'].text
	self.video_format = xml_element.elements['videoFormat'].text
	self.video_codec_id = xml_element.elements['videoCodecId'].text
	self.video_duration = xml_element.elements['videoDuration'].text
	self.video_bit_rate = xml_element.elements['videoBitRate'].text
	self.video_bit_rate_mode = xml_element.elements['videoBitRateMode'].text
	self.video_width = xml_element.elements['videoWidth'].text
	self.video_height = xml_element.elements['videoHeight'].text
	self.video_frame_rate = xml_element.elements['videoFrameRate'].text
	self.video_dar = xml_element.elements['videoDar'].text
	self.video_rotation = xml_element.elements['videoRotation'].text
	self.audio_format = xml_element.elements['audioFormat'].text
	self.audio_codec_id = xml_element.elements['audioCodecId'].text
	self.audio_duration = xml_element.elements['audioDuration'].text
	self.audio_bit_rate = xml_element.elements['audioBitRate'].text
	self.audio_bit_rate_mode = xml_element.elements['audioBitRateMode'].text
	self.audio_channels = xml_element.elements['audioChannels'].text
	self.audio_sampling_rate = xml_element.elements['audioSamplingRate'].text
	self.audio_resolution = xml_element.elements['audioResolution'].text
	self.writing_lib = xml_element.elements['writingLib'].text
	self.raw_data = xml_element.elements['rawData'].text
	self.multi_stream_info = xml_element.elements['multiStreamInfo'].text
	self.scan_type = xml_element.elements['scanType'].text
	self.multi_stream = xml_element.elements['multiStream'].text
	self.is_fast_start = xml_element.elements['isFastStart'].text
	self.content_streams = xml_element.elements['contentStreams'].text
end