FAQ
Is rereel part of Remotion?
Section titled “Is rereel part of Remotion?”No. @mathrunet/rereel is an independent, community-built tool designed to work with Remotion. It is not affiliated with or endorsed by Remotion AG. rereel calls the remotion CLI from your own template, and your Remotion usage is governed by Remotion’s license.
Do I need Remotion to use rereel?
Section titled “Do I need Remotion to use rereel?”Only for build. freeze, hydrate, validate, inspect, patch and cut-retakes work without it. validate, inspect and patch do not need FFmpeg either.
Which FFmpeg versions are supported?
Section titled “Which FFmpeg versions are supported?”FFmpeg 7.1 and later, including 9.x, where -filter_complex_script was removed. rereel passes the filter graph with -/filter_complex, and falls back to -filter_complex_script for older builds that only list the legacy flag. Point to a specific binary with REREEL_FFMPEG_BIN / REREEL_FFPROBE_BIN.
Why did my small edit re-render every chunk?
Section titled “Why did my small edit re-render every chunk?”The edit touched something every chunk depends on: a top-level props key outside the sliced collections (theme, duration_sec, a top-level captions array, …), template source files, or render settings in rereel.json. See What re-renders what. A ripple-shift also changes duration_sec and therefore re-renders all chunks.
Why does a mix_plan.json change render zero chunks?
Section titled “Why does a mix_plan.json change render zero chunks?”With audioMode: "mix_plan", chunks are rendered muted and audio is not part of any chunk hash. Only the FFmpeg mix and mux run again.
Can I keep using <Audio> in my composition?
Section titled “Can I keep using <Audio> in my composition?”Yes. Set audioMode: "remotion" (freeze --audio-mode remotion). Chunks are then rendered with sound and the concat keeps it. You lose BGM ducking and loudness normalization, and chunk boundaries can produce small audio discontinuities. Mixing with mix_plan.json avoids both.
What chunk size should I use?
Section titled “What chunk size should I use?”The default chunkFrames: 300 (10 s at 30 fps) is a good balance. Smaller chunks re-render less per edit but add more Remotion start-up overhead and more files. Changing chunkFrames invalidates the whole cache once.
I replaced a file in media/ and the old one came back.
Section titled “I replaced a file in media/ and the old one came back.”media/ is build output. hydrate (run by build) restores any file whose SHA-256 differs from the lockfile. Use patch swap-asset to store the replacement and update its references. See swap-asset.
Can several reels share media?
Section titled “Can several reels share media?”Yes. Storage is content-addressed by SHA-256, so the same file is stored once per provider, however many reels reference it.
Does cut-retakes re-encode or speed up audio?
Section titled “Does cut-retakes re-encode or speed up audio?”Neither. It only outputs source ranges and timeline positions (tempoRatio is always 1.0). The FFmpeg mix reads the original file at build time.
Which ASR formats does cut-retakes accept?
Section titled “Which ASR formats does cut-retakes accept?”Whisper-style JSON: { "segments": [{ "start", "end", "text", "words": [{ "word", "start", "end" }] }] }. openai-whisper with --word_timestamps True --output_format json produces it directly. See Cut silence and retakes for faster-whisper and the OpenAI API.
Does it work on Windows?
Section titled “Does it work on Windows?”It is untested there. rereel shells out to cp, mv, tar and /bin/sh (for the command provider) and assumes POSIX paths in some places. macOS and Linux are the supported platforms. WSL should work.
Can I use rereel from TypeScript instead of the CLI?
Section titled “Can I use rereel from TypeScript instead of the CLI?”Yes. Everything the CLI does is exported from @mathrunet/rereel (freezeReel, hydrateReel, validateReel, buildReel, compileAudio, cutRetakesAndSilence, rippleShiftReel, …). buildReel also accepts a renderChunkFn hook to replace the Remotion renderer. See the API reference.