vttc

2.0.2 • 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.

Installation

  1. Install Node.js 18+ if you don't have it installed.
  2. Run:
npm i vttc -g

(folder doesn't matter, it will install a Global package)

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:
vttc

Updating

npm update vttc -g

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

1

Version

2.0.2

License

MIT

Unpacked Size

11.2 kB

Total Files

7

Last publish

Collaborators

  • phenomen