Class: Kaltura::KalturaFlavorParams
- Inherits:
-
KalturaAssetParams
- Object
- KalturaObjectBase
- KalturaAssetParams
- Kaltura::KalturaFlavorParams
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaDocumentFlavorParams, KalturaFlavorParamsOutput, KalturaImageFlavorParams, KalturaLiveParams, KalturaMediaFlavorParams, KalturaPdfFlavorParams, KalturaSwfFlavorParams, KalturaWidevineFlavorParams
Instance Attribute Summary collapse
-
#anamorphic_pixels ⇒ Object
Returns the value of attribute anamorphic_pixels.
-
#aspect_ratio_processing_mode ⇒ Object
Returns the value of attribute aspect_ratio_processing_mode.
-
#audio_bitrate ⇒ Object
The audio bitrate (in KBits) of the Flavor Params.
-
#audio_channels ⇒ Object
The number of audio channels for “downmixing”.
-
#audio_codec ⇒ Object
The audio codec of the Flavor Params.
-
#audio_sample_rate ⇒ Object
The audio sample rate of the Flavor Params.
-
#chunked_encode_mode ⇒ Object
Returns the value of attribute chunked_encode_mode.
-
#clip_duration ⇒ Object
Returns the value of attribute clip_duration.
-
#clip_offset ⇒ Object
Returns the value of attribute clip_offset.
-
#content_awareness ⇒ Object
Returns the value of attribute content_awareness.
-
#conversion_engines ⇒ Object
The list of conversion engines (comma separated).
-
#conversion_engines_extra_params ⇒ Object
The list of conversion engines extra params (separated with “|”).
-
#deinterlice ⇒ Object
Returns the value of attribute deinterlice.
-
#engine_version ⇒ Object
Returns the value of attribute engine_version.
-
#force_frame_to_multiplication16 ⇒ Object
Returns the value of attribute force_frame_to_multiplication16.
-
#forced_key_frames_mode ⇒ Object
Returns the value of attribute forced_key_frames_mode.
-
#format ⇒ Object
The container format of the Flavor Params.
-
#frame_rate ⇒ Object
The frame rate of the Flavor Params.
-
#gop_size ⇒ Object
The gop size of the Flavor Params.
-
#height ⇒ Object
The desired height of the Flavor Params.
-
#is_avoid_forced_key_frames ⇒ Object
Returns the value of attribute is_avoid_forced_key_frames.
-
#is_avoid_video_shrink_bitrate_to_source ⇒ Object
Returns the value of attribute is_avoid_video_shrink_bitrate_to_source.
-
#is_avoid_video_shrink_framesize_to_source ⇒ Object
Returns the value of attribute is_avoid_video_shrink_framesize_to_source.
-
#is_crop_imx ⇒ Object
Returns the value of attribute is_crop_imx.
-
#is_encrypted ⇒ Object
Returns the value of attribute is_encrypted.
-
#is_gop_in_sec ⇒ Object
Returns the value of attribute is_gop_in_sec.
-
#is_video_frame_rate_for_low_br_apple_hls ⇒ Object
Returns the value of attribute is_video_frame_rate_for_low_br_apple_hls.
-
#max_frame_rate ⇒ Object
Returns the value of attribute max_frame_rate.
-
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
-
#operators ⇒ Object
Returns the value of attribute operators.
-
#optimization_policy ⇒ Object
Returns the value of attribute optimization_policy.
-
#rotate ⇒ Object
Returns the value of attribute rotate.
-
#subtitles_data ⇒ Object
Returns the value of attribute subtitles_data.
-
#two_pass ⇒ Object
Returns the value of attribute two_pass.
-
#video_bitrate ⇒ Object
The video bitrate (in KBits) of the Flavor Params.
-
#video_bitrate_tolerance ⇒ Object
Returns the value of attribute video_bitrate_tolerance.
-
#video_codec ⇒ Object
The video codec of the Flavor Params.
-
#video_constant_bitrate ⇒ Object
Returns the value of attribute video_constant_bitrate.
-
#watermark_data ⇒ Object
Returns the value of attribute watermark_data.
-
#width ⇒ Object
The desired width of the Flavor Params.
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
Instance Attribute Details
#anamorphic_pixels ⇒ Object
Returns the value of attribute anamorphic_pixels.
5043 5044 5045 |
# File 'lib/kaltura_types.rb', line 5043 def anamorphic_pixels @anamorphic_pixels end |
#aspect_ratio_processing_mode ⇒ Object
Returns the value of attribute aspect_ratio_processing_mode.
5036 5037 5038 |
# File 'lib/kaltura_types.rb', line 5036 def aspect_ratio_processing_mode @aspect_ratio_processing_mode end |
#audio_bitrate ⇒ Object
The audio bitrate (in KBits) of the Flavor Params
5012 5013 5014 |
# File 'lib/kaltura_types.rb', line 5012 def audio_bitrate @audio_bitrate end |
#audio_channels ⇒ Object
The number of audio channels for “downmixing”
5014 5015 5016 |
# File 'lib/kaltura_types.rb', line 5014 def audio_channels @audio_channels end |
#audio_codec ⇒ Object
The audio codec of the Flavor Params
5010 5011 5012 |
# File 'lib/kaltura_types.rb', line 5010 def audio_codec @audio_codec end |
#audio_sample_rate ⇒ Object
The audio sample rate of the Flavor Params
5016 5017 5018 |
# File 'lib/kaltura_types.rb', line 5016 def audio_sample_rate @audio_sample_rate end |
#chunked_encode_mode ⇒ Object
Returns the value of attribute chunked_encode_mode.
5055 5056 5057 |
# File 'lib/kaltura_types.rb', line 5055 def chunked_encode_mode @chunked_encode_mode end |
#clip_duration ⇒ Object
Returns the value of attribute clip_duration.
5057 5058 5059 |
# File 'lib/kaltura_types.rb', line 5057 def clip_duration @clip_duration end |
#clip_offset ⇒ Object
Returns the value of attribute clip_offset.
5056 5057 5058 |
# File 'lib/kaltura_types.rb', line 5056 def clip_offset @clip_offset end |
#content_awareness ⇒ Object
Returns the value of attribute content_awareness.
5054 5055 5056 |
# File 'lib/kaltura_types.rb', line 5054 def content_awareness @content_awareness end |
#conversion_engines ⇒ Object
The list of conversion engines (comma separated)
5026 5027 5028 |
# File 'lib/kaltura_types.rb', line 5026 def conversion_engines @conversion_engines end |
#conversion_engines_extra_params ⇒ Object
The list of conversion engines extra params (separated with “|”)
5028 5029 5030 |
# File 'lib/kaltura_types.rb', line 5028 def conversion_engines_extra_params @conversion_engines_extra_params end |
#deinterlice ⇒ Object
Returns the value of attribute deinterlice.
5030 5031 5032 |
# File 'lib/kaltura_types.rb', line 5030 def deinterlice @deinterlice end |
#engine_version ⇒ Object
Returns the value of attribute engine_version.
5033 5034 5035 |
# File 'lib/kaltura_types.rb', line 5033 def engine_version @engine_version end |
#force_frame_to_multiplication16 ⇒ Object
Returns the value of attribute force_frame_to_multiplication16.
5037 5038 5039 |
# File 'lib/kaltura_types.rb', line 5037 def force_frame_to_multiplication16 @force_frame_to_multiplication16 end |
#forced_key_frames_mode ⇒ Object
Returns the value of attribute forced_key_frames_mode.
5045 5046 5047 |
# File 'lib/kaltura_types.rb', line 5045 def forced_key_frames_mode @forced_key_frames_mode end |
#format ⇒ Object
The container format of the Flavor Params
5035 5036 5037 |
# File 'lib/kaltura_types.rb', line 5035 def format @format end |
#frame_rate ⇒ Object
The frame rate of the Flavor Params
5022 5023 5024 |
# File 'lib/kaltura_types.rb', line 5022 def frame_rate @frame_rate end |
#gop_size ⇒ Object
The gop size of the Flavor Params
5024 5025 5026 |
# File 'lib/kaltura_types.rb', line 5024 def gop_size @gop_size end |
#height ⇒ Object
The desired height of the Flavor Params
5020 5021 5022 |
# File 'lib/kaltura_types.rb', line 5020 def height @height end |
#is_avoid_forced_key_frames ⇒ Object
Returns the value of attribute is_avoid_forced_key_frames.
5044 5045 5046 |
# File 'lib/kaltura_types.rb', line 5044 def is_avoid_forced_key_frames @is_avoid_forced_key_frames end |
#is_avoid_video_shrink_bitrate_to_source ⇒ Object
Returns the value of attribute is_avoid_video_shrink_bitrate_to_source.
5040 5041 5042 |
# File 'lib/kaltura_types.rb', line 5040 def is_avoid_video_shrink_bitrate_to_source @is_avoid_video_shrink_bitrate_to_source end |
#is_avoid_video_shrink_framesize_to_source ⇒ Object
Returns the value of attribute is_avoid_video_shrink_framesize_to_source.
5039 5040 5041 |
# File 'lib/kaltura_types.rb', line 5039 def is_avoid_video_shrink_framesize_to_source @is_avoid_video_shrink_framesize_to_source end |
#is_crop_imx ⇒ Object
Returns the value of attribute is_crop_imx.
5046 5047 5048 |
# File 'lib/kaltura_types.rb', line 5046 def is_crop_imx @is_crop_imx end |
#is_encrypted ⇒ Object
Returns the value of attribute is_encrypted.
5053 5054 5055 |
# File 'lib/kaltura_types.rb', line 5053 def is_encrypted @is_encrypted end |
#is_gop_in_sec ⇒ Object
Returns the value of attribute is_gop_in_sec.
5038 5039 5040 |
# File 'lib/kaltura_types.rb', line 5038 def is_gop_in_sec @is_gop_in_sec end |
#is_video_frame_rate_for_low_br_apple_hls ⇒ Object
Returns the value of attribute is_video_frame_rate_for_low_br_apple_hls.
5041 5042 5043 |
# File 'lib/kaltura_types.rb', line 5041 def is_video_frame_rate_for_low_br_apple_hls @is_video_frame_rate_for_low_br_apple_hls end |
#max_frame_rate ⇒ Object
Returns the value of attribute max_frame_rate.
5048 5049 5050 |
# File 'lib/kaltura_types.rb', line 5048 def max_frame_rate @max_frame_rate end |
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
5042 5043 5044 |
# File 'lib/kaltura_types.rb', line 5042 def multi_stream @multi_stream end |
#operators ⇒ Object
Returns the value of attribute operators.
5032 5033 5034 |
# File 'lib/kaltura_types.rb', line 5032 def operators @operators end |
#optimization_policy ⇒ Object
Returns the value of attribute optimization_policy.
5047 5048 5049 |
# File 'lib/kaltura_types.rb', line 5047 def optimization_policy @optimization_policy end |
#rotate ⇒ Object
Returns the value of attribute rotate.
5031 5032 5033 |
# File 'lib/kaltura_types.rb', line 5031 def rotate @rotate end |
#subtitles_data ⇒ Object
Returns the value of attribute subtitles_data.
5052 5053 5054 |
# File 'lib/kaltura_types.rb', line 5052 def subtitles_data @subtitles_data end |
#two_pass ⇒ Object
Returns the value of attribute two_pass.
5029 5030 5031 |
# File 'lib/kaltura_types.rb', line 5029 def two_pass @two_pass end |
#video_bitrate ⇒ Object
The video bitrate (in KBits) of the Flavor Params
5008 5009 5010 |
# File 'lib/kaltura_types.rb', line 5008 def video_bitrate @video_bitrate end |
#video_bitrate_tolerance ⇒ Object
Returns the value of attribute video_bitrate_tolerance.
5050 5051 5052 |
# File 'lib/kaltura_types.rb', line 5050 def video_bitrate_tolerance @video_bitrate_tolerance end |
#video_codec ⇒ Object
The video codec of the Flavor Params
5006 5007 5008 |
# File 'lib/kaltura_types.rb', line 5006 def video_codec @video_codec end |
#video_constant_bitrate ⇒ Object
Returns the value of attribute video_constant_bitrate.
5049 5050 5051 |
# File 'lib/kaltura_types.rb', line 5049 def video_constant_bitrate @video_constant_bitrate end |
#watermark_data ⇒ Object
Returns the value of attribute watermark_data.
5051 5052 5053 |
# File 'lib/kaltura_types.rb', line 5051 def watermark_data @watermark_data end |
#width ⇒ Object
The desired width of the Flavor Params
5018 5019 5020 |
# File 'lib/kaltura_types.rb', line 5018 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 |
# File 'lib/kaltura_types.rb', line 5153 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 |