Skip to content

Choose output ​

Control format, quality, output folder, and file naming.

Output folder: --out ​

bash
lakreet-swarm render --template t.ectemplate --data d.csv --out ./dist

Default: out/

Format: --format ​

bash
# H.264 MP4 (default)
--format h264

# WebM (VP9)
--format webm

# Image sequences
--format png
--format jpeg

# Animated formats
--format gif

Available formats depend on EffectCraft version. Run effectcraft-cli --help for full list.

Quality: --quality ​

bash
--quality best    # Highest quality (default)
--quality draft   # Faster, lower quality

Resolution: --resolution ​

bash
--resolution full      # 100% (default)
--resolution half      # 50%
--resolution third     # 33%
--resolution quarter   # 25%

Useful for previews or social media variants.

Frame rate: --fps ​

bash
--fps 30
--fps 60

Overrides template composition frame rate.

Bitrate: --bitrate ​

bash
--bitrate 5000   # 5000 kbps

Video bitrate in kbps. Higher = better quality, larger files.

Audio: --audio ​

bash
--audio auto   # Include if template has audio (default)
--audio on     # Force include
--audio off    # Strip audio

Naming pattern: --name ​

Default: {index}-{first}

bash
# Zero-padded index: 001, 002...
--name "{index:3}-{first}"

# Use column value: 001-Budi
--name "{index:3}-{Source Text}"

# Slugified: 001-budi-santoso
--name "{index:3}-{slug:Source Text}"

Tokens ​

TokenExampleDescription
{index}11-based row number
{index:N}001Zero-padded to N digits
{first}BudiFirst column value (sanitized)
{Column}BudiAny column value (sanitized)
{slug:Column}budi-santosoLowercase, accents removed, spaces → -

Collision handling ​

Duplicate names get -2, -3, … appended automatically:

1-Budi.mp4
2-Budi.mp4
3-Budi-2.mp4

Windows reserved names ​

CON, PRN, AUX, NUL, COM1–COM9, LPT1–LPT9 → prefixed with _:

_CON.mp4
_COM1.mp4

Config file ​

Set defaults in lakreet.config.json:

json
{
  "out": "dist",
  "name": "{index:3}-{slug:Source Text}",
  "render": {
    "format": "webm",
    "quality": "best",
    "resolution": "full"
  }
}

CLI flags override config.

Next steps ​

Independent project. Not affiliated with the ArtCraft team or the EffectCraft project.