avmux 0.2.4

A crate to merge video and audio based on rsmpeg (dynamic link with ffmpeg lib).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Error types

use thiserror::Error;

#[allow(missing_docs)]
#[derive(Debug, Error)]
pub enum AVMuxError {
    #[error("{0}")]
    Rsmpeg(#[from] rsmpeg::error::RsmpegError),
    #[error("{0}")]
    Ffi(#[from] std::ffi::NulError),
    #[error("{0}")]
    CodecNotFound(String),
    #[error("Source media parameters invalid")]
    Invalid,
}