struct
Fluorite::Probe::ProbeResult
- Fluorite::Probe::ProbeResult
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
fluorite/probe/models.crConstructors
- .new(pull : JSON::PullParser)
- .new(streams : Array(Stream) = [] of Stream, format : Format = Format.new, chapters : Array(Chapter) = [] of Chapter)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #audio_streams : Array(Stream)
- #audio_summary : String
- #chapters : Array(Chapter)
- #duration : Time::Span
- #duration_formatted : String
- #format : Format
- #format_name : String
- #fps : Float64
- #human_size : String
- #primary_audio_stream : Stream | Nil
- #primary_video_stream : Stream | Nil
- #resolution : Tuple(Int32, Int32) | Nil
- #streams : Array(Stream)
- #subtitle_streams : Array(Stream)
- #video_streams : Array(Stream)
- #video_summary : String
Constructor Detail
def self.new(streams : Array(Stream) = [] of Stream, format : Format = Format.new, chapters : Array(Chapter) = [] of Chapter)
#