Class: Kaltura::KalturaMediaInfo

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#audio_bit_rateObject

The audio bit rate



5602
5603
5604
# File 'lib/kaltura_types.rb', line 5602

def audio_bit_rate
  @audio_bit_rate
end

#audio_bit_rate_modeObject

The audio bit rate mode



5604
5605
5606
# File 'lib/kaltura_types.rb', line 5604

def audio_bit_rate_mode
  @audio_bit_rate_mode
end

#audio_channelsObject

The number of audio channels



5606
5607
5608
# File 'lib/kaltura_types.rb', line 5606

def audio_channels
  @audio_channels
end

#audio_codec_idObject

The audio codec id



5598
5599
5600
# File 'lib/kaltura_types.rb', line 5598

def audio_codec_id
  @audio_codec_id
end

#audio_durationObject

The audio duration



5600
5601
5602
# File 'lib/kaltura_types.rb', line 5600

def audio_duration
  @audio_duration
end

#audio_formatObject

The audio format



5596
5597
5598
# File 'lib/kaltura_types.rb', line 5596

def audio_format
  @audio_format
end

#audio_resolutionObject

The audio resolution



5610
5611
5612
# File 'lib/kaltura_types.rb', line 5610

def audio_resolution
  @audio_resolution
end

#audio_sampling_rateObject

The audio sampling rate



5608
5609
5610
# File 'lib/kaltura_types.rb', line 5608

def audio_sampling_rate
  @audio_sampling_rate
end

#complexity_valueObject

Returns the value of attribute complexity_value.



5620
5621
5622
# File 'lib/kaltura_types.rb', line 5620

def complexity_value
  @complexity_value
end

#container_bit_rateObject

The container bit rate



5575
5576
5577
# File 'lib/kaltura_types.rb', line 5575

def container_bit_rate
  @container_bit_rate
end

#container_durationObject

The container duration



5573
5574
5575
# File 'lib/kaltura_types.rb', line 5573

def container_duration
  @container_duration
end

#container_formatObject

The container format



5567
5568
5569
# File 'lib/kaltura_types.rb', line 5567

def container_format
  @container_format
end

#container_idObject

The container id



5569
5570
5571
# File 'lib/kaltura_types.rb', line 5569

def container_id
  @container_id
end

#container_profileObject

The container profile



5571
5572
5573
# File 'lib/kaltura_types.rb', line 5571

def container_profile
  @container_profile
end

#content_streamsObject

Returns the value of attribute content_streams.



5619
5620
5621
# File 'lib/kaltura_types.rb', line 5619

def content_streams
  @content_streams
end

#file_sizeObject

The file size



5565
5566
5567
# File 'lib/kaltura_types.rb', line 5565

def file_size
  @file_size
end

#flavor_asset_idObject

The id of the related flavor asset



5563
5564
5565
# File 'lib/kaltura_types.rb', line 5563

def flavor_asset_id
  @flavor_asset_id
end

#idObject

The id of the media info



5561
5562
5563
# File 'lib/kaltura_types.rb', line 5561

def id
  @id
end

#is_fast_startObject

Returns the value of attribute is_fast_start.



5618
5619
5620
# File 'lib/kaltura_types.rb', line 5618

def is_fast_start
  @is_fast_start
end

#max_gopObject

Returns the value of attribute max_gop.



5621
5622
5623
# File 'lib/kaltura_types.rb', line 5621

def max_gop
  @max_gop
end

#multi_streamObject

Returns the value of attribute multi_stream.



5617
5618
5619
# File 'lib/kaltura_types.rb', line 5617

def multi_stream
  @multi_stream
end

#multi_stream_infoObject

Returns the value of attribute multi_stream_info.



5615
5616
5617
# File 'lib/kaltura_types.rb', line 5615

def multi_stream_info
  @multi_stream_info
end

#raw_dataObject

The data as returned by the mediainfo command line



5614
5615
5616
# File 'lib/kaltura_types.rb', line 5614

def raw_data
  @raw_data
end

#scan_typeObject

Returns the value of attribute scan_type.



5616
5617
5618
# File 'lib/kaltura_types.rb', line 5616

def scan_type
  @scan_type
end

#video_bit_rateObject

The video bit rate



5583
5584
5585
# File 'lib/kaltura_types.rb', line 5583

def video_bit_rate
  @video_bit_rate
end

#video_bit_rate_modeObject

The video bit rate mode



5585
5586
5587
# File 'lib/kaltura_types.rb', line 5585

def video_bit_rate_mode
  @video_bit_rate_mode
end

#video_codec_idObject

The video codec id



5579
5580
5581
# File 'lib/kaltura_types.rb', line 5579

def video_codec_id
  @video_codec_id
end

#video_darObject

The video display aspect ratio (dar)



5593
5594
5595
# File 'lib/kaltura_types.rb', line 5593

def video_dar
  @video_dar
end

#video_durationObject

The video duration



5581
5582
5583
# File 'lib/kaltura_types.rb', line 5581

def video_duration
  @video_duration
end

#video_formatObject

The video format



5577
5578
5579
# File 'lib/kaltura_types.rb', line 5577

def video_format
  @video_format
end

#video_frame_rateObject

The video frame rate



5591
5592
5593
# File 'lib/kaltura_types.rb', line 5591

def video_frame_rate
  @video_frame_rate
end

#video_heightObject

The video height



5589
5590
5591
# File 'lib/kaltura_types.rb', line 5589

def video_height
  @video_height
end

#video_rotationObject

Returns the value of attribute video_rotation.



5594
5595
5596
# File 'lib/kaltura_types.rb', line 5594

def video_rotation
  @video_rotation
end

#video_widthObject

The video width



5587
5588
5589
# File 'lib/kaltura_types.rb', line 5587

def video_width
  @video_width
end

#writing_libObject

The writing library



5612
5613
5614
# File 'lib/kaltura_types.rb', line 5612

def writing_lib
  @writing_lib
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
# File 'lib/kaltura_types.rb', line 5690

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
end