ffflow 0.1.1

FFmpeg workflow automation CLI/TUI with real-time progress tracking
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Debug, Error)]
pub enum FfxError {
    #[error("ffmpeg binary not found in PATH")]
    BinaryNotFound,
    #[error("ffmpeg process failed (exit_code={exit_code:?}): {stderr}")]
    ProcessFailed {
        exit_code: Option<i32>,
        stderr: String,
    },
    #[error("invalid command: {message}")]
    InvalidCommand { message: String },
}