1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use crate::order::{frame::FrameAddress, stream::Stream};

#[derive(Debug, PartialEq, Eq, Deserialize)]
#[serde(untagged)]
pub enum Input {
  Streams {
    id: u32,
    path: String,
    streams: Vec<Stream>,
  },
  VideoFrames {
    id: u32,
    label: Option<String>,
    path: String,
    codec: String,
    width: i32,
    height: i32,
    frames: Vec<FrameAddress>,
  },
}