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

Project Samples

Project Activity

See All Activity >

Categories

Video Encoders

License

MIT License

Follow Whammy

Whammy Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Whammy!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Video Encoders

Registered

7 days ago