Skip to content

exceptions

Classes:

Name Description
FFMpegError

Base exception for all ffmpeg errors.

FFMpegExecuteError

FFmpeg error

FFMpegTypeError

Base exception for all ffmpeg type errors.

FFMpegValueError

Base exception for all ffmpeg value errors.

FFMpegError

Bases: Exception

Base exception for all ffmpeg errors.

FFMpegExecuteError

FFMpegExecuteError(
    retcode: int | None,
    cmd: str,
    stdout: bytes,
    stderr: bytes,
)

Bases: FFMpegError

FFmpeg error

Parameters:

Name Type Description Default
retcode int | None

The return code of the command.

required
cmd str

The command that was run.

required
stdout bytes

The stdout of the command.

required
stderr bytes

The stderr of the command.

required

FFMpegTypeError

Bases: FFMpegError, TypeError

Base exception for all ffmpeg type errors.

FFMpegValueError

Bases: FFMpegError, ValueError

Base exception for all ffmpeg value errors.