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.



2904
2905
2906
# File 'lib/kaltura_types.rb', line 2904

def anamorphic_pixels
  @anamorphic_pixels
end

#aspect_ratio_processing_modeObject

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_bitrateObject

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_channelsObject

The number of audio channels for “downmixing”



2867
2868
2869
# File 'lib/kaltura_types.rb', line 2867

def audio_channels
  @audio_channels
end

#audio_codecObject

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_rateObject

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_durationObject

Returns the value of attribute clip_duration.



2913
2914
2915
# File 'lib/kaltura_types.rb', line 2913

def clip_duration
  @clip_duration
end

#clip_offsetObject

Returns the value of attribute clip_offset.



2912
2913
2914
# File 'lib/kaltura_types.rb', line 2912

def clip_offset
  @clip_offset
end

#conversion_enginesObject

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_paramsObject

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

#deinterliceObject

Returns the value of attribute deinterlice.



2890
2891
2892
# File 'lib/kaltura_types.rb', line 2890

def deinterlice
  @deinterlice
end

#engine_versionObject

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_multiplication16Object

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

#formatObject

The container format of the Flavor Params



2896
2897
2898
# File 'lib/kaltura_types.rb', line 2896

def format
  @format
end

#frame_rateObject

The frame rate of the Flavor Params



2879
2880
2881
# File 'lib/kaltura_types.rb', line 2879

def frame_rate
  @frame_rate
end

#gop_sizeObject

The gop size of the Flavor Params



2882
2883
2884
# File 'lib/kaltura_types.rb', line 2882

def gop_size
  @gop_size
end

#heightObject

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_framesObject

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_sourceObject

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_sourceObject

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_imxObject

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_secObject

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_hlsObject

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_rateObject

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_streamObject

Returns the value of attribute multi_stream.



2903
2904
2905
# File 'lib/kaltura_types.rb', line 2903

def multi_stream
  @multi_stream
end

#operatorsObject

Returns the value of attribute operators.



2892
2893
2894
# File 'lib/kaltura_types.rb', line 2892

def operators
  @operators
end

#optimization_policyObject

Returns the value of attribute optimization_policy.



2907
2908
2909
# File 'lib/kaltura_types.rb', line 2907

def optimization_policy
  @optimization_policy
end

#rotateObject

Returns the value of attribute rotate.



2891
2892
2893
# File 'lib/kaltura_types.rb', line 2891

def rotate
  @rotate
end

#two_passObject

Returns the value of attribute two_pass.



2889
2890
2891
# File 'lib/kaltura_types.rb', line 2889

def two_pass
  @two_pass
end

#video_bitrateObject

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_toleranceObject

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_codecObject

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_bitrateObject

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_dataObject

Returns the value of attribute watermark_data.



2911
2912
2913
# File 'lib/kaltura_types.rb', line 2911

def watermark_data
  @watermark_data
end

#widthObject

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