vttc

2.1.0 • Public • Published

VTTC - Virtual Tabletop Converter

VTTC is a command line tool (CLI) that quickly converts various image and video formats into optimized formats compatible with popular VTTs (e.g. Foundry VTT, Roll20, Fantasy Grounds).

Supported Formats

  • Image conversion: any image into WEBP, PNG, JPEG, AVIF.
  • Video conversion: any video into WEBM, MP4, OGG, MP3.
  • Audio conversion: any audio into OGG, MP3.

Prerequisites

Install Node.js 20+ if you don't have it installed.

Usage

  1. Open a command prompt in the directory with files you want to convert.
  • Windows: Right Click -> Open in Terminal.
  • Mac: see instruction.
  • Linux: you already should know that.
  1. Run:
npx vttc

TODO

  • [x] Recursive directory processing
  • [x] FFmpeg V6
  • [ ] Launch with arguments bypassing prompts
  • [ ] More options (remove audio track, remove transparency, custom framerate, etc.)

Credits

Package Sidebar

Install

npm i vttc

Weekly Downloads

11

Version

2.1.0

License

MIT

Unpacked Size

12 kB

Total Files

7

Last publish

Collaborators

  • phenomen