class FFmpeg::Video::File

Defined in:

ffmpeg/video/file.cr

Constructors

Instance Method Summary

Instance methods inherited from class FFmpeg::Video

close : Nil close, closed? : Bool closed?, configure_read configure_read, each_frame(output_width : Int | Nil = nil, output_height : Int | Nil = nil, scaling_method : ScalingAlgorithm = ScalingAlgorithm::Bicublin, &) each_frame, finalize finalize, format : Format format, frame_pipeline(pipeline : Tasker::Pipeline, output_width : Int | Nil = nil, output_height : Int | Nil = nil, scaling_method : ScalingAlgorithm = ScalingAlgorithm::Bicublin) frame_pipeline, input : String input

Class methods inherited from class FFmpeg::Video

crop(canvas : StumpyCore::Canvas, cropped : StumpyCore::Canvas) crop, open(input : Path | URI) open, scale_to_fit(input_width : Int32, input_height : Int32, desired_width : Int32, desired_height : Int32) : Tuple(Int32, Int32) scale_to_fit

Constructor Detail

def self.new(filename : String | Path) #

[View source]

Instance Method Detail

def close : Nil #

[View source]
def closed? : Bool #

[View source]
def configure_read #

[View source]
def input : String #

[View source]