class Fluorite::Config

Defined in:

fluorite/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

Class Method Detail

def self.find_binary(name : String) : String | Nil #

Instance Method Detail

def amf_available? : Bool #

def auto_hwaccel : Bool #

def auto_hwaccel=(auto_hwaccel : Bool) #

def available_encoders : Set(String) #

Returns the set of supported video and audio encoders


def available_hwaccels : Set(String) #

Returns the set of supported hardware acceleration methods


def best_encoder_for(format : Symbol) : String #

Discovers best available hardware accelerated video encoder for given format


def default_threads : Int32 #

def default_threads=(default_threads : Int32) #

def ffmpeg_available? : Bool #

def ffmpeg_path : String #

def ffmpeg_path=(ffmpeg_path : String) #

def ffplay_available? : Bool #

def ffplay_path : String #

def ffplay_path=(ffplay_path : String) #

def ffprobe_available? : Bool #

def ffprobe_path : String #

def ffprobe_path=(ffprobe_path : String) #

def nvenc_available? : Bool #

def qsv_available? : Bool #

def temp_dir : String #

def temp_dir=(temp_dir : String) #

def vaapi_available? : Bool #

def videotoolbox_available? : Bool #