I spent the last 1.5 years creating an open-source npm package that leverages FFMPEG to render videos at a large scale via JSON
It supports:
- Images, videos, GIFs, SVGs
- Text & HTML
- Audio
- Timing, Tracking, animations, transitions, filters, chroma key, zoom, styling, etc.
Why did I build it?
Mainly for Video automation.
Nowadays, in the age of AI, automated videos are everywhere:
- marketing videos
- social content at scale
- personalized videos
- programmatic content pipelines
Most existing tools are either:
- GUI-only (hard to automate)
- too low-level (FFmpeg scripts everywhere)
Zvid sits in the middle.
How to use it?
You can use it with just one terminal prompt.
First, make sure you have Node.js installed on your system.
Create a JSON file to define your Video JSON structure (ex: example.json )
{
"name": "example",
"backgroundColor": "#753C73",
"visuals": [
{
"type": "text",
"text": "Welcome, Zvid!",
"position": "center-center",
"style": {
"color": "#ffffff"
}
}
]
}
And in the terminal run
npx zvid render example.json
What I would love feedback on
Feel free to check the source code from GitHub. If you liked the idea and felt you would use it one day, don't forget to put a ⭐ on GitHub
I’d also love your thoughts on:
- Did you like the idea?
- What do you think are the best use cases?
- Would you share it with someone who needs it?
Top comments (0)