# ๐ Aether Renderer Core
**Aether Renderer Core** is a lightweight, Rust-based CLI tool that converts image sequences (PNG/WebP) into transparent `.webm` or `.mp4` videos using `ffmpeg`.
Built with love for artists, developers, and sacred animation workflows.


---
## โจ Features
- โ
Supports alpha channel export (via `yuva420p`)
- โ
Input PNG/WebP sequences with alpha from folder or .zip file
- โ
Export `.webm` with alpha (via `libvpx`)
- โ
Export `.gif` with alpha
- โ
`.mp4` fallback (no alpha)
- โ
CLI flags for FPS, input folder, output path, format
---
## ๐งช Usage
```bash
cargo run --release -- \
--input ./frames \
--output my.webm \
--fps 30 \
--format webm
```
๐ Your input folder should contain files like:
```
frame_0000.png
frame_0001.png
frame_0002.png
...
```
---
You can now also pass a .zip file containing frames:
```bash
cargo run -- --input ./my-frames.zip --output my.webm --fps 30 --format webm
```
๐ Your input folder or ZIP file must contain images named like:
```
frame_0000.png
frame_0001.png
frame_0002.png
...
```
Alpha-enabled PNGs are recommended for transparent .webm.
---
Convert to gif file with transparent background:
```bash
cargo run -- --input ./my-frames.zip --output my.gif --fps 30 --format gif
```
(Just make sure ffmpeg is installed)
---
## ๐งฐ Requirements
- Rust & Cargo installed: https://rustup.rs
- `ffmpeg` must be installed and accessible in your system path
---
## ๐ฆ Example ZIP
You can test the renderer using the provided frame sequence:
[sacred-stars.zip](https://ojkwbrxgljlgelqndiai.supabase.co/storage/v1/object/public/sacred-ai/web/aether-renderer/sacred-stars.zip)
Run it like this:
```bash
cargo run -- --input examples/sacred-stars.zip --output demo.webm --fps 30 --format webm
```
This will generate a loopable .webm video with alpha.
---
## โจ Example Output
See full demo here (just started):
[Webpage demo](https://sacred-ai.com/about/aetherrenderer)
Hereโs one frame from the sacred animation:
<img src="https://ojkwbrxgljlgelqndiai.supabase.co/storage/v1/object/public/sacred-ai/web/aether-renderer/sacred-stars-preview.png" width="480" alt="Frame example">
---
## โจ Example Animation

โถ๏ธ [Watch output video](https://ojkwbrxgljlgelqndiai.supabase.co/storage/v1/object/public/sacred-ai/web/aether-renderer/sacred-stars-preview.webm)
---
## ๐ฎ Roadmap
- [x] Render `.png` โ `.webm` (with alpha)
- [ ] Support `.mp4` export
- [ ] Add bitrate / CRF quality control
- [ ] `--fade-in`, `--fade-out` for soft loops
- [ ] Handle errors & missing frames gracefully
- [ ] Add optional CLI preview
- [ ] Begin GUI version with Tauri (`aether-renderer`) ๐
---
## ๐ฟ License
MIT โ created with sacred care by [@madspaaskesen](https://github.com/madspaaskesen)
---
## ๐ Related Projects
- ๐๏ธ [Sacred-AI](https://sacred-ai.com)
- ๐ [MySiteChart](https://mysitechart.com)
- ๐ ๏ธ [MP-IT](https://mp-it.dk)
- ๐งต [DDD Favoritter](https://ddd-favoritter.dk)
---
## ๐ Made with love by Sacred-AI
๐ Made with clarity and care by [@mads](https://github.com/madspaaskesen) @ [@sacred-ai](https://github.com/Sacred-AI) ๐
๐ธ Powered by [Rust Lang](https://www.rust-lang.org/), [Rust getting started](https://www.rust-lang.org/learn/get-started)
Aether Renderer Core is the sacred heart of a lightweight animation rendering toolkit.
Converts frame sequences to video with love, transparency, and full creative control.