abstract class FFmpeg::Video

Direct Known Subclasses

Defined in:

ffmpeg/video.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.open(input : Path | URI) #

[View source]

Instance Method Detail

abstract def close : Nil #

[View source]
abstract def closed? : Bool #

[View source]
def codec : Codec | Nil #

[View source]
abstract def configure_read #

[View source]
def each_frame(&) #

Grab each frame


[View source]
def finalize #

[View source]
def format : Format #

[View source]
abstract def input : String #

[View source]
def on_codec(&on_codec : Codec -> ) #

[View source]
def seek(timestamp : Int64, style : SeekStyle = SeekStyle::None) #

[View source]
def stream_index : Int32 #

[View source]