Expand description
Re-exports§
pub use crate::core::writer::WriterError;
Enums§
- Alloc
Frame Error - Errors from allocating an
AVFrame. - Alloc
Output Context Error - Errors from allocating an output format context
(
avformat_alloc_output_context2). - Alloc
Packet Error - Errors from allocating an
AVPacket. - Container
Info Error - Errors from the
container_infoqueries where the caller asked for an index outside the container’s range. These are caller/argument errors — a bad index into an otherwise valid container — kept distinct from an open/probe failure (OpenInputError/FindStreamError) so retry logic, telemetry, and user messages can tell “you asked for chapter 5 of a 3-chapter file” apart from “the file is corrupt or unreadable”. Each variant carries the offendingindexand the container’s actualcount. - Decoder
Error - Errors from resolving a decoder.
- Decoding
Error - FFmpeg-level errors during decoding, carried by
DecodingOperationError. - Decoding
Operation Error - Errors from the decoder stage while turning packets into frames.
Variants carrying a
DecodingErrorembed the mapped FFmpeg error. - Demuxing
Error - FFmpeg-level errors during demuxing, carried by
DemuxingOperationErrorandPacketScannerError. - Demuxing
Operation Error - Errors from the demuxer stage while reading packets from an input.
Variants carrying a
DemuxingErrorembed the mapped FFmpeg error. - Encode
Subtitle Error - Errors from encoding a subtitle (
avcodec_encode_subtitle). - Encoding
Error - FFmpeg-level errors during encoding, carried by
EncodingOperationError. - Encoding
Operation Error - Errors from the encoder stage while turning frames into packets.
Variants carrying an
EncodingErrorembed the mapped FFmpeg error. - Error
- Top-level error type for all ez-ffmpeg operations.
- Filter
Graph Error - FFmpeg-level errors during filtergraph processing, carried by
FilterGraphOperationError. - Filter
Graph Operation Error - Errors from running frames through a configured filtergraph.
Variants carrying a
FilterGraphErrorembed the mapped FFmpeg error. - Filter
Graph Parse Error - Errors from parsing a filtergraph description and wiring its inputs and outputs.
- Find
Devices Error - Errors from enumerating capture devices (cameras, microphones, screens).
- Find
Stream Error - Errors from probing stream information after an input is opened
(
avformat_find_stream_info). - Frame
Writable Error - Errors from
make_frame_writable, the safe wrapper over FFmpeg’sav_frame_make_writable: ensuring exclusive ownership of a frame’s data buffers may allocate new buffers and copy into them, and that underlying call can fail. Common AVERROR codes map to named variants; anything else carries the raw code. - Muxing
Error - FFmpeg-level errors during muxing, carried by
MuxingOperationError. - Muxing
Operation Error - Errors from the muxer stage while writing the output container.
Variants carrying a
MuxingErrorembed the mapped FFmpeg error. - Open
Decoder Error - FFmpeg-level errors while opening a decoder, carried by
OpenDecoderOperationError. - Open
Decoder Operation Error - Errors from opening and configuring a decoder.
Variants carrying an
OpenDecoderErrorembed the mapped FFmpeg error. - Open
Encoder Error - FFmpeg-level errors while opening an encoder, carried by
OpenEncoderOperationError. - Open
Encoder Operation Error - Errors from opening and configuring an encoder.
Variants carrying an
OpenEncoderErrorembed the mapped FFmpeg error. - Open
Input Error - Errors from opening an input file, stream, device, or custom input
source. Most variants are mapped from the FFmpeg error code returned by
avformat_open_input. - Open
Output Error - Errors from opening and configuring an output: resolving formats and encoders, mapping streams, validating options, and opening the target for writing.
- Packet
Scanner Error - Errors that can occur during packet scanning operations.
- Packet
Sink Error - Errors specific to packet-sink outputs (
Output::new_by_packet_sink). - Stream
Error - Error type for RTMP streaming operations using StreamBuilder
- UrlError
- Errors from converting URL or path strings for FFmpeg.
- Write
Header Error - Errors from writing the output container header
(
avformat_write_header), carried byMuxingOperationError::WriteHeader.
Type Aliases§
- Result
- Result type of all ez-ffmpeg library calls.