class Mkv2m4v::AudioTrack

Public Instance Methods

bit_rate_description() click to toggle source
# File lib/mkv2m4v/track.rb, line 60
def bit_rate_description
  "#{bit_rate_kbps}k (#{info.bit_rate_mode})"
end
bit_rate_kbps() click to toggle source
# File lib/mkv2m4v/track.rb, line 52
def bit_rate_kbps
  info.bit_rate.gsub(/\D/, "").to_i if info.bit_rate
end
channel_count() click to toggle source
# File lib/mkv2m4v/track.rb, line 48
def channel_count
  info.channels.to_s.chars.first.to_i
end
channel_description() click to toggle source
# File lib/mkv2m4v/track.rb, line 56
def channel_description
  "#{channel_count} (#{info.channel_positions})"
end
print(color = nil) click to toggle source