class FFmpeg::Format

Defined in:

ffmpeg/format.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(buffer_size : Int32 = (4 * 1024) * 1024) #

[View source]

Instance Method Detail

def configure_io #

[View source]
def dump_format(stream_index : Int, is_output : Bool = false) #

[View source]
def finalize #

[View source]
def find_best_stream(media_type : MediaType = MediaType::Video) #

[View source]
def input : String #

[View source]
def input? : String | Nil #

[View source]
def on_read(&on_read : Bytes -> Int32) #

[View source]
def on_seek(&on_seek : Int64, SeekFrom -> Int64) #

[View source]
def open(input : String) #

[View source]
def open? #

[View source]
def packet : Packet #

Lazy load the packet


[View source]
def parameters(stream_index : Int) #

[View source]
def read(&) #

[View source]
def stream_info #

[View source]
def to_unsafe : Pointer(FFmpeg::LibAV::Format::Context) #

[View source]