3242 lines
126 KiB
TypeScript
3242 lines
126 KiB
TypeScript
export { AvailableOptions, TypeOfOption } from './options';
|
|
export { HardwareAccelerationOption } from './options/hardware-acceleration';
|
|
export declare const BrowserSafeApis: {
|
|
getFileExtensionFromCodec: <T extends "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">(codec: T, audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => import("./file-extensions").FileExtension;
|
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
|
|
validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
|
|
getDefaultCrfForCodec: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => number | null;
|
|
getValidCrfRanges: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => [number, number];
|
|
proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
|
|
x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
|
|
hardwareAccelerationOptions: readonly ["disable", "if-possible", "required"];
|
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
|
|
validPixelFormatsForCodec: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => ("yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva444p10le")[] | readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
validVideoImageFormats: readonly ["png", "jpeg", "none"];
|
|
validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
|
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
DEFAULT_TIMEOUT: number;
|
|
DEFAULT_JPEG_QUALITY: number;
|
|
DEFAULT_COLOR_SPACE: "default";
|
|
supportedAudioCodecs: {
|
|
readonly h264: readonly ["aac", "pcm-16", "mp3"];
|
|
readonly 'h264-mkv': readonly ["pcm-16", "mp3"];
|
|
readonly 'h264-ts': readonly ["pcm-16", "aac"];
|
|
readonly aac: readonly ["aac", "pcm-16"];
|
|
readonly avi: readonly [];
|
|
readonly gif: readonly [];
|
|
readonly h265: readonly ["aac", "pcm-16"];
|
|
readonly mp3: readonly ["mp3", "pcm-16"];
|
|
readonly prores: readonly ["aac", "pcm-16"];
|
|
readonly vp8: readonly ["opus", "pcm-16"];
|
|
readonly vp9: readonly ["opus", "pcm-16"];
|
|
readonly wav: readonly ["pcm-16"];
|
|
};
|
|
defaultFileExtensionMap: {
|
|
aac: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
aac: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
gif: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {};
|
|
};
|
|
h264: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
aac: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
mp3: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
"h264-mkv": {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
mp3: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
"h264-ts": {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
aac: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
h265: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
aac: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
mp3: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
mp3: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
prores: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
aac: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
vp8: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
opus: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
vp9: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
opus: {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
wav: {
|
|
default: import("./file-extensions").FileExtension;
|
|
forAudioCodec: {
|
|
"pcm-16": {
|
|
possible: import("./file-extensions").FileExtension[];
|
|
default: import("./file-extensions").FileExtension;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
defaultAudioCodecs: {
|
|
aac: {
|
|
compressed: "aac" | "pcm-16" | null;
|
|
lossless: "aac" | "pcm-16" | null;
|
|
};
|
|
gif: {
|
|
compressed: null;
|
|
lossless: null;
|
|
};
|
|
h264: {
|
|
compressed: "aac" | "mp3" | "pcm-16" | null;
|
|
lossless: "aac" | "mp3" | "pcm-16" | null;
|
|
};
|
|
"h264-mkv": {
|
|
compressed: "mp3" | "pcm-16" | null;
|
|
lossless: "mp3" | "pcm-16" | null;
|
|
};
|
|
"h264-ts": {
|
|
compressed: "aac" | "pcm-16" | null;
|
|
lossless: "aac" | "pcm-16" | null;
|
|
};
|
|
h265: {
|
|
compressed: "aac" | "pcm-16" | null;
|
|
lossless: "aac" | "pcm-16" | null;
|
|
};
|
|
mp3: {
|
|
compressed: "mp3" | "pcm-16" | null;
|
|
lossless: "mp3" | "pcm-16" | null;
|
|
};
|
|
prores: {
|
|
compressed: "aac" | "pcm-16" | null;
|
|
lossless: "aac" | "pcm-16" | null;
|
|
};
|
|
vp8: {
|
|
compressed: "opus" | "pcm-16" | null;
|
|
lossless: "opus" | "pcm-16" | null;
|
|
};
|
|
vp9: {
|
|
compressed: "opus" | "pcm-16" | null;
|
|
lossless: "opus" | "pcm-16" | null;
|
|
};
|
|
wav: {
|
|
compressed: "pcm-16" | null;
|
|
lossless: "pcm-16" | null;
|
|
};
|
|
};
|
|
defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">;
|
|
validateOutputFilename: <T extends "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav">({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: {
|
|
codec: T;
|
|
audioCodecSetting: "aac" | "mp3" | "opus" | "pcm-16" | null;
|
|
extension: string;
|
|
preferLossless: boolean;
|
|
separateAudioTo: string | null;
|
|
}) => void;
|
|
options: {
|
|
audioCodecOption: {
|
|
cliFlag: "audio-codec";
|
|
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "aac" | "mp3" | "opus" | "pcm-16";
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
description: () => string;
|
|
docLink: string;
|
|
name: string;
|
|
ssrName: "audioCodec";
|
|
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
};
|
|
scaleOption: {
|
|
name: string;
|
|
cliFlag: "scale";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (scale: number) => void;
|
|
};
|
|
crfOption: {
|
|
name: string;
|
|
cliFlag: "crf";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: import("./crf").Crf;
|
|
};
|
|
setConfig: (crf: import("./crf").Crf) => void;
|
|
};
|
|
jpegQualityOption: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
videoBitrateOption: {
|
|
name: string;
|
|
cliFlag: "video-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
audioBitrateOption: {
|
|
name: string;
|
|
cliFlag: "audio-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
enforceAudioOption: {
|
|
name: string;
|
|
cliFlag: "enforce-audio-track";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: true;
|
|
} | {
|
|
source: string;
|
|
value: false;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
mutedOption: {
|
|
name: string;
|
|
cliFlag: "muted";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: () => void;
|
|
};
|
|
videoCodecOption: {
|
|
name: string;
|
|
cliFlag: "codec";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
outName: string | null;
|
|
downloadName: string | null;
|
|
configFile: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
compositionCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
}) => {
|
|
value: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
source: string;
|
|
};
|
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
};
|
|
offthreadVideoCacheSizeInBytesOption: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
offthreadVideoThreadsOption: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
webhookCustomDataOption: {
|
|
name: string;
|
|
cliFlag: "webhook-custom-data";
|
|
description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "customData";
|
|
docLink: string;
|
|
type: Record<string, unknown> | null;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
colorSpaceOption: {
|
|
name: string;
|
|
cliFlag: "color-space";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
ssrName: string;
|
|
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "bt2020-ncl" | "bt709" | "default";
|
|
};
|
|
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
};
|
|
deleteAfterOption: {
|
|
name: string;
|
|
cliFlag: "delete-after";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "deleteAfter";
|
|
docLink: string;
|
|
type: import(".").DeleteAfter | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: import(".").DeleteAfter;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
};
|
|
disallowParallelEncodingOption: {
|
|
name: string;
|
|
cliFlag: "disallow-parallel-encoding";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
folderExpiryOption: {
|
|
name: string;
|
|
cliFlag: "enable-folder-expiry";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "enableFolderExpiry";
|
|
docLink: string;
|
|
type: boolean | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean | null;
|
|
};
|
|
setConfig: (value: boolean | null) => void;
|
|
};
|
|
enableMultiprocessOnLinuxOption: {
|
|
name: string;
|
|
cliFlag: "enable-multiprocess-on-linux";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
glOption: {
|
|
cliFlag: "gl";
|
|
docLink: string;
|
|
name: string;
|
|
type: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan";
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (value: "angle" | "angle-egl" | "egl" | "swangle" | "swiftshader" | "vulkan" | null) => void;
|
|
};
|
|
enableLambdaInsights: {
|
|
name: string;
|
|
cliFlag: "enable-lambda-insights";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
setConfig: (value: boolean) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
};
|
|
encodingMaxRateOption: {
|
|
name: string;
|
|
cliFlag: "max-rate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingMaxRate";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newMaxRate: string | null) => void;
|
|
};
|
|
encodingBufferSizeOption: {
|
|
name: string;
|
|
cliFlag: "buffer-size";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingBufferSize";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
beepOnFinishOption: {
|
|
name: string;
|
|
cliFlag: "beep-on-finish";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
numberOfGifLoopsOption: {
|
|
name: string;
|
|
cliFlag: "number-of-gif-loops";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "numberOfGifLoops";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: number;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
};
|
|
reproOption: {
|
|
name: string;
|
|
cliFlag: "repro";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig: (should: boolean) => void;
|
|
};
|
|
preferLosslessOption: {
|
|
name: string;
|
|
cliFlag: "prefer-lossless";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
type: boolean;
|
|
ssrName: "preferLossless";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: true;
|
|
source: string;
|
|
} | {
|
|
value: false;
|
|
source: string;
|
|
};
|
|
setConfig: (val: boolean) => void;
|
|
};
|
|
x264Option: {
|
|
name: string;
|
|
cliFlag: "x264-preset";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "x264Preset";
|
|
docLink: string;
|
|
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
};
|
|
logLevelOption: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
delayRenderTimeoutInMillisecondsOption: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
headlessOption: {
|
|
name: string;
|
|
cliFlag: "disable-headless";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
overwriteOption: {
|
|
name: string;
|
|
cliFlag: "overwrite";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}, defaultValue: boolean) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
binariesDirectoryOption: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
forSeamlessAacConcatenationOption: {
|
|
name: string;
|
|
cliFlag: "for-seamless-aac-concatenation";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: true;
|
|
} | {
|
|
source: string;
|
|
value: false;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
separateAudioOption: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: string | null;
|
|
};
|
|
publicPathOption: {
|
|
name: string;
|
|
cliFlag: "public-path";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "publicPath";
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
type: string | null;
|
|
};
|
|
publicDirOption: {
|
|
name: string;
|
|
cliFlag: "public-dir";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "publicDir";
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
type: string | null;
|
|
};
|
|
onBrowserDownloadOption: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
throwIfSiteExistsOption: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
disableGitSourceOption: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
metadataOption: {
|
|
name: string;
|
|
cliFlag: "metadata";
|
|
description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
type: import("./options/metadata").Metadata;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: {
|
|
[k: string]: string;
|
|
};
|
|
};
|
|
setConfig: (newMetadata: import("./options/metadata").Metadata) => void;
|
|
ssrName: string;
|
|
};
|
|
hardwareAccelerationOption: {
|
|
name: string;
|
|
cliFlag: "hardware-acceleration";
|
|
description: () => string;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: "disable" | "if-possible" | "required";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "disable" | "if-possible" | "required";
|
|
};
|
|
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
};
|
|
chromeModeOption: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
apiKeyOption: {
|
|
name: string;
|
|
cliFlag: "api-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "apiKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
licenseKeyOption: {
|
|
name: string;
|
|
cliFlag: "license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "licenseKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
audioLatencyHintOption: {
|
|
name: string;
|
|
cliFlag: "audio-latency-hint";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "audioLatencyHint";
|
|
docLink: string;
|
|
type: AudioContextLatencyCategory;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: AudioContextLatencyCategory;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (profile: AudioContextLatencyCategory | null) => void;
|
|
};
|
|
enableCrossSiteIsolationOption: {
|
|
name: string;
|
|
cliFlag: "cross-site-isolation";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
imageSequencePatternOption: {
|
|
name: string;
|
|
cliFlag: "image-sequence-pattern";
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: null;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
};
|
|
setConfig: (pattern: string | null) => void;
|
|
};
|
|
mediaCacheSizeInBytesOption: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
darkModeOption: {
|
|
name: string;
|
|
cliFlag: "dark-mode";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
publicLicenseKeyOption: {
|
|
name: string;
|
|
cliFlag: "public-license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "publicLicenseKey";
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
type: string | null;
|
|
};
|
|
isProductionOption: {
|
|
name: string;
|
|
cliFlag: "is-production";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "isProduction";
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean | null;
|
|
};
|
|
setConfig: (value: boolean | null) => void;
|
|
type: boolean | null;
|
|
};
|
|
askAIOption: {
|
|
name: string;
|
|
cliFlag: "disable-ask-ai";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
experimentalClientSideRenderingOption: {
|
|
name: string;
|
|
cliFlag: "enable-experimental-client-side-rendering";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
keyboardShortcutsOption: {
|
|
name: string;
|
|
cliFlag: "disable-keyboard-shortcuts";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
forceNewStudioOption: {
|
|
name: string;
|
|
cliFlag: "force-new";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
numberOfSharedAudioTagsOption: {
|
|
name: string;
|
|
cliFlag: "number-of-shared-audio-tags";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: number;
|
|
source: string;
|
|
};
|
|
setConfig(value: number): void;
|
|
};
|
|
ipv4Option: {
|
|
name: string;
|
|
cliFlag: "ipv4";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: null;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
};
|
|
validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
|
|
optionsMap: {
|
|
readonly renderMedia: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly videoBitrate: {
|
|
name: string;
|
|
cliFlag: "video-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly numberOfGifLoops: {
|
|
name: string;
|
|
cliFlag: "number-of-gif-loops";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "numberOfGifLoops";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: number;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
};
|
|
readonly repro: {
|
|
name: string;
|
|
cliFlag: "repro";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig: (should: boolean) => void;
|
|
};
|
|
readonly x264Preset: {
|
|
name: string;
|
|
cliFlag: "x264-preset";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "x264Preset";
|
|
docLink: string;
|
|
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
};
|
|
readonly audioBitrate: {
|
|
name: string;
|
|
cliFlag: "audio-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly colorSpace: {
|
|
name: string;
|
|
cliFlag: "color-space";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
ssrName: string;
|
|
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "bt2020-ncl" | "bt709" | "default";
|
|
};
|
|
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
};
|
|
readonly codec: {
|
|
name: string;
|
|
cliFlag: "codec";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
|
|
outName: string | null;
|
|
downloadName: string | null;
|
|
configFile: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
uiCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
compositionCodec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav" | null;
|
|
}) => {
|
|
value: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav";
|
|
source: string;
|
|
};
|
|
setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
|
|
};
|
|
readonly disallowParallelEncoding: {
|
|
name: string;
|
|
cliFlag: "disallow-parallel-encoding";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: boolean;
|
|
source: string;
|
|
};
|
|
setConfig(value: boolean): void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
readonly encodingMaxRate: {
|
|
name: string;
|
|
cliFlag: "max-rate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingMaxRate";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newMaxRate: string | null) => void;
|
|
};
|
|
readonly encodingBufferSize: {
|
|
name: string;
|
|
cliFlag: "buffer-size";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingBufferSize";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly muted: {
|
|
name: string;
|
|
cliFlag: "muted";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: () => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly binariesDirectory: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly forSeamlessAacConcatenation: {
|
|
name: string;
|
|
cliFlag: "for-seamless-aac-concatenation";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: true;
|
|
} | {
|
|
source: string;
|
|
value: false;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
readonly separateAudioTo: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: string | null;
|
|
};
|
|
readonly audioCodec: {
|
|
cliFlag: "audio-codec";
|
|
setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "aac" | "mp3" | "opus" | "pcm-16";
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
description: () => string;
|
|
docLink: string;
|
|
name: string;
|
|
ssrName: "audioCodec";
|
|
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly hardwareAcceleration: {
|
|
name: string;
|
|
cliFlag: "hardware-acceleration";
|
|
description: () => string;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: "disable" | "if-possible" | "required";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "disable" | "if-possible" | "required";
|
|
};
|
|
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
readonly licenseKey: {
|
|
name: string;
|
|
cliFlag: "license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "licenseKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
};
|
|
readonly stitchFramesToVideo: {
|
|
readonly separateAudioTo: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: string | null;
|
|
};
|
|
readonly hardwareAcceleration: {
|
|
name: string;
|
|
cliFlag: "hardware-acceleration";
|
|
description: () => string;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: "disable" | "if-possible" | "required";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "disable" | "if-possible" | "required";
|
|
};
|
|
setConfig: (value: "disable" | "if-possible" | "required") => void;
|
|
};
|
|
};
|
|
readonly renderStill: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly binariesDirectory: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
readonly apiKey: {
|
|
name: string;
|
|
cliFlag: "api-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "apiKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly licenseKey: {
|
|
name: string;
|
|
cliFlag: "license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "licenseKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
};
|
|
readonly getCompositions: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly binariesDirectory: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
};
|
|
readonly selectComposition: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly binariesDirectory: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
};
|
|
readonly renderFrames: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly forSeamlessAacConcatenation: {
|
|
name: string;
|
|
cliFlag: "for-seamless-aac-concatenation";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: true;
|
|
} | {
|
|
source: string;
|
|
value: false;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly binariesDirectory: {
|
|
name: string;
|
|
cliFlag: "binaries-directory";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "binariesDirectory";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
readonly imageSequencePattern: {
|
|
name: string;
|
|
cliFlag: "image-sequence-pattern";
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: null;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
};
|
|
setConfig: (pattern: string | null) => void;
|
|
};
|
|
};
|
|
readonly renderMediaOnLambda: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly videoBitrate: {
|
|
name: string;
|
|
cliFlag: "video-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly numberOfGifLoops: {
|
|
name: string;
|
|
cliFlag: "number-of-gif-loops";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "numberOfGifLoops";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: number;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
};
|
|
readonly preferLossless: {
|
|
name: string;
|
|
cliFlag: "prefer-lossless";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
type: boolean;
|
|
ssrName: "preferLossless";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: true;
|
|
source: string;
|
|
} | {
|
|
value: false;
|
|
source: string;
|
|
};
|
|
setConfig: (val: boolean) => void;
|
|
};
|
|
readonly audioBitrate: {
|
|
name: string;
|
|
cliFlag: "audio-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly deleteAfter: {
|
|
name: string;
|
|
cliFlag: "delete-after";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "deleteAfter";
|
|
docLink: string;
|
|
type: import(".").DeleteAfter | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: import(".").DeleteAfter;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
};
|
|
readonly x264Preset: {
|
|
name: string;
|
|
cliFlag: "x264-preset";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "x264Preset";
|
|
docLink: string;
|
|
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
};
|
|
readonly encodingMaxRate: {
|
|
name: string;
|
|
cliFlag: "max-rate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingMaxRate";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newMaxRate: string | null) => void;
|
|
};
|
|
readonly encodingBufferSize: {
|
|
name: string;
|
|
cliFlag: "buffer-size";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingBufferSize";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly colorSpace: {
|
|
name: string;
|
|
cliFlag: "color-space";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
ssrName: string;
|
|
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "bt2020-ncl" | "bt709" | "default";
|
|
};
|
|
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
};
|
|
readonly muted: {
|
|
name: string;
|
|
cliFlag: "muted";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: () => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly apiKey: {
|
|
name: string;
|
|
cliFlag: "api-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "apiKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly licenseKey: {
|
|
name: string;
|
|
cliFlag: "license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "licenseKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
};
|
|
readonly renderStillOnLambda: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly deleteAfter: {
|
|
name: string;
|
|
cliFlag: "delete-after";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "deleteAfter";
|
|
docLink: string;
|
|
type: import(".").DeleteAfter | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: import(".").DeleteAfter;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (value: import(".").DeleteAfter | null) => void;
|
|
};
|
|
readonly scale: {
|
|
name: string;
|
|
cliFlag: "scale";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (scale: number) => void;
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly apiKey: {
|
|
name: string;
|
|
cliFlag: "api-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "apiKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly licenseKey: {
|
|
name: string;
|
|
cliFlag: "license-key";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "licenseKey";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
};
|
|
readonly getCompositionsOnLambda: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly timeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
};
|
|
readonly renderMediaOnCloudRun: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly numberOfGifLoops: {
|
|
name: string;
|
|
cliFlag: "number-of-gif-loops";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "numberOfGifLoops";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: number;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
|
|
};
|
|
readonly preferLossless: {
|
|
name: string;
|
|
cliFlag: "prefer-lossless";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
type: boolean;
|
|
ssrName: "preferLossless";
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: true;
|
|
source: string;
|
|
} | {
|
|
value: false;
|
|
source: string;
|
|
};
|
|
setConfig: (val: boolean) => void;
|
|
};
|
|
readonly colorSpace: {
|
|
name: string;
|
|
cliFlag: "color-space";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
ssrName: string;
|
|
type: "bt2020-ncl" | "bt709" | "default" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: "bt2020-ncl" | "bt709" | "default";
|
|
};
|
|
setConfig: (value: "bt2020-ncl" | "bt709" | "default" | null) => void;
|
|
};
|
|
readonly audioBitrate: {
|
|
name: string;
|
|
cliFlag: "audio-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (value: string | null) => void;
|
|
};
|
|
readonly videoBitrate: {
|
|
name: string;
|
|
cliFlag: "video-bitrate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: string | null;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly x264Preset: {
|
|
name: string;
|
|
cliFlag: "x264-preset";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "x264Preset";
|
|
docLink: string;
|
|
type: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow";
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (profile: "fast" | "faster" | "medium" | "placebo" | "slow" | "slower" | "superfast" | "ultrafast" | "veryfast" | "veryslow" | null) => void;
|
|
};
|
|
readonly encodingMaxRate: {
|
|
name: string;
|
|
cliFlag: "max-rate";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingMaxRate";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (newMaxRate: string | null) => void;
|
|
};
|
|
readonly encodingBufferSize: {
|
|
name: string;
|
|
cliFlag: "buffer-size";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "encodingBufferSize";
|
|
docLink: string;
|
|
type: string | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: string;
|
|
source: string;
|
|
} | {
|
|
value: null;
|
|
source: string;
|
|
};
|
|
setConfig: (bitrate: string | null) => void;
|
|
};
|
|
readonly muted: {
|
|
name: string;
|
|
cliFlag: "muted";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
setConfig: () => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly delayRenderTimeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
readonly enforceAudioTrack: {
|
|
name: string;
|
|
cliFlag: "enforce-audio-track";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: boolean;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: true;
|
|
} | {
|
|
source: string;
|
|
value: false;
|
|
};
|
|
setConfig: (value: boolean) => void;
|
|
};
|
|
readonly scale: {
|
|
name: string;
|
|
cliFlag: "scale";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (scale: number) => void;
|
|
};
|
|
readonly crf: {
|
|
name: string;
|
|
cliFlag: "crf";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: import("./crf").Crf;
|
|
};
|
|
setConfig: (crf: import("./crf").Crf) => void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
};
|
|
readonly renderStillOnCloudRun: {
|
|
readonly mediaCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "media-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "mediaCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoCacheSizeInBytes: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-cache-size-in-bytes";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoCacheSizeInBytes";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly offthreadVideoThreads: {
|
|
name: string;
|
|
cliFlag: "offthreadvideo-video-threads";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "offthreadVideoThreads";
|
|
docLink: string;
|
|
type: number | null;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
} | {
|
|
source: string;
|
|
value: null;
|
|
};
|
|
setConfig: (size: number | null) => void;
|
|
};
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly scale: {
|
|
name: string;
|
|
cliFlag: "scale";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (scale: number) => void;
|
|
};
|
|
readonly jpegQuality: {
|
|
name: string;
|
|
cliFlag: "jpeg-quality";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: string;
|
|
docLink: string;
|
|
type: number;
|
|
setConfig: (q: number | undefined) => void;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
};
|
|
readonly delayRenderTimeoutInMilliseconds: {
|
|
name: string;
|
|
cliFlag: "timeout";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "timeoutInMilliseconds";
|
|
docLink: string;
|
|
type: number;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: number;
|
|
};
|
|
setConfig: (value: number) => void;
|
|
};
|
|
};
|
|
readonly ensureBrowser: {
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
};
|
|
readonly openBrowser: {
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly onBrowserDownload: {
|
|
name: string;
|
|
cliFlag: "on-browser-download";
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
ssrName: "onBrowserDownload";
|
|
docLink: string;
|
|
type: import(".").OnBrowserDownload;
|
|
getValue: () => never;
|
|
setConfig: () => never;
|
|
};
|
|
readonly chromeMode: {
|
|
cliFlag: "chrome-mode";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "chrome-for-testing" | "headless-shell";
|
|
source: string;
|
|
};
|
|
setConfig: (newChromeMode: "chrome-for-testing" | "headless-shell") => void;
|
|
type: "chrome-for-testing" | "headless-shell";
|
|
};
|
|
};
|
|
readonly deploySiteLambda: {
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
readonly throwIfSiteExists: {
|
|
cliFlag: string;
|
|
description: () => string;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
source: string;
|
|
value: boolean;
|
|
};
|
|
name: string;
|
|
setConfig: () => never;
|
|
ssrName: string;
|
|
type: boolean;
|
|
};
|
|
};
|
|
readonly deploySiteCloudRun: {
|
|
readonly logLevel: {
|
|
cliFlag: "log";
|
|
name: string;
|
|
ssrName: string;
|
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
docLink: string;
|
|
getValue: ({ commandLine }: {
|
|
commandLine: Record<string, unknown>;
|
|
}) => {
|
|
value: "error" | "info" | "trace" | "verbose" | "warn";
|
|
source: string;
|
|
};
|
|
setConfig: (newLogLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
type: "error" | "info" | "trace" | "verbose" | "warn";
|
|
};
|
|
};
|
|
};
|
|
codecSupportsCrf: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => boolean;
|
|
codecSupportsVideoBitrate: (codec: "aac" | "gif" | "h264" | "h264-mkv" | "h264-ts" | "h265" | "mp3" | "prores" | "vp8" | "vp9" | "wav") => boolean;
|
|
logLevels: readonly ["trace", "verbose", "info", "warn", "error"];
|
|
getOutputCodecOrUndefined: () => import("./codec").CodecOrUndefined;
|
|
getExtensionFromAudioCodec: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16") => "aac" | "mp3" | "opus" | "wav";
|
|
validChromeModeOptions: readonly ["headless-shell", "chrome-for-testing"];
|
|
};
|