Expand description
§ff-analysis
Media-analysis primitives over FFmpeg: scene, silence, black-frame and
keyframe detection, histogram and waveform extraction, tempo (BPM) results,
and video scopes (waveform / vectorscope / RGB parade / histogram).
These tools read decoded media and report analytical data; they do not edit
or transform it. The analyzers build on ff_decode (for frame access) and
drive their own libavfilter graphs where needed. Errors are typed and
contextual (AnalysisError).
Part of the avio crate family; each
crate is versioned independently.
Re-exports§
pub use analysis::BlackFrameDetector;pub use analysis::BpmResult;pub use analysis::FrameHistogram;pub use analysis::HistogramExtractor;pub use analysis::KeyframeEnumerator;pub use analysis::SceneDetector;pub use analysis::SilenceDetector;pub use analysis::SilenceRange;pub use analysis::WaveformAnalyzer;pub use analysis::WaveformSample;pub use scope::Histogram;pub use scope::RgbParade;pub use scope::ScopeAnalyzer;
Modules§
Enums§
- Analysis
Error - Errors that can occur during media analysis (scene / silence / BPM / histogram / keyframe / black-frame / waveform).