Skip to main content

ai_gui_auto_video_editor/
lib.rs

1pub mod analyzer;
2pub mod batch_processor;
3pub mod config;
4pub mod editor;
5pub mod exporter;
6pub mod hwaccel;
7pub mod ml;
8pub mod preset_rules;
9pub mod preview;
10pub mod progress;
11pub mod scene_detection;
12pub mod stt_analyzer;
13pub mod thumbnail;
14pub mod utils;
15pub mod watch;
16pub mod watermark;
17
18// gui module conditionally compiled to avoid circular dependency during crate compilation
19#[cfg(feature = "gui")]
20pub mod gui;
21
22pub use analyzer::FfmpegAnalyzer;
23pub use batch_processor::{
24    FfmpegDurationGetter, ProcessingProgress, process_batch_dir, process_batch_dir_parallel,
25    process_single_file, process_single_file_with_intro_outro,
26    process_single_file_with_intro_outro_progress,
27};
28pub use config::{
29    Config, FolderSettings, JoinMode, Preset, ProcessingConfig, SilenceMode, VideoResolution,
30    WatchFolder,
31};
32pub use editor::FfmpegEditor;
33pub use hwaccel::HwAccel;
34pub use ml::{AutoReframeProcessor, FaceDetector, FrameExtractor, PersonSegmenter};
35pub use preview::{generate_preview, preview_path};
36pub use watch::{ConfigWatcher, WatchFolderConfig, run_watch_loop};
37
38/// Shared test helpers (available to both unit and integration tests).
39pub mod tests_common;