module
Latch::Processor::FFmpeg
Overview
Processor module for FFmpeg-based video and audio transformations. Include
this module and use the variant macro to define variants. Options are
mapped to FFmpeg flags.
struct VideoProcessor
include Latch::Processor::FFmpeg
original video_codec: "libx264", crf: "23", preset: "fast"
variant preview, scale: "640:-1", video_codec: "libx264", crf: "28"
variant thumb, frames: "1", format: "image2", scale: "320:-1"
end