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).
- 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.
- 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)
- 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
npm update vttc -g
- Recursive directory processing
- FFmpeg V6
- Launch with arguments bypassing prompts
- More options (remove audio track, remove transparency, custom framerate, etc.)
- @clack/prompts - fancy CLI prompts
- @fluent-ffmpeg - ffmpeg wrapper for Node