@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
33 lines (32 loc) • 1.64 kB
TypeScript
import type { BrowserExecutable, ChromiumOptions, HeadlessBrowser, OnBrowserDownload, RemotionServer } from '@remotion/renderer';
import type { VideoConfig } from 'remotion';
export declare const getCompositionWithDimensionOverride: ({ height, width, fps, durationInFrames, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, serializedInputPropsWithCustomSchema, logLevel, server, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, binariesDirectory, onBrowserDownload, chromeMode, mediaCacheSizeInBytes, }: {
height: number | null;
width: number | null;
fps: number | null;
durationInFrames: number | null;
args: (string | number)[];
compositionIdFromUi: string | null;
timeoutInMilliseconds: number;
puppeteerInstance: HeadlessBrowser | undefined;
envVariables: Record<string, string>;
chromiumOptions: ChromiumOptions;
port: number | null;
browserExecutable: BrowserExecutable;
serveUrlOrWebpackUrl: string;
indent: boolean;
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
serializedInputPropsWithCustomSchema: string;
server: RemotionServer;
offthreadVideoCacheSizeInBytes: number | null;
offthreadVideoThreads: number | null;
binariesDirectory: string | null;
onBrowserDownload: OnBrowserDownload;
chromeMode: "chrome-for-testing" | "headless-shell";
mediaCacheSizeInBytes: number | null;
}) => Promise<{
compositionId: string;
reason: string;
config: VideoConfig;
argsAfterComposition: (string | number)[];
}>;