ace_player/decoder/
video.rs1use anyhow::Result;
3use tokio::sync::mpsc::Sender;
4use serde::{Deserialize, Serialize};
5
6#[derive(Debug, Clone, Serialize, Deserialize)]
7pub struct VideoFrame {
8 pub pts_ms: u64,
9 pub width: u32,
10 pub height: u32,
11 pub data: Vec<u8>,
13}
14
15pub async fn decode_stream(source: String, tx: Sender<VideoFrame>) -> Result<()> {
19 tracing::info!("Video decode started for: {source}");
20
21 tracing::warn!("Video decode not yet implemented — awaiting ffmpeg-next integration");
24
25 drop(tx); Ok(())
27}