pub mod video;
pub mod audio;
use anyhow::Result;
use crate::MediaInfo;
pub async fn probe(source: &str) -> Result<MediaInfo> {
use std::path::Path;
tracing::info!("Probing source: {source}");
Ok(MediaInfo {
duration_secs: 0.0,
width: 1920,
height: 1080,
has_video: true,
has_audio: true,
codec_video: Some("h264".to_string()),
codec_audio: Some("aac".to_string()),
fps: 30.0,
})
}