Class: Kaltura::KalturaMediaInfo
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaMediaInfo
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#audio_bit_rate ⇒ Object
The audio bit rate.
-
#audio_bit_rate_mode ⇒ Object
The audio bit rate mode.
-
#audio_channels ⇒ Object
The number of audio channels.
-
#audio_codec_id ⇒ Object
The audio codec id.
-
#audio_duration ⇒ Object
The audio duration.
-
#audio_format ⇒ Object
The audio format.
-
#audio_resolution ⇒ Object
The audio resolution.
-
#audio_sampling_rate ⇒ Object
The audio sampling rate.
-
#bits_depth ⇒ Object
Returns the value of attribute bits_depth.
-
#chroma_subsampling ⇒ Object
Returns the value of attribute chroma_subsampling.
-
#color_primaries ⇒ Object
Returns the value of attribute color_primaries.
-
#color_space ⇒ Object
Returns the value of attribute color_space.
-
#color_transfer ⇒ Object
Returns the value of attribute color_transfer.
-
#complexity_value ⇒ Object
Returns the value of attribute complexity_value.
-
#container_bit_rate ⇒ Object
The container bit rate.
-
#container_duration ⇒ Object
The container duration.
-
#container_format ⇒ Object
The container format.
-
#container_id ⇒ Object
The container id.
-
#container_profile ⇒ Object
The container profile.
-
#content_streams ⇒ Object
Returns the value of attribute content_streams.
-
#file_size ⇒ Object
The file size.
-
#flavor_asset_id ⇒ Object
The id of the related flavor asset.
-
#id ⇒ Object
The id of the media info.
-
#is_fast_start ⇒ Object
Returns the value of attribute is_fast_start.
-
#matrix_coefficients ⇒ Object
Returns the value of attribute matrix_coefficients.
-
#max_gop ⇒ Object
Returns the value of attribute max_gop.
-
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
-
#multi_stream_info ⇒ Object
Returns the value of attribute multi_stream_info.
-
#pixel_format ⇒ Object
Returns the value of attribute pixel_format.
-
#raw_data ⇒ Object
The data as returned by the mediainfo command line.
-
#scan_type ⇒ Object
Returns the value of attribute scan_type.
-
#video_bit_rate ⇒ Object
The video bit rate.
-
#video_bit_rate_mode ⇒ Object
The video bit rate mode.
-
#video_codec_id ⇒ Object
The video codec id.
-
#video_dar ⇒ Object
The video display aspect ratio (dar).
-
#video_duration ⇒ Object
The video duration.
-
#video_format ⇒ Object
The video format.
-
#video_frame_rate ⇒ Object
The video frame rate.
-
#video_height ⇒ Object
The video height.
-
#video_rotation ⇒ Object
Returns the value of attribute video_rotation.
-
#video_width ⇒ Object
The video width.
-
#writing_lib ⇒ Object
The writing library.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#audio_bit_rate ⇒ Object
The audio bit rate
5940 5941 5942 |
# File 'lib/kaltura_types.rb', line 5940 def audio_bit_rate @audio_bit_rate end |
#audio_bit_rate_mode ⇒ Object
The audio bit rate mode
5942 5943 5944 |
# File 'lib/kaltura_types.rb', line 5942 def audio_bit_rate_mode @audio_bit_rate_mode end |
#audio_channels ⇒ Object
The number of audio channels
5944 5945 5946 |
# File 'lib/kaltura_types.rb', line 5944 def audio_channels @audio_channels end |
#audio_codec_id ⇒ Object
The audio codec id
5936 5937 5938 |
# File 'lib/kaltura_types.rb', line 5936 def audio_codec_id @audio_codec_id end |
#audio_duration ⇒ Object
The audio duration
5938 5939 5940 |
# File 'lib/kaltura_types.rb', line 5938 def audio_duration @audio_duration end |
#audio_format ⇒ Object
The audio format
5934 5935 5936 |
# File 'lib/kaltura_types.rb', line 5934 def audio_format @audio_format end |
#audio_resolution ⇒ Object
The audio resolution
5948 5949 5950 |
# File 'lib/kaltura_types.rb', line 5948 def audio_resolution @audio_resolution end |
#audio_sampling_rate ⇒ Object
The audio sampling rate
5946 5947 5948 |
# File 'lib/kaltura_types.rb', line 5946 def audio_sampling_rate @audio_sampling_rate end |
#bits_depth ⇒ Object
Returns the value of attribute bits_depth.
5966 5967 5968 |
# File 'lib/kaltura_types.rb', line 5966 def bits_depth @bits_depth end |
#chroma_subsampling ⇒ Object
Returns the value of attribute chroma_subsampling.
5965 5966 5967 |
# File 'lib/kaltura_types.rb', line 5965 def chroma_subsampling @chroma_subsampling end |
#color_primaries ⇒ Object
Returns the value of attribute color_primaries.
5962 5963 5964 |
# File 'lib/kaltura_types.rb', line 5962 def color_primaries @color_primaries end |
#color_space ⇒ Object
Returns the value of attribute color_space.
5964 5965 5966 |
# File 'lib/kaltura_types.rb', line 5964 def color_space @color_space end |
#color_transfer ⇒ Object
Returns the value of attribute color_transfer.
5961 5962 5963 |
# File 'lib/kaltura_types.rb', line 5961 def color_transfer @color_transfer end |
#complexity_value ⇒ Object
Returns the value of attribute complexity_value.
5958 5959 5960 |
# File 'lib/kaltura_types.rb', line 5958 def complexity_value @complexity_value end |
#container_bit_rate ⇒ Object
The container bit rate
5913 5914 5915 |
# File 'lib/kaltura_types.rb', line 5913 def container_bit_rate @container_bit_rate end |
#container_duration ⇒ Object
The container duration
5911 5912 5913 |
# File 'lib/kaltura_types.rb', line 5911 def container_duration @container_duration end |
#container_format ⇒ Object
The container format
5905 5906 5907 |
# File 'lib/kaltura_types.rb', line 5905 def container_format @container_format end |
#container_id ⇒ Object
The container id
5907 5908 5909 |
# File 'lib/kaltura_types.rb', line 5907 def container_id @container_id end |
#container_profile ⇒ Object
The container profile
5909 5910 5911 |
# File 'lib/kaltura_types.rb', line 5909 def container_profile @container_profile end |
#content_streams ⇒ Object
Returns the value of attribute content_streams.
5957 5958 5959 |
# File 'lib/kaltura_types.rb', line 5957 def content_streams @content_streams end |
#file_size ⇒ Object
The file size
5903 5904 5905 |
# File 'lib/kaltura_types.rb', line 5903 def file_size @file_size end |
#flavor_asset_id ⇒ Object
The id of the related flavor asset
5901 5902 5903 |
# File 'lib/kaltura_types.rb', line 5901 def flavor_asset_id @flavor_asset_id end |
#id ⇒ Object
The id of the media info
5899 5900 5901 |
# File 'lib/kaltura_types.rb', line 5899 def id @id end |
#is_fast_start ⇒ Object
Returns the value of attribute is_fast_start.
5956 5957 5958 |
# File 'lib/kaltura_types.rb', line 5956 def is_fast_start @is_fast_start end |
#matrix_coefficients ⇒ Object
Returns the value of attribute matrix_coefficients.
5960 5961 5962 |
# File 'lib/kaltura_types.rb', line 5960 def matrix_coefficients @matrix_coefficients end |
#max_gop ⇒ Object
Returns the value of attribute max_gop.
5959 5960 5961 |
# File 'lib/kaltura_types.rb', line 5959 def max_gop @max_gop end |
#multi_stream ⇒ Object
Returns the value of attribute multi_stream.
5955 5956 5957 |
# File 'lib/kaltura_types.rb', line 5955 def multi_stream @multi_stream end |
#multi_stream_info ⇒ Object
Returns the value of attribute multi_stream_info.
5953 5954 5955 |
# File 'lib/kaltura_types.rb', line 5953 def multi_stream_info @multi_stream_info end |
#pixel_format ⇒ Object
Returns the value of attribute pixel_format.
5963 5964 5965 |
# File 'lib/kaltura_types.rb', line 5963 def pixel_format @pixel_format end |
#raw_data ⇒ Object
The data as returned by the mediainfo command line
5952 5953 5954 |
# File 'lib/kaltura_types.rb', line 5952 def raw_data @raw_data end |
#scan_type ⇒ Object
Returns the value of attribute scan_type.
5954 5955 5956 |
# File 'lib/kaltura_types.rb', line 5954 def scan_type @scan_type end |
#video_bit_rate ⇒ Object
The video bit rate
5921 5922 5923 |
# File 'lib/kaltura_types.rb', line 5921 def video_bit_rate @video_bit_rate end |
#video_bit_rate_mode ⇒ Object
The video bit rate mode
5923 5924 5925 |
# File 'lib/kaltura_types.rb', line 5923 def video_bit_rate_mode @video_bit_rate_mode end |
#video_codec_id ⇒ Object
The video codec id
5917 5918 5919 |
# File 'lib/kaltura_types.rb', line 5917 def video_codec_id @video_codec_id end |
#video_dar ⇒ Object
The video display aspect ratio (dar)
5931 5932 5933 |
# File 'lib/kaltura_types.rb', line 5931 def video_dar @video_dar end |
#video_duration ⇒ Object
The video duration
5919 5920 5921 |
# File 'lib/kaltura_types.rb', line 5919 def video_duration @video_duration end |
#video_format ⇒ Object
The video format
5915 5916 5917 |
# File 'lib/kaltura_types.rb', line 5915 def video_format @video_format end |
#video_frame_rate ⇒ Object
The video frame rate
5929 5930 5931 |
# File 'lib/kaltura_types.rb', line 5929 def video_frame_rate @video_frame_rate end |
#video_height ⇒ Object
The video height
5927 5928 5929 |
# File 'lib/kaltura_types.rb', line 5927 def video_height @video_height end |
#video_rotation ⇒ Object
Returns the value of attribute video_rotation.
5932 5933 5934 |
# File 'lib/kaltura_types.rb', line 5932 def video_rotation @video_rotation end |
#video_width ⇒ Object
The video width
5925 5926 5927 |
# File 'lib/kaltura_types.rb', line 5925 def video_width @video_width end |
#writing_lib ⇒ Object
The writing library
5950 5951 5952 |
# File 'lib/kaltura_types.rb', line 5950 def writing_lib @writing_lib end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 |
# File 'lib/kaltura_types.rb', line 6038 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['flavorAssetId'] != nil self.flavor_asset_id = xml_element.elements['flavorAssetId'].text end if xml_element.elements['fileSize'] != nil self.file_size = xml_element.elements['fileSize'].text end if xml_element.elements['containerFormat'] != nil self.container_format = xml_element.elements['containerFormat'].text end if xml_element.elements['containerId'] != nil self.container_id = xml_element.elements['containerId'].text end if xml_element.elements['containerProfile'] != nil self.container_profile = xml_element.elements['containerProfile'].text end if xml_element.elements['containerDuration'] != nil self.container_duration = xml_element.elements['containerDuration'].text end if xml_element.elements['containerBitRate'] != nil self.container_bit_rate = xml_element.elements['containerBitRate'].text end if xml_element.elements['videoFormat'] != nil self.video_format = xml_element.elements['videoFormat'].text end if xml_element.elements['videoCodecId'] != nil self.video_codec_id = xml_element.elements['videoCodecId'].text end if xml_element.elements['videoDuration'] != nil self.video_duration = xml_element.elements['videoDuration'].text end if xml_element.elements['videoBitRate'] != nil self.video_bit_rate = xml_element.elements['videoBitRate'].text end if xml_element.elements['videoBitRateMode'] != nil self.video_bit_rate_mode = xml_element.elements['videoBitRateMode'].text end if xml_element.elements['videoWidth'] != nil self.video_width = xml_element.elements['videoWidth'].text end if xml_element.elements['videoHeight'] != nil self.video_height = xml_element.elements['videoHeight'].text end if xml_element.elements['videoFrameRate'] != nil self.video_frame_rate = xml_element.elements['videoFrameRate'].text end if xml_element.elements['videoDar'] != nil self.video_dar = xml_element.elements['videoDar'].text end if xml_element.elements['videoRotation'] != nil self.video_rotation = xml_element.elements['videoRotation'].text end if xml_element.elements['audioFormat'] != nil self.audio_format = xml_element.elements['audioFormat'].text end if xml_element.elements['audioCodecId'] != nil self.audio_codec_id = xml_element.elements['audioCodecId'].text end if xml_element.elements['audioDuration'] != nil self.audio_duration = xml_element.elements['audioDuration'].text end if xml_element.elements['audioBitRate'] != nil self.audio_bit_rate = xml_element.elements['audioBitRate'].text end if xml_element.elements['audioBitRateMode'] != nil self.audio_bit_rate_mode = xml_element.elements['audioBitRateMode'].text end if xml_element.elements['audioChannels'] != nil self.audio_channels = xml_element.elements['audioChannels'].text end if xml_element.elements['audioSamplingRate'] != nil self.audio_sampling_rate = xml_element.elements['audioSamplingRate'].text end if xml_element.elements['audioResolution'] != nil self.audio_resolution = xml_element.elements['audioResolution'].text end if xml_element.elements['writingLib'] != nil self.writing_lib = xml_element.elements['writingLib'].text end if xml_element.elements['rawData'] != nil self.raw_data = xml_element.elements['rawData'].text end if xml_element.elements['multiStreamInfo'] != nil self.multi_stream_info = xml_element.elements['multiStreamInfo'].text end if xml_element.elements['scanType'] != nil self.scan_type = xml_element.elements['scanType'].text end if xml_element.elements['multiStream'] != nil self.multi_stream = xml_element.elements['multiStream'].text end if xml_element.elements['isFastStart'] != nil self.is_fast_start = xml_element.elements['isFastStart'].text end if xml_element.elements['contentStreams'] != nil self.content_streams = xml_element.elements['contentStreams'].text end if xml_element.elements['complexityValue'] != nil self.complexity_value = xml_element.elements['complexityValue'].text end if xml_element.elements['maxGOP'] != nil self.max_gop = xml_element.elements['maxGOP'].text end if xml_element.elements['matrixCoefficients'] != nil self.matrix_coefficients = xml_element.elements['matrixCoefficients'].text end if xml_element.elements['colorTransfer'] != nil self.color_transfer = xml_element.elements['colorTransfer'].text end if xml_element.elements['colorPrimaries'] != nil self.color_primaries = xml_element.elements['colorPrimaries'].text end if xml_element.elements['pixelFormat'] != nil self.pixel_format = xml_element.elements['pixelFormat'].text end if xml_element.elements['colorSpace'] != nil self.color_space = xml_element.elements['colorSpace'].text end if xml_element.elements['chromaSubsampling'] != nil self.chroma_subsampling = xml_element.elements['chromaSubsampling'].text end if xml_element.elements['bitsDepth'] != nil self.bits_depth = xml_element.elements['bitsDepth'].text end end |