Skip to content

Storage

ReplayVOD writes one MP4 per recording, plus thumbnails and a snapshot strip. The storage backend is selected in server/config.toml; paths come from server/.env.

server/config.toml
[storage]
type = "local"
local_path = "./data"

Paths from server/.env:

VIDEO_DIR=./data/videos
THUMBNAIL_DIR=./data/thumbnails
SCRATCH_DIR=./data/.scratch

Recordings land in VIDEO_DIR/<channel>/<id>.mp4. Thumbnails go in THUMBNAIL_DIR. The scratch directory holds in-progress segments before remux.

A 1080p stream typically lands around 4–6 GB per hour. ReplayVOD does not transcode — what Twitch served is what gets stored. Plan disk for the channels and retention you want.

data/
├── videos/ recorded VODs
├── thumbnails/ poster images and snapshot strips
└── replayvod.db SQLite (when DATABASE_DRIVER=sqlite)

Override individual paths with VIDEO_DIR, THUMBNAIL_DIR, and SQLITE_PATH in server/.env.