vttc
v2.0.2
Published
CLI file converter and optimizer for popular VTT formats
Downloads
17
Maintainers
Readme
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
- Install Node.js 18+ if you don't have it installed.
- Run:
npm i vttc -g
(folder doesn't matter, it will install a Global package)
Usage
- 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.
- 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
- @clack/prompts - fancy CLI prompts
- @fluent-ffmpeg - ffmpeg wrapper for Node