Initial commit: Momentry Core v0.1

- Rust-based digital asset management system
- Video analysis: ASR, OCR, YOLO, Face, Pose
- RAG capabilities with Qdrant vector database
- Multi-database support: PostgreSQL, Redis, MongoDB
- Monitoring system with launchd plists
- n8n workflow automation integration
This commit is contained in:
accusys
2026-03-16 15:07:33 +08:00
parent ca24794853
commit 75edf0aa71
101 changed files with 19858 additions and 0 deletions

3
src/player/mod.rs Normal file
View File

@@ -0,0 +1,3 @@
pub mod player;
pub use player::{play_video, PlayerConfig};

22
src/player/player.rs Normal file
View File

@@ -0,0 +1,22 @@
use crate::core::overlay::OverlayFlags;
pub struct PlayerConfig {
pub sync_delay_ms: u64,
pub overlay_flags: OverlayFlags,
}
impl Default for PlayerConfig {
fn default() -> Self {
Self {
sync_delay_ms: 800,
overlay_flags: OverlayFlags::default(),
}
}
}
pub async fn play_video(path: &str, config: PlayerConfig) -> anyhow::Result<()> {
// TODO: Implement video player with overlay
// Will integrate existing video_player functionality
println!("Playing: {} with config: {:?}", path, config);
Ok(())
}