forge
Explore
Log in

Don't you dare go Hollow

edith

Clone
★ 0

0 watching0 forksRust18.3 MiB2e2ed69Tahinli3 months ago69 commits

lib.rs32 lines, 897 bytesHistoryRawDownload
1//! Video engine: demux -> decode -> pixel convert. No UI dependencies.
2
3pub mod ao;
4pub mod audio;
5pub mod clock;
6pub mod convert;
7pub mod decode;
8pub mod demux;
9pub mod edith;
10pub mod eq;
11pub mod export;
12pub mod hw;
13pub mod mux;
14pub mod playback;
15pub mod project;
16pub mod waveform;
17
18pub use audio::{
19 AacPacket, AacTrackParams, AudioChunk, AudioMeta, AudioProbe, AudioSession, StreamInfo,
20};
21pub use clock::PlaybackClock;
22pub use decode::{DecodeSession, Frame};
23pub use demux::VideoMeta;
24pub use export::ExportHandle;
25pub use mux::{AudioParams, Mp4Muxer, VideoParams};
26pub use playback::PlaybackSession;
27pub use project::{Clip, Project};
28
29/// Boxed error; the engine has few failure modes and every one of them is fatal
30/// to the session, so a message is all a caller can act on.
31pub type Error = Box<dyn std::error::Error + Send + Sync>;
32pub type Result<T> = std::result::Result<T, Error>;