Class: Kaltura::KalturaFlavorParams

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

Instance Attribute Summary collapse

Attributes inherited from KalturaAssetParams

#created_at, #description, #id, #is_system_default, #media_parser_type, #name, #partner_id, #remote_storage_profile_ids, #required_permissions, #source_asset_params_ids, #source_remote_storage_profile_id, #system_name, #tags

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#anamorphic_pixelsObject

Returns the value of attribute anamorphic_pixels.



5155
5156
5157
# File 'lib/kaltura_types.rb', line 5155

def anamorphic_pixels
  @anamorphic_pixels
end

#aspect_ratio_processing_modeObject

Returns the value of attribute aspect_ratio_processing_mode.



5148
5149
5150
# File 'lib/kaltura_types.rb', line 5148

def aspect_ratio_processing_mode
  @aspect_ratio_processing_mode
end

#audio_bitrateObject

The audio bitrate (in KBits) of the Flavor Params



5124
5125
5126
# File 'lib/kaltura_types.rb', line 5124

def audio_bitrate
  @audio_bitrate
end

#audio_channelsObject

The number of audio channels for “downmixing”



5126
5127
5128
# File 'lib/kaltura_types.rb', line 5126

def audio_channels
  @audio_channels
end

#audio_codecObject

The audio codec of the Flavor Params



5122
5123
5124
# File 'lib/kaltura_types.rb', line 5122

def audio_codec
  @audio_codec
end

#audio_sample_rateObject

The audio sample rate of the Flavor Params



5128
5129
5130
# File 'lib/kaltura_types.rb', line 5128

def audio_sample_rate
  @audio_sample_rate
end

#chunked_encode_modeObject

Returns the value of attribute chunked_encode_mode.



5167
5168
5169
# File 'lib/kaltura_types.rb', line 5167

def chunked_encode_mode
  @chunked_encode_mode
end

#clip_durationObject

Returns the value of attribute clip_duration.



5169
5170
5171
# File 'lib/kaltura_types.rb', line 5169

def clip_duration
  @clip_duration
end

#clip_offsetObject

Returns the value of attribute clip_offset.



5168
5169
5170
# File 'lib/kaltura_types.rb', line 5168

def clip_offset
  @clip_offset
end

#content_awarenessObject

Returns the value of attribute content_awareness.



5166
5167
5168
# File 'lib/kaltura_types.rb', line 5166

def content_awareness
  @content_awareness
end

#conversion_enginesObject

The list of conversion engines (comma separated)



5138
5139
5140
# File 'lib/kaltura_types.rb', line 5138

def conversion_engines
  @conversion_engines
end

#conversion_engines_extra_paramsObject

The list of conversion engines extra params (separated with “|”)



5140
5141
5142
# File 'lib/kaltura_types.rb', line 5140

def conversion_engines_extra_params
  @conversion_engines_extra_params
end

#deinterliceObject

Returns the value of attribute deinterlice.



5142
5143
5144
# File 'lib/kaltura_types.rb', line 5142

def deinterlice
  @deinterlice
end

#engine_versionObject

Returns the value of attribute engine_version.



5145
5146
5147
# File 'lib/kaltura_types.rb', line 5145

def engine_version
  @engine_version
end

#force_frame_to_multiplication16Object

Returns the value of attribute force_frame_to_multiplication16.



5149
5150
5151
# File 'lib/kaltura_types.rb', line 5149

def force_frame_to_multiplication16
  @force_frame_to_multiplication16
end

#forced_key_frames_modeObject

Returns the value of attribute forced_key_frames_mode.



5157
5158
5159
# File 'lib/kaltura_types.rb', line 5157

def forced_key_frames_mode
  @forced_key_frames_mode
end

#formatObject

The container format of the Flavor Params



5147
5148
5149
# File 'lib/kaltura_types.rb', line 5147

def format
  @format
end

#frame_rateObject

The frame rate of the Flavor Params



5134
5135
5136
# File 'lib/kaltura_types.rb', line 5134

def frame_rate
  @frame_rate
end

#gop_sizeObject

The gop size of the Flavor Params



5136
5137
5138
# File 'lib/kaltura_types.rb', line 5136

def gop_size
  @gop_size
end

#heightObject

The desired height of the Flavor Params



5132
5133
5134
# File 'lib/kaltura_types.rb', line 5132

def height
  @height
end

#is_avoid_forced_key_framesObject

Returns the value of attribute is_avoid_forced_key_frames.



5156
5157
5158
# File 'lib/kaltura_types.rb', line 5156

def is_avoid_forced_key_frames
  @is_avoid_forced_key_frames
end

#is_avoid_video_shrink_bitrate_to_sourceObject

Returns the value of attribute is_avoid_video_shrink_bitrate_to_source.



5152
5153
5154
# File 'lib/kaltura_types.rb', line 5152

