module

GS::Video

Class methods

av_error_string(errnum : Int32) : String

Helper to convert AV error code to string

Source
extract_frames(path : String, criteria : SelectionCriteria = SelectionCriteria.new) : Array(Frame)

Convenience method to extract frames from video

Source
extract_interval(path : String, interval_sec : Float64) : Array(Frame)

Extract frames at fixed interval

Source
extract_uniform(path : String, n_frames : Int32) : Array(Frame)

Extract frames with simple sampling (no quality filtering)

Source
rational_to_f(r : LibAV::AVRationalStruct) : Float64

Rational to float

Source

Nested types