rff_core/lib.rs
1//! `rff-core` — shared primitives for Remade FFmpeg (Rust).
2//!
3//! This is the equivalent of FFmpeg's `libavutil`: the small, dependency-free
4//! vocabulary that every other crate speaks. Codecs, formats, the engine, the
5//! CLI and the server all build on the types defined here.
6//!
7//! Nothing in this crate performs encoding or decoding — it only defines the
8//! data that flows between those stages (`Packet`s of compressed bytes,
9//! `Frame`s of raw samples) and the way errors are reported (`Error`).
10
11pub mod dict;
12pub mod error;
13pub mod frame;
14pub mod media;
15pub mod packet;
16pub mod rational;
17pub mod video;
18
19pub use dict::Dictionary;
20pub use error::{Error, Result};
21pub use frame::{AudioFrame, Frame, VideoFrame};
22pub use media::{CodecId, ColorRange, MediaType, PixelFormat, SampleFormat};
23pub use packet::{BlockAdditional, Packet, PacketFlags};
24pub use rational::Rational;
25pub use video::{CleanAperture, ColorInfo, ContentLightLevel, MasteringDisplay, Timecode};