Whammy is a lightweight JavaScript encoder for generating WebM video directly in the browser. It exploits the relationship between WebP image frames and the VP8 codec used by WebM. Developers can add canvas elements, canvas contexts, or encoded image data as individual video frames. Frame rate can be defined globally, while individual frame durations can also be specified. Encoding happens when the collected frames are compiled, producing a Blob that can be displayed or saved as WebM content. The implementation is small and fast for client-side use, although its intraframe-only approach lacks the file-size efficiency of full interframe video compression.
Features
- Client-side WebM video encoding
- Canvas and rendering-context input
- WebP Data URL frame support
- Configurable frame rates
- Per-frame duration control
- Blob-based encoded video output
Categories
Video EncodersLicense
MIT LicenseFollow Whammy
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Whammy!