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
Veeam Data Platform v13.1
Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Whammy!