class Fluorite::DSL::Input

Defined in:

fluorite/dsl/input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

Instance Method Detail

def duration(time : Time::Span | String | Number) : self #

Limits duration of reading


def duration_time : String | Nil #

def duration_time=(duration_time : String | Nil) #

def format(name : String) : self #

def format_name : String | Nil #

def format_name=(format_name : String | Nil) #

def fps(rate : Float64 | Int32) : self #

def hwaccel(accel : String | Symbol) : self #

def hwaccel_name : String | Nil #

def hwaccel_name=(hwaccel_name : String | Nil) #

def input_fps : Float64 | Nil #

def input_fps=(input_fps : Float64 | Nil) #

def loop(count : Int32) : self #

def loop_count : Int32 | Nil #

def loop_count=(loop_count : Int32 | Nil) #

def option(flag : String, value : String | Nil = nil) : self #

def path : String #

def path=(path : String) #

def raw_options : Array(String) #

def raw_options=(raw_options : Array(String)) #

def seek(time : Time::Span | String | Number) : self #

Seeks to timestamp prior to reading (fast keyframe seek)


def seek_time : String | Nil #

def seek_time=(seek_time : String | Nil) #

def to_args : Array(String) #