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
Train ML Models With SQL You Already Know
Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Whammy!