Open-source AI podcast clipper. Generate vertical clips with face tracking and burned-in captions. CLI, MCP server, web app.
Python ai-toolsauto-captionscaptionscliffmpegmcpmcp-serveropusclip-alternativepodcast-clipspodcastsshortform-videovertical-videowhisper
Round the computed render timeout to an integer (#202)
Nika Siradze58976bae1106
diff --git a/remotion/render.mjs b/remotion/render.mjsindex b56dd32..c965b8d 100644--- a/remotion/render.mjs+++ b/remotion/render.mjs@@ -77,7 +77,9 @@ function clampLogoScale(raw) {const timeoutFor = (durationSec) => {const override = parseInt(process.env.PODCLI_REMOTION_TIMEOUT_MS ?? "", 10);if (Number.isFinite(override)) return Math.max(1, override);- return Math.min(50 * 60_000, Math.max(120_000, 90_000 + durationSec * 15_000));+ // durationSec is measured by ffprobe and rarely lands on a whole number;+ // Remotion rejects a fractional timeoutInMilliseconds outright.+ return Math.round(Math.min(50 * 60_000, Math.max(120_000, 90_000 + durationSec * 15_000)));};async function main() {