🦋 Tsubasa
Video compression made easy

Tsubasa 🦋

Tsubasa is a fast video compression service that runs locally on your device. Maintain the best quality while staying under MB file limits.

Tsubasa was named after 翼, the Japanese kanji for "wing".

Source code: https://github.com/matchamoon/tsubasa

Why Tsubasa

Tsubasa was created as a proof-of-concept for a ffmpeg-wasm implementation.

  • ✅ Allows transcoding to a size limit (for services with a file size upload limit)
  • ✅ Allows scaling resolution, to preserve video quality/bitrate
  • ✅ Preserves audio quality
  • ✅ Runs locally on your device

Development

With the return of secure WASM support in browsers, we wanted to see: Could we actually build a server-less compression service, running a desktop program, purely in JavaScript and WebAssembly?

With ffmpeg-wasm, transcoding can happen locally on devices, which means no time spent upload/downloading and processing as fast as your device allows. We were also able to experiment with preserving audio quality, which we found minimally impacted the output file size while improving the overall "feel" even for lower resolution videos. By allowing videos to scale the resolution down, more file space can be allocated to preserving the bitrate and the quality of each frame.

Tsubasa is a work in progress, and welcomes feature suggestions, bug reports, and pull requests.

Source code: https://github.com/matchamoon/tsubasa

Licenses

License: https://github.com/matchamoon/tsubasa/blob/master/LICENSE

Tsubasa was built using:

Upload a file
Original - Minimum -
Choose your size
MB
Choose video resolution
© 2022, by Matcha Moon