class Fluorite::Presets::Audio

Defined in:

fluorite/presets/audio.cr

Class Method Summary

Class Method Detail

def self.build_command(input_path : String, output_path : String, format : Symbol = :mp3, bitrate : String = "320k") : DSL::Command #

def self.extract(input_path : String, output_path : String, format : Symbol = :mp3, bitrate : String = "320k", &progress_block : Runner::Progress -> Nil) : Process::Status #

Extracts audio to target format: :mp3, :opus, :aac, :flac, :wav


def self.extract(input_path : String, output_path : String, format : Symbol = :mp3, bitrate : String = "320k") : Process::Status #