def is_avoid_video_shrink_bitrate_to_source
  @is_avoid_video_shrink_bitrate_to_source
end

#is_avoid_video_shrink_framesize_to_sourceObject

Returns the value of attribute is_avoid_video_shrink_framesize_to_source.



5151
5152
5153
# File 'lib/kaltura_types.rb', line 5151

def is_avoid_video_shrink_framesize_to_source
  @is_avoid_video_shrink_framesize_to_source
end

#is_crop_imxObject

Returns the value of attribute is_crop_imx.



5158
5159
5160
# File 'lib/kaltura_types.rb', line 5158

def is_crop_imx
  @is_crop_imx
end

#is_encryptedObject

Returns the value of attribute is_encrypted.



5165
5166
5167
# File 'lib/kaltura_types.rb', line 5165

def is_encrypted
  @is_encrypted
end

#is_gop_in_secObject

Returns the value of attribute is_gop_in_sec.



5150
5151
5152
# File 'lib/kaltura_types.rb', line 5150

def is_gop_in_sec
  @is_gop_in_sec
end

#is_video_frame_rate_for_low_br_apple_hlsObject

Returns the value of attribute is_video_frame_rate_for_low_br_apple_hls.



5153
5154
5155
# File 'lib/kaltura_types.rb', line 5153

def is_video_frame_rate_for_low_br_apple_hls
  @is_video_frame_rate_for_low_br_apple_hls
end

#max_frame_rateObject

Returns the value of attribute max_frame_rate.



5160
5161
5162
# File 'lib/kaltura_types.rb', line 5160

def max_frame_rate
  @max_frame_rate
end

#multi_streamObject

Returns the value of attribute multi_stream.



5154
5155
5156
# File 'lib/kaltura_types.rb', line 5154

def multi_stream
  @multi_stream
end

#operatorsObject

Returns the value of attribute operators.



5144
5145
5146
# File 'lib/kaltura_types.rb', line 5144

def operators
  @operators
end

#optimization_policyObject

Returns the value of attribute optimization_policy.



5159
5160
5161
# File 'lib/kaltura_types.rb', line 5159

def optimization_policy
  @optimization_policy
end

#rotateObject

Returns the value of attribute rotate.



5143
5144
5145
# File 'lib/kaltura_types.rb', line 5143

def rotate
  @rotate
end

#subtitles_dataObject

Returns the value of attribute subtitles_data.



5164
5165
5166
# File 'lib/kaltura_types.rb', line 5164

def subtitles_data
  @subtitles_data
end

#two_passObject

Returns the value of attribute two_pass.



5141
5142
5143
# File 'lib/kaltura_types.rb', line 5141

def two_pass
  @two_pass
end

#video_bitrateObject

The video bitrate (in KBits) of the Flavor Params



5120
5121
5122
# File 'lib/kaltura_types.rb', line 5120

def video_bitrate
  @video_bitrate
end

#video_bitrate_toleranceObject

Returns the value of attribute video_bitrate_tolerance.



5162
5163
5164
# File 'lib/kaltura_types.rb', line 5162

def video_bitrate_tolerance
  @video_bitrate_tolerance
end

#video_codecObject

The video codec of the Flavor Params



5118
5119
5120
# File 'lib/kaltura_types.rb', line 5118

def video_codec
  @video_codec
end

#video_constant_bitrateObject

Returns the value of attribute video_constant_bitrate.



5161
5162
5163
# File 'lib/kaltura_types.rb', line 5161

def video_constant_bitrate
  @video_constant_bitrate
end

#watermark_dataObject

Returns the value of attribute watermark_data.



5163
5164
5165
# File 'lib/kaltura_types.rb', line 5163

def watermark_data
  @watermark_data
end

#widthObject

The desired width of the Flavor Params



5130
5131
5132
# File 'lib/kaltura_types.rb', line 5130

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
# File 'lib/kaltura_types.rb', line 5265

