https://github.com/novusgfx/rendergarden
🎥 Turn your animated HTML into share-ready, high-quality videos with a single command.
https://github.com/novusgfx/rendergarden
ascii-animation automation chromium creative-coding generative-art headless-browser html-animation html-rendering html-to-video moviepy mp4-generator puppeteer pyppeteer terminal-tool video-rendering
Last synced: 6 months ago
JSON representation
🎥 Turn your animated HTML into share-ready, high-quality videos with a single command.
- Host: GitHub
- URL: https://github.com/novusgfx/rendergarden
- Owner: NovusGFX
- License: mit
- Created: 2025-07-18T15:03:21.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-18T15:06:30.000Z (6 months ago)
- Last Synced: 2025-07-18T19:43:17.417Z (6 months ago)
- Topics: ascii-animation, automation, chromium, creative-coding, generative-art, headless-browser, html-animation, html-rendering, html-to-video, moviepy, mp4-generator, puppeteer, pyppeteer, terminal-tool, video-rendering
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RenderGarden HTML > MP4 Tool 🎞️
Convert animated `.html` files into high-quality `.mp4` videos using headless Chromium and Python.
## Features
- Headless rendering of animated HTML
- Frame-by-frame capture with auto-cropping
- High-resolution MP4 export with adjustable FPS and bitrate
- Fully interactive CLI (choose input HTML, output name, and folder)
## Requirements
Install dependencies via pip:
```bash
pip install -r requirements.txt
```
Also make sure [FFmpeg](https://ffmpeg.org/download.html) is installed and in your system path.
## Usage
```bash
python html_to_mp4.py
```
You'll be prompted for:
- Input HTML file path
- Output video name (without `.mp4`)
- Output folder name
Example:
```
📄 Enter path to your HTML file (e.g., index.html): index.html
🎬 Enter output video filename (without .mp4): animation
📂 Enter output folder name (will be created if not exists): videos
```
This will produce:
```
videos/animation.mp4
```
## License
MIT