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
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.
-
#clip_duration ⇒ Object
Returns the value of attribute clip_duration.
-
#clip_offset ⇒ Object
Returns the value of attribute clip_offset.
-
#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.
-
#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_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.
-
#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.
2904 2905 2906 |
# File 'lib/kaltura_types.rb', line 2904 def anamorphic_pixels @anamorphic_pixels end |
#aspect_ratio_processing_mode ⇒ Object
Returns the value of attribute aspect_ratio_processing_mode.
2897 2898 2899 |
# File 'lib/kaltura_types.rb', line 2897 def aspect_ratio_processing_mode @aspect_ratio_processing_mode end |
#audio_bitrate ⇒ Object
The audio bitrate (in KBits) of the Flavor Params
2864 2865 2866 |
# File 'lib/kaltura_types.rb', line 2864 def audio_bitrate @audio_bitrate end |
#audio_channels ⇒ Object
The number of audio channels for “downmixing”
2867 2868 2869 |
# File 'lib/kaltura_types.rb', line 2867 def audio_channels @audio_channels end |
#audio_codec ⇒ Object
The audio codec of the Flavor Params
2861 2862 2863 |
# File 'lib/kaltura_types.rb', line 2861 def audio_codec @audio_codec end |
#audio_sample_rate ⇒ Object
The audio sample rate of the Flavor Params
2870 2871 2872 |
# File 'lib/kaltura_types.rb', line 2870 def audio_sample_rate @audio_sample_rate end |
#clip_duration ⇒ Object
Returns the value of attribute clip_duration.
2913 2914 2915 |
# File 'lib/kaltura_types.rb', line 2913 def clip_duration @clip_duration end |
#clip_offset ⇒ Object
Returns the value of attribute clip_offset.
2912 2913 2914 |
# File 'lib/kaltura_types.rb', line 2912 def clip_offset @clip_offset end |
#conversion_engines ⇒ Object
The list of conversion engines (comma separated)
2885 2886 2887 |
# File 'lib/kaltura_types.rb', line 2885 def conversion_engines @conversion_engines end |
#conversion_engines_extra_params ⇒ Object
The list of conversion engines extra params (separated with “|”)
2888 2889 2890 |
# File 'lib/kaltura_types.rb', line 2888 def conversion_engines_extra_params @conversion_engines_extra_params end |
#deinterlice ⇒ Object
Returns the value of attribute deinterlice.
2890 2891 2892 |
# File 'lib/kaltura_types.rb', line 2890 def deinterlice @deinterlice end |
#engine_version ⇒ Object
Returns the value of attribute engine_version.
2893 2894 2895 |
# File 'lib/kaltura_types.rb', line 2893 def engine_version @engine_version end |
#force_frame_to_multiplication16 ⇒ Object
Returns the value of attribute force_frame_to_multiplication16.
2898 2899 2900 |
# File 'lib/kaltura_types.rb', line 2898 def force_frame_to_multiplication16 @force_frame_to_multiplication16 end |
#format ⇒ Object
The container format of the Flavor Params
2896 2897 2898 |
# File 'lib/kaltura_types.rb', line 2896 def format @format end |
#frame_rate ⇒ Object
The frame rate of the Flavor Params
2879 2880 2881 |
# File 'lib/kaltura_types.rb', line 2879 def frame_rate @frame_rate end |
#gop_size ⇒ Object
The gop size of the Flavor Params
2882 2883 2884 |
# File 'lib/kaltura_types.rb', line 2882 def gop_size @gop_size end |
#height ⇒ Object
The desired height of the Flavor Params
2876 2877 2878 |
# File 'lib/kaltura_types.rb', line 2876 def height @height end |
#is_avoid_forced_key_frames ⇒ Object
Returns the value of attribute is_avoid_forced_key_frames.
2905 2906 2907 |
# File 'lib/kaltura_types.rb', line 2905 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.
2901 2902 2903 |
# File 'lib/kaltura_types.rb', line 2901 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.
2900 2901 2902 |
# File 'lib/kaltura_types.rb', line 2900 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.
2906 2907 2908 |
# File 'lib/kaltura_types.rb', line 2906 def is_crop_imx @is_crop_imx end |
#is_gop_in_sec ⇒ Object
Returns the value of attribute is_gop_in_sec.
2899 2900 2901 |
# File 'lib/kaltura_types.rb', line 2899 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.
2902 2903 2904 |
# File 'lib/kaltura_types.rb', line 2902 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.
2908 2909 2910 |
# File 'lib/kaltura_types.rb', line 2908 def max_frame_rate @max_frame_rate end |
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
2903 2904 2905 |
# File 'lib/kaltura_types.rb', line 2903 def multi_stream @multi_stream end |
#operators ⇒ Object
Returns the value of attribute operators.
2892 2893 2894 |
# File 'lib/kaltura_types.rb', line 2892 def operators @operators end |
#optimization_policy ⇒ Object
Returns the value of attribute optimization_policy.
2907 2908 2909 |
# File 'lib/kaltura_types.rb', line 2907 def optimization_policy @optimization_policy end |
#rotate ⇒ Object
Returns the value of attribute rotate.
2891 2892 2893 |
# File 'lib/kaltura_types.rb', line 2891 def rotate @rotate end |
#two_pass ⇒ Object
Returns the value of attribute two_pass.
2889 2890 2891 |
# File 'lib/kaltura_types.rb', line 2889 def two_pass @two_pass end |
#video_bitrate ⇒ Object
The video bitrate (in KBits) of the Flavor Params
2858 2859 2860 |
# File 'lib/kaltura_types.rb', line 2858 def video_bitrate @video_bitrate end |
#video_bitrate_tolerance ⇒ Object
Returns the value of attribute video_bitrate_tolerance.
2910 2911 2912 |
# File 'lib/kaltura_types.rb', line 2910 def video_bitrate_tolerance @video_bitrate_tolerance end |
#video_codec ⇒ Object
The video codec of the Flavor Params
2855 2856 2857 |
# File 'lib/kaltura_types.rb', line 2855 def video_codec @video_codec end |
#video_constant_bitrate ⇒ Object
Returns the value of attribute video_constant_bitrate.
2909 2910 2911 |
# File 'lib/kaltura_types.rb', line 2909 def video_constant_bitrate @video_constant_bitrate end |
#watermark_data ⇒ Object
Returns the value of attribute watermark_data.
2911 2912 2913 |
# File 'lib/kaltura_types.rb', line 2911 def watermark_data @watermark_data end |
#width ⇒ Object
The desired width of the Flavor Params
2873 2874 2875 |
# File 'lib/kaltura_types.rb', line 2873 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 |
# File 'lib/kaltura_types.rb', line 2997 def from_xml(xml_element) super self.video_codec = xml_element.elements['videoCodec'].text self.video_bitrate = xml_element.elements['videoBitrate'].text self.audio_codec = xml_element.elements['audioCodec'].text self.audio_bitrate = xml_element.elements['audioBitrate'].text self.audio_channels = xml_element.elements['audioChannels'].text self.audio_sample_rate = xml_element.elements['audioSampleRate'].text self.width = xml_element.elements['width'].text self.height = xml_element.elements['height'].text self.frame_rate = xml_element.elements['frameRate'].text self.gop_size = xml_element.elements['gopSize'].text self.conversion_engines = xml_element.elements['conversionEngines'].text self.conversion_engines_extra_params = xml_element.elements['conversionEnginesExtraParams'].text self.two_pass = xml_element.elements['twoPass'].text self.deinterlice = xml_element.elements['deinterlice'].text self.rotate = xml_element.elements['rotate'].text self.operators = xml_element.elements['operators'].text self.engine_version = xml_element.elements['engineVersion'].text self.format = xml_element.elements['format'].text self.aspect_ratio_processing_mode = xml_element.elements['aspectRatioProcessingMode'].text self.force_frame_to_multiplication16 = xml_element.elements['forceFrameToMultiplication16'].text self.is_gop_in_sec = xml_element.elements['isGopInSec'].text self.is_avoid_video_shrink_framesize_to_source = xml_element.elements['isAvoidVideoShrinkFramesizeToSource'].text self.is_avoid_video_shrink_bitrate_to_source = xml_element.elements['isAvoidVideoShrinkBitrateToSource'].text self.is_video_frame_rate_for_low_br_apple_hls = xml_element.elements['isVideoFrameRateForLowBrAppleHls'].text self.multi_stream = xml_element.elements['multiStream'].text self.anamorphic_pixels = xml_element.elements['anamorphicPixels'].text self.is_avoid_forced_key_frames = xml_element.elements['isAvoidForcedKeyFrames'].text self.is_crop_imx = xml_element.elements['isCropIMX'].text self.optimization_policy = xml_element.elements['optimizationPolicy'].text self.max_frame_rate = xml_element.elements['maxFrameRate'].text self.video_constant_bitrate = xml_element.elements['videoConstantBitrate'].text self.video_bitrate_tolerance = xml_element.elements['videoBitrateTolerance'].text self.watermark_data = xml_element.elements['watermarkData'].text self.clip_offset = xml_element.elements['clipOffset'].text self.clip_duration = xml_element.elements['clipDuration'].text end |