Class: Ffprober::VideoStream
- Defined in:
- lib/ffprober/video_stream.rb
Instance Attribute Summary collapse
-
#bit_rate ⇒ Object
Returns the value of attribute bit_rate.
-
#display_aspect_ratio ⇒ Object
Returns the value of attribute display_aspect_ratio.
-
#has_b_frames ⇒ Object
Returns the value of attribute has_b_frames.
-
#height ⇒ Object
Returns the value of attribute height.
-
#is_avc ⇒ Object
Returns the value of attribute is_avc.
-
#level ⇒ Object
Returns the value of attribute level.
-
#nal_length_size ⇒ Object
Returns the value of attribute nal_length_size.
-
#pix_fmt ⇒ Object
Returns the value of attribute pix_fmt.
-
#sample_aspect_ratio ⇒ Object
Returns the value of attribute sample_aspect_ratio.
-
#width ⇒ Object
Returns the value of attribute width.
Attributes inherited from Stream
#avg_frame_rate, #codec_long_name, #codec_name, #codec_tag, #codec_tag_string, #codec_time_base, #codec_type, #duration, #nb_frames, #r_frame_rate, #start_time, #time_base
Method Summary
Methods inherited from Stream
Constructor Details
This class inherits a constructor from Ffprober::Stream
Instance Attribute Details
#bit_rate ⇒ Object
Returns the value of attribute bit_rate.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def bit_rate @bit_rate end |
#display_aspect_ratio ⇒ Object
Returns the value of attribute display_aspect_ratio.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def display_aspect_ratio @display_aspect_ratio end |
#has_b_frames ⇒ Object
Returns the value of attribute has_b_frames.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def has_b_frames @has_b_frames end |
#height ⇒ Object
Returns the value of attribute height.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def height @height end |
#is_avc ⇒ Object
Returns the value of attribute is_avc.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def is_avc @is_avc end |
#level ⇒ Object
Returns the value of attribute level.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def level @level end |
#nal_length_size ⇒ Object
Returns the value of attribute nal_length_size.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def nal_length_size @nal_length_size end |
#pix_fmt ⇒ Object
Returns the value of attribute pix_fmt.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def pix_fmt @pix_fmt end |
#sample_aspect_ratio ⇒ Object
Returns the value of attribute sample_aspect_ratio.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def sample_aspect_ratio @sample_aspect_ratio end |
#width ⇒ Object
Returns the value of attribute width.
3 4 5 |
# File 'lib/ffprober/video_stream.rb', line 3 def width @width end |