pub fn encode_webm(frames_yuv: &[&Yuv420Frame], fps: u32) -> Vec<u8> ⓘExpand description
Encode VP9 keyframes from planar YUV (optional alpha) and mux into a .webm.
Each frame is coded independently (all keyframes). Dimensions must be
multiples of 8. When any frame carries crate::hevc::encoder::Yuv420Frame::alpha, the track is
marked AlphaMode = 1 and each cluster uses a BlockGroup with the alpha
plane coded as a second VP9 bitstream in BlockAdditional.