@latkit/video
v0.7.0
Published
Bounded video export through the shared Latkit GPU renderer.
Readme
@latkit/video
Record any Latkit view to MP4 (H.264) or WebM (VP9) with WebCodecs.
npm install @latkit/videoimport { exportVideo } from '@latkit/video';
await exportVideo(network, {
output, // WritableStream<VideoWrite>
width: 1920,
height: 1080,
duration: 10,
at: (seconds) => 20 + seconds,
});