class MediaInfo::VideoStream
Constants
- TYPE
Attributes
bit_depth[R]
bit_depth_string[R]
bit_rate[R]
bit_rate_encoded[R]
bit_rate_encoded_string[R]
bit_rate_maximum[R]
bit_rate_maximum_string[R]
bit_rate_minimum[R]
bit_rate_minimum_string[R]
bit_rate_mode[R]
bit_rate_mode_string[R]
bit_rate_nominal[R]
bit_rate_nominal_string[R]
bit_rate_string[R]
bits_pixel_frame[R]
chroma_subsampling[R]
color_space[R]
colorimetry[R]
compression_mode[R]
compression_mode_string[R]
compression_ratio[R]
display_aspect_ratio[R]
display_aspect_ratio_string[R]
duration[R]
duration_string[R]
duration_string1[R]
duration_string2[R]
duration_string3[R]
duration_string4[R]
duration_string5[R]
encoded_date[R]
format_settings_bvop[R]
format_settings_bvop_string[R]
format_settings_cabac[R]
format_settings_cabac_string[R]
format_settings_frame_mode[R]
format_settings_frame_mode_string[R]
format_settings_gmc[R]
format_settings_gmc_string[R]
format_settings_gop[R]
format_settings_gop_string[R]
format_settings_matrix[R]
format_settings_matrix_string[R]
format_settings_pulldown[R]
format_settings_pulldown_string[R]
format_settings_qpel[R]
format_settings_qpel_string[R]
format_settings_ref_frames[R]
format_settings_ref_frames_string[R]
format_settings_wrapping[R]
frame_count[R]
frame_rate[R]
frame_rate_maximum[R]
frame_rate_maximum_string[R]
frame_rate_minimum[R]
frame_rate_minimum_string[R]
frame_rate_mode[R]
frame_rate_mode_string[R]
frame_rate_nominal[R]
frame_rate_nominal_string[R]
frame_rate_string[R]
height[R]
height_string[R]
language[R]
language_more[R]
language_string[R]
language_string1[R]
language_string2[R]
language_string3[R]
language_string4[R]
pixel_aspect_ratio[R]
pixel_aspect_ratio_string[R]
resolution[R]
resolution_string[R]
rotation[R]
rotation_string[R]
scan_order[R]
scan_order_string[R]
scan_type[R]
scan_type_string[R]
standard[R]
tagged_date[R]
width[R]
width_string[R]
Public Instance Methods
duration_seconds()
click to toggle source
# File lib/media_info/streams/video.rb, line 92 def duration_seconds duration / 1000.0 end
Private Instance Methods
bit_depth=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 142 def bit_depth=(value) @bit_depth = value.to_i end
bit_rate=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 102 def bit_rate=(value) @bit_rate = value.to_i end
bit_rate_maximum=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 114 def bit_rate_maximum=(value) @bit_rate_maximum = value.to_i end
bit_rate_minimum=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 106 def bit_rate_minimum=(value) @bit_rate_minimum = value.to_i end
bit_rate_nominal=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 110 def bit_rate_nominal=(value) @bit_rate_nominal = value.to_i end
duration=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 98 def duration=(value) @duration = value.to_i end
encoded_date=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 150 def encoded_date=(value) @encoded_date = Time.parse(value) end
frame_rate=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 126 def frame_rate=(value) @frame_rate = value.to_i end
frame_rate_maximum=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 138 def frame_rate_maximum=(value) @frame_rate_maximum = value.to_i end
frame_rate_minimum=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 130 def frame_rate_minimum=(value) @frame_rate_minimum = value.to_i end
frame_rate_nominal=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 134 def frame_rate_nominal=(value) @frame_rate_nominal = value.to_i end
height=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 122 def height=(value) @height = value.to_i end
resolution=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 146 def resolution=(value) @resolution = value.to_i end
tagged_date=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 154 def tagged_date=(value) @encoded_date = Time.parse(value) end
width=(value)
click to toggle source
# File lib/media_info/streams/video.rb, line 118 def width=(value) @width = value.to_i end