@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
45 lines (44 loc) • 2.33 kB
TypeScript
import type { BrowserExecutable, CancelSignal, ChromiumOptions } from '@remotion/renderer';
import type { JobProgressCallback } from '@remotion/studio-server';
export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, width, fps, durationInFrames, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, rspack, askAIEnabled, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, shouldCache, }: {
remotionRoot: string;
fullEntryPoint: string;
entryPointReason: string;
remainingArgs: (string | number)[];
serializedInputPropsWithCustomSchema: string;
envVariables: Record<string, string>;
jpegQuality: number;
browser: "chrome";
stillFrame: number;
browserExecutable: BrowserExecutable;
chromiumOptions: ChromiumOptions;
scale: number;
overwrite: boolean;
puppeteerTimeout: number;
port: number | null;
publicDir: string | null;
height: number | null;
width: number | null;
fps: number | null;
durationInFrames: number | null;
compositionIdFromUi: string | null;
imageFormatFromUi: "jpeg" | "pdf" | "png" | "webp" | null;
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
onProgress: JobProgressCallback;
indent: boolean;
addCleanupCallback: (label: string, cb: () => void) => void;
cancelSignal: CancelSignal | null;
outputLocationFromUi: string | null;
offthreadVideoCacheSizeInBytes: number | null;
offthreadVideoThreads: number | null;
binariesDirectory: string | null;
publicPath: string | null;
chromeMode: "chrome-for-testing" | "headless-shell";
audioLatencyHint: AudioContextLatencyCategory | null;
mediaCacheSizeInBytes: number | null;
rspack: boolean;
askAIEnabled: boolean;
experimentalClientSideRenderingEnabled: boolean;
keyboardShortcutsEnabled: boolean;
shouldCache: boolean;
}) => Promise<void>;