69 lines
3.6 KiB
TypeScript
69 lines
3.6 KiB
TypeScript
import type { AudioCodec, Browser, BrowserExecutable, CancelSignal, ChromeMode, ChromiumOptions, Codec, ColorSpace, Crf, FfmpegOverrideFn, FrameRange, LogLevel, NumberOfGifLoops, PixelFormat, VideoImageFormat, X264Preset } from '@remotion/renderer';
|
|
import type { HardwareAccelerationOption } from '@remotion/renderer/client';
|
|
import type { JobProgressCallback } from '@remotion/studio-server';
|
|
import type { _InternalTypes } from 'remotion';
|
|
export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, askAIEnabled, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, }: {
|
|
remotionRoot: string;
|
|
fullEntryPoint: string;
|
|
entryPointReason: string;
|
|
browserExecutable: BrowserExecutable;
|
|
chromiumOptions: ChromiumOptions;
|
|
logLevel: LogLevel;
|
|
browser: Browser;
|
|
scale: number;
|
|
indent: boolean;
|
|
shouldOutputImageSequence: boolean;
|
|
publicDir: string | null;
|
|
serializedInputPropsWithCustomSchema: string;
|
|
envVariables: Record<string, string>;
|
|
puppeteerTimeout: number;
|
|
port: number | null;
|
|
height: number | null;
|
|
width: number | null;
|
|
remainingArgs: (string | number)[];
|
|
compositionIdFromUi: string | null;
|
|
outputLocationFromUI: string | null;
|
|
overwrite: boolean;
|
|
quiet: boolean;
|
|
concurrency: number | string | null;
|
|
frameRange: FrameRange | null;
|
|
everyNthFrame: number;
|
|
jpegQuality: number | undefined;
|
|
onProgress: JobProgressCallback;
|
|
addCleanupCallback: (label: string, cb: () => void) => void;
|
|
crf: Crf | null;
|
|
cancelSignal: CancelSignal | null;
|
|
uiCodec: Codec | null;
|
|
uiImageFormat: VideoImageFormat | null;
|
|
ffmpegOverride: FfmpegOverrideFn;
|
|
audioBitrate: string | null;
|
|
videoBitrate: string | null;
|
|
encodingMaxRate: string | null;
|
|
encodingBufferSize: string | null;
|
|
muted: boolean;
|
|
enforceAudioTrack: boolean;
|
|
proResProfile: _InternalTypes["ProResProfile"] | undefined;
|
|
x264Preset: X264Preset | null;
|
|
pixelFormat: PixelFormat;
|
|
numberOfGifLoops: NumberOfGifLoops;
|
|
audioCodec: AudioCodec | null;
|
|
disallowParallelEncoding: boolean;
|
|
offthreadVideoCacheSizeInBytes: number | null;
|
|
offthreadVideoThreads: number | null;
|
|
colorSpace: ColorSpace | null;
|
|
repro: boolean;
|
|
binariesDirectory: string | null;
|
|
forSeamlessAacConcatenation: boolean;
|
|
separateAudioTo: string | null;
|
|
publicPath: string | null;
|
|
metadata: Record<string, string> | null;
|
|
hardwareAcceleration: HardwareAccelerationOption;
|
|
chromeMode: ChromeMode;
|
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
imageSequencePattern: string | null;
|
|
mediaCacheSizeInBytes: number | null;
|
|
askAIEnabled: boolean;
|
|
experimentalClientSideRenderingEnabled: boolean;
|
|
keyboardShortcutsEnabled: boolean;
|
|
}) => Promise<void>;
|