UNPKG

@remotion/cli

Version:

Control Remotion features using the `npx remotion` command

64 lines (63 loc) 3.4 kB
import type { AudioCodec, Browser, BrowserExecutable, CancelSignal, ChromeMode, ChromiumOptions, Codec, ColorSpace, Crf, FfmpegOverrideFn, FrameRange, LogLevel, NumberOfGifLoops, PixelFormat, ProResProfile, VideoImageFormat, X264Preset } from '@remotion/renderer'; import type { HardwareAccelerationOption } from '@remotion/renderer/client'; import type { JobProgressCallback } from '@remotion/studio-server'; 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, }: { 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: 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; }) => Promise<void>;