pub fn encode_gray_webm(
width: u32,
height: u32,
frame_count: u32,
fps: u32,
) -> Vec<u8> ⓘExpand description
Encode frame_count solid mid-gray VP9 keyframes and mux them into a
.webm. Uses the native crate::vp9 encoder — no ffmpeg, no C
bindings — so it runs on native and wasm32.
Currently only 64×64 is supported by the gray keyframe path. fps must
be ≥ 1.