fvoid 0.2.4

Void file generator, supports many formats.
Documentation
/// Void MPEG-TS video file.
///
/// Other attributes: resolution = 4x4, color = black
pub struct VoidMTS {
    /// Unit: seconds.
    pub duration: f64,
    /// Frames per second, affects jump accuracy. Suggested values: 1, 5, 30.
    pub fps: f64,
}

impl Default for VoidMTS {
    fn default() -> Self {
        Self {
            duration: 5.0,
            fps: 1.0,
        }
    }
}

impl VoidMTS {
    pub fn data(&self) -> Vec<u8> {
        todo!();
    }
}

/*
.m3u8 = application/x-mpegURL
.ts = video/MP2T
ffmpeg -y -f lavfi -i nullsrc=size=1x1:rate=1:duration=8000,lutrgb=0:0:0 -hls_time 8000 d1r1.m3u8
https://en.wikipedia.org/wiki/MPEG_transport_stream
*/