4f04f6bf75
Render engine - Add Remotion (code-based) as a 2nd render engine alongside After Effects. node-agent dispatches on Job.Engine; RunRemotion maps bindings -> --props, renders native then ffmpeg-scales to the quality tier (aspect-preserving). - content.projects.render_engine + render_remotion_comp (migration 32); render-svc claim resolves engine and routes (skips .aep for Remotion). - Admin TemplatesAdmin gains an engine picker + Remotion composition id field. Template pack (services/remotion) - 16 branded, Persian (Vazirmatn), color- and text-editable templates, each in 3 aspects (16:9 / 1:1 / 9:16): LogoMotion, Opener, InstaPromo, YouTubeIntro, Slideshow, HappyBirthday, SalePromo, QuoteCard, EventInvite, Countdown, GlitterReveal (editable logo image), NowruzGreeting (animated characters), and 4 cinematic 3D templates via @remotion/three (Hero3D, Nowruz3D, Birthday3D, Promo3D) with reflections + bloom/DOF/vignette. - scripts/seed_remotion_templates.py seeds containers/projects/scenes/colors. Pricing - Rewrite /pricing to the seconds-based model (charge = length x resolution), data-driven from /v1/plans, Toman, broker checkout. Coming-soon - Persian experimental-build overlay on all pages (launch date + countdown). Fixes - middleware matcher bypasses all static asset paths; catalog mapping passes cover image + preview video so real thumbnails render. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
779 B
TypeScript
19 lines
779 B
TypeScript
import { Config } from "@remotion/cli/config";
|
|
|
|
Config.setVideoImageFormat("jpeg");
|
|
Config.setOverwriteOutput(true);
|
|
// Higher quality concurrency defaults for the logo-intro previews.
|
|
Config.setConcurrency(4);
|
|
|
|
// Remotion's bundled Chrome Headless Shell download is geo-blocked (403) from
|
|
// Iran, so point it at the locally-installed Chrome instead. Override with the
|
|
// REMOTION_BROWSER env var on machines where Chrome lives elsewhere.
|
|
Config.setBrowserExecutable(
|
|
process.env.REMOTION_BROWSER ??
|
|
"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"
|
|
);
|
|
|
|
// Required for WebGL / Three.js (@remotion/three) templates to render headless.
|
|
// "angle" works with the local Chrome; the node-agent inherits this from config.
|
|
Config.setChromiumOpenGlRenderer("angle");
|