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.
4976 4977 4978 |
# File 'lib/kaltura_types.rb', line 4976 def anamorphic_pixels @anamorphic_pixels end |
#aspect_ratio_processing_mode ⇒ Object
Returns the value of attribute aspect_ratio_processing_mode.
4969 4970 4971 |
# File 'lib/kaltura_types.rb', line 4969 def aspect_ratio_processing_mode @aspect_ratio_processing_mode end |
#audio_bitrate ⇒ Object
The audio bitrate (in KBits) of the Flavor Params
4945 4946 4947 |
# File 'lib/kaltura_types.rb', line 4945 def audio_bitrate @audio_bitrate end |
#audio_channels ⇒ Object
The number of audio channels for “downmixing”
4947 4948 4949 |
# File 'lib/kaltura_types.rb', line 4947 def audio_channels @audio_channels end |
#audio_codec ⇒ Object
The audio codec of the Flavor Params
4943 4944 4945 |
# File 'lib/kaltura_types.rb', line 4943 def audio_codec @audio_codec end |
#audio_sample_rate ⇒ Object
The audio sample rate of the Flavor Params
4949 4950 4951 |
# File 'lib/kaltura_types.rb', line 4949 def audio_sample_rate @audio_sample_rate end |
#chunked_encode_mode ⇒ Object
Returns the value of attribute chunked_encode_mode.
4988 4989 4990 |
# File 'lib/kaltura_types.rb', line 4988 def chunked_encode_mode @chunked_encode_mode end |
#clip_duration ⇒ Object
Returns the value of attribute clip_duration.
4990 4991 4992 |
# File 'lib/kaltura_types.rb', line 4990 def clip_duration @clip_duration end |
#clip_offset ⇒ Object
Returns the value of attribute clip_offset.
4989 4990 4991 |
# File 'lib/kaltura_types.rb', line 4989 def clip_offset @clip_offset end |
#content_awareness ⇒ Object
Returns the value of attribute content_awareness.
4987 4988 4989 |
# File 'lib/kaltura_types.rb', line 4987 def content_awareness @content_awareness end |
#conversion_engines ⇒ Object
The list of conversion engines (comma separated)
4959 4960 4961 |
# File 'lib/kaltura_types.rb', line 4959 def conversion_engines @conversion_engines end |
#conversion_engines_extra_params ⇒ Object
The list of conversion engines extra params (separated with “|”)
4961 4962 4963 |
# File 'lib/kaltura_types.rb', line 4961 def conversion_engines_extra_params @conversion_engines_extra_params end |
#deinterlice ⇒ Object
Returns the value of attribute deinterlice.
4963 4964 4965 |
# File 'lib/kaltura_types.rb', line 4963 def deinterlice @deinterlice end |
#engine_version ⇒ Object
Returns the value of attribute engine_version.
4966 4967 4968 |
# File 'lib/kaltura_types.rb', line 4966 def engine_version @engine_version end |
#force_frame_to_multiplication16 ⇒ Object
Returns the value of attribute force_frame_to_multiplication16.
4970 4971 4972 |
# File 'lib/kaltura_types.rb', line 4970 def force_frame_to_multiplication16 @force_frame_to_multiplication16 end |
#forced_key_frames_mode ⇒ Object
Returns the value of attribute forced_key_frames_mode.
4978 4979 4980 |
# File 'lib/kaltura_types.rb', line 4978 def forced_key_frames_mode @forced_key_frames_mode end |
#format ⇒ Object
The container format of the Flavor Params
4968 4969 4970 |
# File 'lib/kaltura_types.rb', line 4968 def format @format end |
#frame_rate ⇒ Object
The frame rate of the Flavor Params
4955 4956 4957 |
# File 'lib/kaltura_types.rb', line 4955 def frame_rate @frame_rate end |
#gop_size ⇒ Object
The gop size of the Flavor Params
4957 4958 4959 |
# File 'lib/kaltura_types.rb', line 4957 def gop_size @gop_size end |
#height ⇒ Object
The desired height of the Flavor Params
4953 4954 4955 |
# File 'lib/kaltura_types.rb', line 4953 def height @height end |
#is_avoid_forced_key_frames ⇒ Object
Returns the value of attribute is_avoid_forced_key_frames.
4977 4978 4979 |
# File 'lib/kaltura_types.rb', line 4977 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.
4973 4974 4975 |
# File 'lib/kaltura_types.rb', line 4973 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.
4972 4973 4974 |
# File 'lib/kaltura_types.rb', line 4972 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.
4979 4980 4981 |
# File 'lib/kaltura_types.rb', line 4979 def is_crop_imx @is_crop_imx end |
#is_encrypted ⇒ Object
Returns the value of attribute is_encrypted.
4986 4987 4988 |
# File 'lib/kaltura_types.rb', line 4986 def is_encrypted @is_encrypted end |
#is_gop_in_sec ⇒ Object
Returns the value of attribute is_gop_in_sec.
4971 4972 4973 |
# File 'lib/kaltura_types.rb', line 4971 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.
4974 4975 4976 |
# File 'lib/kaltura_types.rb', line 4974 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.
4981 4982 4983 |
# File 'lib/kaltura_types.rb', line 4981 def max_frame_rate @max_frame_rate end |
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
4975 4976 4977 |
# File 'lib/kaltura_types.rb', line 4975 def multi_stream @multi_stream end |
#operators ⇒ Object
Returns the value of attribute operators.
4965 4966 4967 |
# File 'lib/kaltura_types.rb', line 4965 def operators @operators end |
#optimization_policy ⇒ Object
Returns the value of attribute optimization_policy.
4980 4981 4982 |
# File 'lib/kaltura_types.rb', line 4980 def optimization_policy @optimization_policy end |
#rotate ⇒ Object
Returns the value of attribute rotate.
4964 4965 4966 |
# File 'lib/kaltura_types.rb', line 4964 def rotate @rotate end |
#subtitles_data ⇒ Object
Returns the value of attribute subtitles_data.
4985 4986 4987 |
# File 'lib/kaltura_types.rb', line 4985 def subtitles_data @subtitles_data end |
#two_pass ⇒ Object
Returns the value of attribute two_pass.
4962 4963 4964 |
# File 'lib/kaltura_types.rb', line 4962 def two_pass @two_pass end |
#video_bitrate ⇒ Object
The video bitrate (in KBits) of the Flavor Params
4941 4942 4943 |
# File 'lib/kaltura_types.rb', line 4941 def video_bitrate @video_bitrate end |
#video_bitrate_tolerance ⇒ Object
Returns the value of attribute video_bitrate_tolerance.
4983 4984 4985 |
# File 'lib/kaltura_types.rb', line 4983 def video_bitrate_tolerance @video_bitrate_tolerance end |
#video_codec ⇒ Object
The video codec of the Flavor Params
4939 4940 4941 |
# File 'lib/kaltura_types.rb', line 4939 def video_codec @video_codec end |
#video_constant_bitrate ⇒ Object
Returns the value of attribute video_constant_bitrate.
4982 4983 4984 |
# File 'lib/kaltura_types.rb', line 4982 def video_constant_bitrate @video_constant_bitrate end |
#watermark_data ⇒ Object
Returns the value of attribute watermark_data.
4984 4985 4986 |
# File 'lib/kaltura_types.rb', line 4984 def watermark_data @watermark_data end |
#width ⇒ Object
The desired width of the Flavor Params
4951 4952 4953 |
# File 'lib/kaltura_types.rb', line 4951 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 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 |
# File 'lib/kaltura_types.rb', line 5086 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 |