struct Fluorite::Probe::Format

Included Modules

Defined in:

fluorite/probe/models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(filename : String | Nil = nil, nb_streams : Int32 = 0, nb_programs : Int32 = 0, format_name : String | Nil = nil, format_long_name : String | Nil = nil, start_time : String | Nil = nil, duration : String | Nil = nil, size : String | Nil = nil, bit_rate : String | Nil = nil, probe_score : Int32 | Nil = nil, tags : Hash(String, String) | Nil = nil) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def bit_rate : String | Nil #

def bitrate_kbps : Int32 #

def duration : String | Nil #

def duration_seconds : Float64 #

def duration_span : Time::Span #

def filename : String | Nil #

def format_long_name : String | Nil #

def format_name : String | Nil #

def human_size : String #

def nb_programs : Int32 #

def nb_streams : Int32 #

def probe_score : Int32 | Nil #

def size : String | Nil #

def size_bytes : Int64 #

def start_time : String | Nil #

def tags : Hash(String, String) | Nil #