struct Fluorite::Probe::ProbeResult

Included Modules

Defined in:

fluorite/probe/models.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(streams : Array(Stream) = [] of Stream, format : Format = Format.new, chapters : Array(Chapter) = [] of Chapter) #

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

Instance Method Detail

def audio_streams : Array(Stream) #

def audio_summary : String #

def chapters : Array(Chapter) #

def duration : Time::Span #

def duration_formatted : String #

def format : Format #

def format_name : String #

def fps : Float64 #

def human_size : String #

def primary_audio_stream : Stream | Nil #

def primary_video_stream : Stream | Nil #

def resolution : Tuple(Int32, Int32) | Nil #

def streams : Array(Stream) #

def subtitle_streams : Array(Stream) #

def video_streams : Array(Stream) #

def video_summary : String #