Usage
Arguments
Replay file path (
.crd).If a filename is provided without path, also searches base-dir/replays/Options
Output video path.Default:
<replay>.render.mp4Alias: -oRender width in pixels.Default: Use value from
crimson.cfgRender height in pixels.Default: Use value from
crimson.cfgOutput video frame rate.Must be ≥ 1.
Stop after N ticks.Default: Full replayUseful for rendering highlights or testing.
Enable replay RNG trace mode during simulation.
ffmpeg executable path.Default: Discover from
PATHffmpeg quality factor (libx264).
- Lower = higher quality
- Range: 0-51
- Recommended: 16-23
- Default: 16 (high quality)
ffmpeg libx264 encoding preset.Options:
ultrafast— Fastest, largest filesuperfastveryfastfasterfastmediumslow— Default (good quality/size balance)slowerveryslow— Slowest, smallest file
ffmpeg output pixel format.Default:
yuv420p (widest compatibility)Overwrite output if it already exists.Default: Fail if output exists
Include in-game audio in output video.Use
--mute-audio to disable.Base path for runtime files.Default: Per-user OS data directory
Alias for
--base-dir.Assets root directory.Default:
base-dirMissing .paq files are automatically downloaded.Output
Progress Display
Success Message
Reports:- Output path
- Frame count
- FPS
- Resolution
- Replay statistics
Examples
Basic Render
Custom Output Path
High Quality 1080p
Fast Preview
Mute Audio
Overwrite Existing
Custom ffmpeg Binary
4K High Quality
Encoding Quality
CRF Values
Mathematically lossless (huge file size).
Default. Near-perfect quality, reasonable size.
Excellent quality, smaller size.
ffmpeg default. Good quality/size balance.
Lower quality, fast encoding.
Visible artifacts, not recommended.
Preset Speed vs Quality
| Preset | Encoding Speed | File Size | Quality |
|---|---|---|---|
| ultrafast | Very fast | Large | Lower |
| fast | Fast | Medium | Good |
| medium | Moderate | Medium | Good |
| slow | Slow | Small | High |
| veryslow | Very slow | Smallest | Highest |
Rendering Process
- Simulation — Headless simulation to pre-compute audio
- Video Pass — Render frames and pipe to ffmpeg
- Audio Pass — Encode audio stream
- Muxing — Combine video + audio into final MP4
Performance
Rendering speed depends on:- Hardware (CPU, GPU)
- Resolution
- ffmpeg preset
- Replay complexity
ultrafast: 2-5x realtimeslow: 0.5-1x realtimeveryslow: 0.2-0.5x realtime
slow preset takes ~10-20 minutes.
Audio Rendering
Audio includes:- Weapon sounds
- Enemy sounds
- Pickup sounds
- Music (if enabled in game)
- UI sounds
Disable Audio
Error Handling
File Not Found
1
Output Exists
1
ffmpeg Not Found
1
Install ffmpeg:
File Size
Typical sizes for 10-minute 1080p replay:| CRF | Preset | Size |
|---|---|---|
| 16 | slow | ~400MB |
| 20 | slow | ~250MB |
| 23 | medium | ~180MB |
| 28 | fast | ~100MB |
Use Cases
YouTube Upload
Speedrun Submission
Twitter/Social Media
Archival Quality
Dependencies
Requires:ffmpeg— Video encodinglibx264— H.264 codec (usually bundled with ffmpeg)
Pixel Format Compatibility
Defaultyuv420p provides maximum compatibility:
- Web browsers
- Mobile devices
- Video platforms (YouTube, Twitch)
- Media players
yuv444p or yuv420p10le.
See Also
- replay play — Interactive playback
- replay benchmark — Render telemetry
- replay verify — Verify before rendering
- Replay System — Overview