def from_xml(xml_element)
	super
	if xml_element.elements['videoCodec'] != nil
		self.video_codec = xml_element.elements['videoCodec'].text
	end
	if xml_element.elements['videoBitrate'] != nil
		self.video_bitrate = xml_element.elements['videoBitrate'].text
	end
	if xml_element.elements['audioCodec'] != nil
		self.audio_codec = xml_element.elements['audioCodec'].text
	end
	if xml_element.elements['audioBitrate'] != nil
		self.audio_bitrate = xml_element.elements['audioBitrate'].text
	end
	if xml_element.elements['audioChannels'] != nil
		self.audio_channels = xml_element.elements['audioChannels'].text
	end
	if xml_element.elements['audioSampleRate'] != nil
		self.audio_sample_rate = xml_element.elements['audioSampleRate'].text
	end
	if xml_element.elements['width'] != nil
		self.width = xml_element.elements['width'].text
	end
	if xml_element.elements['height'] != nil
		self.height = xml_element.elements['height'].text
	end
	if xml_element.elements['frameRate'] != nil
		self.frame_rate = xml_element.elements['frameRate'].text
	end
	if xml_element.elements['gopSize'] != nil
		self.gop_size = xml_element.elements['gopSize'].text
	end
	if xml_element.elements['conversionEngines'] != nil
		self.conversion_engines = xml_element.elements['conversionEngines'].text
	end
	if xml_element.elements['conversionEnginesExtraParams'] != nil
		self.conversion_engines_extra_params = xml_element.elements['conversionEnginesExtraParams'].text
	end
	if xml_element.elements['twoPass'] != nil
		self.two_pass = xml_element.elements['twoPass'].text
	end
	if xml_element.elements['deinterlice'] != nil
		self.deinterlice = xml_element.elements['deinterlice'].text
	end
	if xml_element.elements['rotate'] != nil
		self.rotate = xml_element.elements['rotate'].text
	end
	if xml_element.elements['operators'] != nil
		self.operators = xml_element.elements['operators'].text
	end
	if xml_element.elements['engineVersion'] != nil
		self.engine_version = xml_element.elements['engineVersion'].text
	end
	if xml_element.elements['format'] != nil
		self.format = xml_element.elements['format'].text
	end
	if xml_element.elements['aspectRatioProcessingMode'] != nil
		self.aspect_ratio_processing_mode = xml_element.elements['aspectRatioProcessingMode'].text
	end
	if xml_element.elements['forceFrameToMultiplication16'] != nil
		self.force_frame_to_multiplication16 = xml_element.elements['forceFrameToMultiplication16'].text
	end
	if xml_element.elements['isGopInSec'] != nil
		self.is_gop_in_sec = xml_element.elements['isGopInSec'].text
	end
	if xml_element.elements['isAvoidVideoShrinkFramesizeToSource'] != nil
		self.is_avoid_video_shrink_framesize_to_source = xml_element.elements['isAvoidVideoShrinkFramesizeToSource'].text
	end
	if xml_element.elements['isAvoidVideoShrinkBitrateToSource'] != nil
		self.is_avoid_video_shrink_bitrate_to_source = xml_element.elements['isAvoidVideoShrinkBitrateToSource'].text
	end
	if xml_element.elements['isVideoFrameRateForLowBrAppleHls'] != nil
		self.is_video_frame_rate_for_low_br_apple_hls = xml_element.elements['isVideoFrameRateForLowBrAppleHls'].text
	end
	if xml_element.elements['multiStream'] != nil
		self.multi_stream = xml_element.elements['multiStream'].text
	end
	if xml_element.elements['anamorphicPixels'] != nil
		self.anamorphic_pixels = xml_element.elements['anamorphicPixels'].text
	end
	if xml_element.elements['isAvoidForcedKeyFrames'] != nil
		self.is_avoid_forced_key_frames = xml_element.elements['isAvoidForcedKeyFrames'].text
	end
	if xml_element.elements['forcedKeyFramesMode'] != nil
		self.forced_key_frames_mode = xml_element.elements['forcedKeyFramesMode'].text
	end
	if xml_element.elements['isCropIMX'] != nil
		self.is_crop_imx = xml_element.elements['isCropIMX'].text
	end
	if xml_element.elements['optimizationPolicy'] != nil
		self.optimization_policy = xml_element.elements['optimizationPolicy'].text
	end
	if xml_element.elements['maxFrameRate'] != nil
		self.max_frame_rate = xml_element.elements['maxFrameRate'].text
	end
	if xml_element.elements['videoConstantBitrate'] != nil
		self.video_constant_bitrate = xml_element.elements['videoConstantBitrate'].text
	end
	if xml_element.elements['videoBitrateTolerance'] != nil
		self.video_bitrate_tolerance = xml_element.elements['videoBitrateTolerance'].text
	end
	if xml_element.elements['watermarkData'] != nil
		self.watermark_data = xml_element.elements['watermarkData'].text
	end
	if xml_element.elements['subtitlesData'] != nil
		self.subtitles_data = xml_element.elements['subtitlesData'].text
	end
	if xml_element.elements['isEncrypted'] != nil
		self.is_encrypted = xml_element.elements['isEncrypted'].text
	end
	if xml_element.elements['contentAwareness'] != nil
		self.content_awareness = xml_element.elements['contentAwareness'].text
	end
	if xml_element.elements['chunkedEncodeMode'] != nil
		self.chunked_encode_mode = xml_element.elements['chunkedEncodeMode'].text
	end
	if xml_element.elements['clipOffset'] != nil
		self.clip_offset = xml_element.elements['clipOffset'].text
	end
	if xml_element.elements['clipDuration'] != nil
		self.clip_duration = xml_element.elements['clipDuration'].text
	end
end