Class: Ffprober::VideoStream

Inherits:
Stream
  • Object
show all
Defined in:
lib/ffprober/video_stream.rb

Instance Attribute Summary collapse

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

#initialize

Constructor Details

This class inherits a constructor from Ffprober::Stream

Instance Attribute Details

#bit_rateObject

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_ratioObject

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_framesObject

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

#heightObject

Returns the value of attribute height.



3
4
5
# File 'lib/ffprober/video_stream.rb', line 3

def height
  @height
end

#is_avcObject

Returns the value of attribute is_avc.



3
4
5
# File 'lib/ffprober/video_stream.rb', line 3

def is_avc
  @is_avc
end

#levelObject

Returns the value of attribute level.



3
4
5
# File 'lib/ffprober/video_stream.rb', line 3

def level
  @level
end

#nal_length_sizeObject

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_fmtObject

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_ratioObject

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

#widthObject

Returns the value of attribute width.



3
4
5
# File 'lib/ffprober/video_stream.rb', line 3

def width
  @width
end