class
Fluorite::DSL::FilterGraph
- Fluorite::DSL::FilterGraph
- Reference
- Object
Defined in:
fluorite/dsl/filter_graph.crInstance Method Summary
-
#af(filter_str : String) : self
Adds raw audio filter expression
-
#afade(type : Symbol = :in, start_time : Float64 = 0.0, duration : Float64 = 2.0) : self
Audio filter: fade
- #audio_filters : Array(String)
-
#complex(filter_str : String) : self
Adds raw complex filter expression
- #complex_filters : Array(String)
-
#crop(w : Int32 | String, h : Int32 | String, x : Int32 | String = 0, y : Int32 | String = 0) : self
Video filter: crop
-
#drawtext(text : String, fontfile : String | Nil = nil, fontsize : Int32 = 24, fontcolor : String = "white", x : String | Int32 = 10, y : String | Int32 = 10, box : Bool = false, boxcolor : String = "black@0.5") : self
Video filter: drawtext
- #empty? : Bool
-
#fps(fps_val : Float64 | Int32) : self
Video filter: fps
-
#hflip : self
Video filter: flips & rotate
-
#loudnorm(i : Float64 = -24.0, lra : Float64 = 7.0, tp : Float64 = -2.0) : self
Audio filter: loudnorm (EBU R128 loudness normalization)
-
#pad(w : Int32 | String, h : Int32 | String, x : Int32 | String = 0, y : Int32 | String = 0, color : String = "black") : self
Video filter: pad
-
#palette_gif(fps_val : Int32 = 15, scale_w : Int32 = 480) : self
2-pass palette generation & usage for crisp GIFs
- #rotate(radians_or_expr : String | Float64) : self
-
#scale(width : Int32 | String, height : Int32 | String, flags : String = "lanczos") : self
Video filter: scale
- #to_args : Array(String)
-
#vf(filter_str : String) : self
Adds raw video filter expression
- #vflip : self
- #video_filters : Array(String)
-
#volume(vol : Float64 | String) : self
Audio filter: volume
Instance Method Detail
Audio filter: fade
def crop(w : Int32 | String, h : Int32 | String, x : Int32 | String = 0, y : Int32 | String = 0) : self
#
Video filter: crop
def drawtext(text : String, fontfile : String | Nil = nil, fontsize : Int32 = 24, fontcolor : String = "white", x : String | Int32 = 10, y : String | Int32 = 10, box : Bool = false, boxcolor : String = "black@0.5") : self
#
Video filter: drawtext
Audio filter: loudnorm (EBU R128 loudness normalization)
def pad(w : Int32 | String, h : Int32 | String, x : Int32 | String = 0, y : Int32 | String = 0, color : String = "black") : self
#
Video filter: pad
2-pass palette generation & usage for crisp GIFs
Video filter: scale