Class: FFProbe::StreamInfo

Inherits:
Entity
  • Object
show all
Defined in:
lib/ffprobe/stream_info.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#units

Method Summary

Methods inherited from Entity

from_hash, units, #units?

Instance Attribute Details

#bits_per_sampleObject

Returns the value of attribute bits_per_sample.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def bits_per_sample
  @bits_per_sample
end

#channelsObject

Returns the value of attribute channels.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def channels
  @channels
end

#codec_nameObject

Returns the value of attribute codec_name.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def codec_name
  @codec_name
end

#codec_typeObject

Returns the value of attribute codec_type.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def codec_type
  @codec_type
end

#decoder_time_baseObject

Returns the value of attribute decoder_time_base.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def decoder_time_base
  @decoder_time_base
end

#display_aspect_ratioObject

Returns the value of attribute display_aspect_ratio.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def display_aspect_ratio
  @display_aspect_ratio
end

#durationObject

Returns the value of attribute duration.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def duration
  @duration
end

#gop_sizeObject

Returns the value of attribute gop_size.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def gop_size
  @gop_size
end

#has_b_framesObject

Returns the value of attribute has_b_frames.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def has_b_frames
  @has_b_frames
end

#heightObject

Returns the value of attribute height.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def height
  @height
end

#indexObject

Returns the value of attribute index.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def index
  @index
end

#nb_framesObject

Returns the value of attribute nb_frames.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def nb_frames
  @nb_frames
end

#pix_fmtObject

Returns the value of attribute pix_fmt.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def pix_fmt
  @pix_fmt
end

#probed_nb_framesObject

Returns the value of attribute probed_nb_frames.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def probed_nb_frames
  @probed_nb_frames
end

#probed_nb_pktsObject

Returns the value of attribute probed_nb_pkts.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def probed_nb_pkts
  @probed_nb_pkts
end

#probed_sizeObject

Returns the value of attribute probed_size.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def probed_size
  @probed_size
end

#r_frame_rateObject

Returns the value of attribute r_frame_rate.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def r_frame_rate
  @r_frame_rate
end

#r_frame_rate_denObject

Returns the value of attribute r_frame_rate_den.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def r_frame_rate_den
  @r_frame_rate_den
end

#r_frame_rate_numObject

Returns the value of attribute r_frame_rate_num.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def r_frame_rate_num
  @r_frame_rate_num
end

#sample_aspect_ratioObject

Returns the value of attribute sample_aspect_ratio.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def sample_aspect_ratio
  @sample_aspect_ratio
end

#sample_rateObject

Returns the value of attribute sample_rate.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def sample_rate
  @sample_rate
end

#start_timeObject

Returns the value of attribute start_time.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def start_time
  @start_time
end

#time_baseObject

Returns the value of attribute time_base.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def time_base
  @time_base
end

#widthObject

Returns the value of attribute width.



4
5
6
# File 'lib/ffprobe/stream_info.rb', line 4

def width
  @width
end