Github | Npm | Home


ts-whammy

A modern typescript version of whammy. You can use it to encode images(webp) to webm video.

ts-whammy only includes the core video encoding functions of whammy, you can use it whatever modern frontend stack you prefer.

Status

Useage

Convert Canvas-recorded images into a video

Use fixImageDataList to address issues with inconsistent transparency channels and image dimensions that cause video creation to fail.

To successfully create the video, ensure that the images have no transparent background and consistent dimensions.

  • RecordImages: 0
  • FPS:
  • Width:
  • Height:

View CodeCopy Code