@remotion/renderer 4.0.424 → 4.0.425
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +211 -0
- package/dist/esm/client.mjs +1057 -510
- package/dist/index.d.ts +1 -0
- package/dist/options/browser-executable.d.ts +17 -0
- package/dist/options/browser-executable.js +36 -0
- package/dist/options/concurrency.d.ts +17 -0
- package/dist/options/concurrency.js +40 -0
- package/dist/options/disable-web-security.d.ts +16 -0
- package/dist/options/disable-web-security.js +36 -0
- package/dist/options/every-nth-frame.d.ts +16 -0
- package/dist/options/every-nth-frame.js +42 -0
- package/dist/options/ignore-certificate-errors.d.ts +16 -0
- package/dist/options/ignore-certificate-errors.js +36 -0
- package/dist/options/image-format-option.d.ts +18 -0
- package/dist/options/image-format-option.js +33 -0
- package/dist/options/index.d.ts +210 -0
- package/dist/options/index.js +24 -0
- package/dist/options/override-duration.d.ts +19 -0
- package/dist/options/override-duration.js +46 -0
- package/dist/options/override-fps.d.ts +19 -0
- package/dist/options/override-fps.js +40 -0
- package/dist/options/override-height.d.ts +19 -0
- package/dist/options/override-height.js +40 -0
- package/dist/options/override-width.d.ts +19 -0
- package/dist/options/override-width.js +40 -0
- package/dist/options/pixel-format.d.ts +16 -0
- package/dist/options/pixel-format.js +41 -0
- package/dist/options/private-license-key.d.ts +15 -0
- package/dist/options/private-license-key.js +35 -0
- package/dist/options/prores-profile.d.ts +20 -0
- package/dist/options/prores-profile.js +48 -0
- package/dist/options/user-agent.d.ts +19 -0
- package/dist/options/user-agent.js +36 -0
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export { openBrowser } from './open-browser';
|
|
|
30
30
|
export type { ChromiumOptions } from './open-browser';
|
|
31
31
|
export { ChromeMode } from './options/chrome-mode';
|
|
32
32
|
export { ColorSpace } from './options/color-space';
|
|
33
|
+
export type { Concurrency } from './options/concurrency';
|
|
33
34
|
export type { DeleteAfter } from './options/delete-after';
|
|
34
35
|
export { OpenGlRenderer } from './options/gl';
|
|
35
36
|
export { NumberOfGifLoops } from './options/number-of-gif-loops';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BrowserExecutable } from '../browser-executable';
|
|
2
|
+
export declare const browserExecutableOption: {
|
|
3
|
+
name: string;
|
|
4
|
+
cliFlag: "browser-executable";
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ssrName: "browserExecutable";
|
|
7
|
+
docLink: string;
|
|
8
|
+
type: BrowserExecutable;
|
|
9
|
+
getValue: ({ commandLine }: {
|
|
10
|
+
commandLine: Record<string, unknown>;
|
|
11
|
+
}) => {
|
|
12
|
+
source: string;
|
|
13
|
+
value: BrowserExecutable;
|
|
14
|
+
};
|
|
15
|
+
setConfig: (value: BrowserExecutable) => void;
|
|
16
|
+
id: "browser-executable";
|
|
17
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.browserExecutableOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let currentBrowserExecutablePath = null;
|
|
6
|
+
const cliFlag = 'browser-executable';
|
|
7
|
+
exports.browserExecutableOption = {
|
|
8
|
+
name: 'Browser executable',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Set a custom Chrome or Chromium executable path. By default Remotion will try to find an existing version of Chrome on your system and if not found, it will download one. This flag is useful if you don't have Chrome installed in a standard location and you want to prevent downloading an additional browser or need support for the H264 codec." })),
|
|
11
|
+
ssrName: 'browserExecutable',
|
|
12
|
+
docLink: 'https://www.remotion.dev/docs/config#setbrowserexecutable',
|
|
13
|
+
type: null,
|
|
14
|
+
getValue: ({ commandLine }) => {
|
|
15
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
16
|
+
return {
|
|
17
|
+
source: 'cli',
|
|
18
|
+
value: commandLine[cliFlag],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
if (currentBrowserExecutablePath !== null) {
|
|
22
|
+
return {
|
|
23
|
+
source: 'config',
|
|
24
|
+
value: currentBrowserExecutablePath,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
source: 'default',
|
|
29
|
+
value: null,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
setConfig: (value) => {
|
|
33
|
+
currentBrowserExecutablePath = value;
|
|
34
|
+
},
|
|
35
|
+
id: cliFlag,
|
|
36
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type Concurrency = number | string | null;
|
|
2
|
+
export declare const concurrencyOption: {
|
|
3
|
+
name: string;
|
|
4
|
+
cliFlag: "concurrency";
|
|
5
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ssrName: "concurrency";
|
|
7
|
+
docLink: string;
|
|
8
|
+
type: Concurrency;
|
|
9
|
+
getValue: ({ commandLine }: {
|
|
10
|
+
commandLine: Record<string, unknown>;
|
|
11
|
+
}) => {
|
|
12
|
+
source: string;
|
|
13
|
+
value: Concurrency;
|
|
14
|
+
};
|
|
15
|
+
setConfig: (value: Concurrency) => void;
|
|
16
|
+
id: "concurrency";
|
|
17
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.concurrencyOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let currentConcurrency = null;
|
|
6
|
+
const cliFlag = 'concurrency';
|
|
7
|
+
exports.concurrencyOption = {
|
|
8
|
+
name: 'Concurrency',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["How many CPU threads to use. Minimum 1. The maximum is the amount of threads you have (In Node.JS ",
|
|
11
|
+
jsx_runtime_1.jsx("code", { children: "os.cpus().length" }),
|
|
12
|
+
"). You can also provide a percentage value (e.g. ",
|
|
13
|
+
jsx_runtime_1.jsx("code", { children: "50%" }),
|
|
14
|
+
")."] })),
|
|
15
|
+
ssrName: 'concurrency',
|
|
16
|
+
docLink: 'https://www.remotion.dev/docs/config#setconcurrency',
|
|
17
|
+
type: null,
|
|
18
|
+
getValue: ({ commandLine }) => {
|
|
19
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
20
|
+
return {
|
|
21
|
+
source: 'cli',
|
|
22
|
+
value: commandLine[cliFlag],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
if (currentConcurrency !== null) {
|
|
26
|
+
return {
|
|
27
|
+
source: 'config',
|
|
28
|
+
value: currentConcurrency,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
source: 'default',
|
|
33
|
+
value: null,
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
setConfig: (value) => {
|
|
37
|
+
currentConcurrency = value;
|
|
38
|
+
},
|
|
39
|
+
id: cliFlag,
|
|
40
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const disableWebSecurityOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "disable-web-security";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: "disableWebSecurity";
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: boolean;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
source: string;
|
|
12
|
+
value: boolean;
|
|
13
|
+
};
|
|
14
|
+
setConfig: (value: boolean) => void;
|
|
15
|
+
id: "disable-web-security";
|
|
16
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.disableWebSecurityOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let disableWebSecurity = false;
|
|
6
|
+
const cliFlag = 'disable-web-security';
|
|
7
|
+
exports.disableWebSecurityOption = {
|
|
8
|
+
name: 'Disable web security',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "This will most notably disable CORS in Chrome among other security features." })),
|
|
11
|
+
ssrName: 'disableWebSecurity',
|
|
12
|
+
docLink: 'https://www.remotion.dev/docs/chromium-flags#--disable-web-security',
|
|
13
|
+
type: false,
|
|
14
|
+
getValue: ({ commandLine }) => {
|
|
15
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
16
|
+
return {
|
|
17
|
+
source: 'cli',
|
|
18
|
+
value: Boolean(commandLine[cliFlag]),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
if (disableWebSecurity) {
|
|
22
|
+
return {
|
|
23
|
+
source: 'config',
|
|
24
|
+
value: disableWebSecurity,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
source: 'default',
|
|
29
|
+
value: false,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
setConfig: (value) => {
|
|
33
|
+
disableWebSecurity = value;
|
|
34
|
+
},
|
|
35
|
+
id: cliFlag,
|
|
36
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const everyNthFrameOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "every-nth-frame";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: "everyNthFrame";
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: number;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
source: string;
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
setConfig: (value: number) => void;
|
|
15
|
+
id: "every-nth-frame";
|
|
16
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.everyNthFrameOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const DEFAULT_EVERY_NTH_FRAME = 1;
|
|
6
|
+
let everyNthFrame = DEFAULT_EVERY_NTH_FRAME;
|
|
7
|
+
const cliFlag = 'every-nth-frame';
|
|
8
|
+
exports.everyNthFrameOption = {
|
|
9
|
+
name: 'Every nth frame',
|
|
10
|
+
cliFlag,
|
|
11
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["This option may only be set when rendering GIFs. It determines how many frames are rendered, while the other ones get skipped in order to lower the FPS of the GIF. For example, if the ",
|
|
12
|
+
jsx_runtime_1.jsx("code", { children: "fps" }),
|
|
13
|
+
" is 30, and", ' ', jsx_runtime_1.jsx("code", { children: "everyNthFrame" }),
|
|
14
|
+
" is 2, the FPS of the GIF is ",
|
|
15
|
+
jsx_runtime_1.jsx("code", { children: "15" }),
|
|
16
|
+
"."] })),
|
|
17
|
+
ssrName: 'everyNthFrame',
|
|
18
|
+
docLink: 'https://www.remotion.dev/docs/config#seteverynthframe',
|
|
19
|
+
type: DEFAULT_EVERY_NTH_FRAME,
|
|
20
|
+
getValue: ({ commandLine }) => {
|
|
21
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
22
|
+
return {
|
|
23
|
+
source: 'cli',
|
|
24
|
+
value: commandLine[cliFlag],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
if (everyNthFrame !== DEFAULT_EVERY_NTH_FRAME) {
|
|
28
|
+
return {
|
|
29
|
+
source: 'config',
|
|
30
|
+
value: everyNthFrame,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
source: 'default',
|
|
35
|
+
value: DEFAULT_EVERY_NTH_FRAME,
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
setConfig: (value) => {
|
|
39
|
+
everyNthFrame = value;
|
|
40
|
+
},
|
|
41
|
+
id: cliFlag,
|
|
42
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ignoreCertificateErrorsOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "ignore-certificate-errors";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: "ignoreCertificateErrors";
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: boolean;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
source: string;
|
|
12
|
+
value: boolean;
|
|
13
|
+
};
|
|
14
|
+
setConfig: (value: boolean) => void;
|
|
15
|
+
id: "ignore-certificate-errors";
|
|
16
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ignoreCertificateErrorsOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let ignoreCertificateErrors = false;
|
|
6
|
+
const cliFlag = 'ignore-certificate-errors';
|
|
7
|
+
exports.ignoreCertificateErrorsOption = {
|
|
8
|
+
name: 'Ignore certificate errors',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Results in invalid SSL certificates in Chrome, such as self-signed ones, being ignored." })),
|
|
11
|
+
ssrName: 'ignoreCertificateErrors',
|
|
12
|
+
docLink: 'https://www.remotion.dev/docs/chromium-flags#--ignore-certificate-errors',
|
|
13
|
+
type: false,
|
|
14
|
+
getValue: ({ commandLine }) => {
|
|
15
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
16
|
+
return {
|
|
17
|
+
source: 'cli',
|
|
18
|
+
value: Boolean(commandLine[cliFlag]),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
if (ignoreCertificateErrors) {
|
|
22
|
+
return {
|
|
23
|
+
source: 'config',
|
|
24
|
+
value: ignoreCertificateErrors,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
source: 'default',
|
|
29
|
+
value: false,
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
setConfig: (value) => {
|
|
33
|
+
ignoreCertificateErrors = value;
|
|
34
|
+
},
|
|
35
|
+
id: cliFlag,
|
|
36
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const imageFormatOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "image-format";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: "imageFormat";
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: string | null;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
value: string;
|
|
12
|
+
source: string;
|
|
13
|
+
} | {
|
|
14
|
+
value: null;
|
|
15
|
+
source: string;
|
|
16
|
+
};
|
|
17
|
+
setConfig(value: string | null): void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.imageFormatOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let imageFormat = null;
|
|
6
|
+
const cliFlag = 'image-format';
|
|
7
|
+
exports.imageFormatOption = {
|
|
8
|
+
name: 'Image Format',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Determines which in which image format to render. Can be either", ' ', jsx_runtime_1.jsx("code", { children: "\"jpeg\"" }),
|
|
11
|
+
", ",
|
|
12
|
+
jsx_runtime_1.jsx("code", { children: "\"png\"" }),
|
|
13
|
+
",", ' ', jsx_runtime_1.jsx("code", { children: "\"webp\"" }),
|
|
14
|
+
", ",
|
|
15
|
+
jsx_runtime_1.jsx("code", { children: "\"pdf\"" }),
|
|
16
|
+
", or", ' ', jsx_runtime_1.jsx("code", { children: "\"none\"" }),
|
|
17
|
+
" depending on the render type."] })),
|
|
18
|
+
ssrName: 'imageFormat',
|
|
19
|
+
docLink: 'https://www.remotion.dev/docs/config#setvideoimageformat',
|
|
20
|
+
type: null,
|
|
21
|
+
getValue: ({ commandLine }) => {
|
|
22
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
23
|
+
return { value: commandLine[cliFlag], source: 'cli' };
|
|
24
|
+
}
|
|
25
|
+
if (imageFormat !== null) {
|
|
26
|
+
return { value: imageFormat, source: 'config' };
|
|
27
|
+
}
|
|
28
|
+
return { value: null, source: 'default' };
|
|
29
|
+
},
|
|
30
|
+
setConfig(value) {
|
|
31
|
+
imageFormat = value;
|
|
32
|
+
},
|
|
33
|
+
};
|
package/dist/options/index.d.ts
CHANGED
|
@@ -19,6 +19,38 @@ export declare const allOptions: {
|
|
|
19
19
|
type: "aac" | "mp3" | "opus" | "pcm-16";
|
|
20
20
|
id: "audio-codec";
|
|
21
21
|
};
|
|
22
|
+
browserExecutableOption: {
|
|
23
|
+
name: string;
|
|
24
|
+
cliFlag: "browser-executable";
|
|
25
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
ssrName: "browserExecutable";
|
|
27
|
+
docLink: string;
|
|
28
|
+
type: import("..").BrowserExecutable;
|
|
29
|
+
getValue: ({ commandLine }: {
|
|
30
|
+
commandLine: Record<string, unknown>;
|
|
31
|
+
}) => {
|
|
32
|
+
source: string;
|
|
33
|
+
value: import("..").BrowserExecutable;
|
|
34
|
+
};
|
|
35
|
+
setConfig: (value: import("..").BrowserExecutable) => void;
|
|
36
|
+
id: "browser-executable";
|
|
37
|
+
};
|
|
38
|
+
concurrencyOption: {
|
|
39
|
+
name: string;
|
|
40
|
+
cliFlag: "concurrency";
|
|
41
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
ssrName: "concurrency";
|
|
43
|
+
docLink: string;
|
|
44
|
+
type: import("./concurrency").Concurrency;
|
|
45
|
+
getValue: ({ commandLine }: {
|
|
46
|
+
commandLine: Record<string, unknown>;
|
|
47
|
+
}) => {
|
|
48
|
+
source: string;
|
|
49
|
+
value: import("./concurrency").Concurrency;
|
|
50
|
+
};
|
|
51
|
+
setConfig: (value: import("./concurrency").Concurrency) => void;
|
|
52
|
+
id: "concurrency";
|
|
53
|
+
};
|
|
22
54
|
scaleOption: {
|
|
23
55
|
name: string;
|
|
24
56
|
cliFlag: "scale";
|
|
@@ -121,6 +153,22 @@ export declare const allOptions: {
|
|
|
121
153
|
setConfig: (value: boolean) => void;
|
|
122
154
|
id: "enforce-audio-track";
|
|
123
155
|
};
|
|
156
|
+
everyNthFrameOption: {
|
|
157
|
+
name: string;
|
|
158
|
+
cliFlag: "every-nth-frame";
|
|
159
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
160
|
+
ssrName: "everyNthFrame";
|
|
161
|
+
docLink: string;
|
|
162
|
+
type: number;
|
|
163
|
+
getValue: ({ commandLine }: {
|
|
164
|
+
commandLine: Record<string, unknown>;
|
|
165
|
+
}) => {
|
|
166
|
+
source: string;
|
|
167
|
+
value: number;
|
|
168
|
+
};
|
|
169
|
+
setConfig: (value: number) => void;
|
|
170
|
+
id: "every-nth-frame";
|
|
171
|
+
};
|
|
124
172
|
mutedOption: {
|
|
125
173
|
name: string;
|
|
126
174
|
cliFlag: "muted";
|
|
@@ -243,6 +291,22 @@ export declare const allOptions: {
|
|
|
243
291
|
setConfig: (value: import("./delete-after").DeleteAfter | null) => void;
|
|
244
292
|
id: "delete-after";
|
|
245
293
|
};
|
|
294
|
+
disableWebSecurityOption: {
|
|
295
|
+
name: string;
|
|
296
|
+
cliFlag: "disable-web-security";
|
|
297
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
298
|
+
ssrName: "disableWebSecurity";
|
|
299
|
+
docLink: string;
|
|
300
|
+
type: boolean;
|
|
301
|
+
getValue: ({ commandLine }: {
|
|
302
|
+
commandLine: Record<string, unknown>;
|
|
303
|
+
}) => {
|
|
304
|
+
source: string;
|
|
305
|
+
value: boolean;
|
|
306
|
+
};
|
|
307
|
+
setConfig: (value: boolean) => void;
|
|
308
|
+
id: "disable-web-security";
|
|
309
|
+
};
|
|
246
310
|
disallowParallelEncodingOption: {
|
|
247
311
|
name: string;
|
|
248
312
|
cliFlag: "disallow-parallel-encoding";
|
|
@@ -415,6 +479,22 @@ export declare const allOptions: {
|
|
|
415
479
|
setConfig: (should: boolean) => void;
|
|
416
480
|
id: "repro";
|
|
417
481
|
};
|
|
482
|
+
pixelFormatOption: {
|
|
483
|
+
name: string;
|
|
484
|
+
cliFlag: "pixel-format";
|
|
485
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
486
|
+
ssrName: "pixelFormat";
|
|
487
|
+
docLink: string;
|
|
488
|
+
type: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
489
|
+
getValue: ({ commandLine }: {
|
|
490
|
+
commandLine: Record<string, unknown>;
|
|
491
|
+
}) => {
|
|
492
|
+
source: string;
|
|
493
|
+
value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le";
|
|
494
|
+
};
|
|
495
|
+
setConfig: (value: "yuv420p" | "yuv420p10le" | "yuv422p" | "yuv422p10le" | "yuv444p" | "yuv444p10le" | "yuva420p" | "yuva444p10le") => void;
|
|
496
|
+
id: "pixel-format";
|
|
497
|
+
};
|
|
418
498
|
preferLosslessOption: {
|
|
419
499
|
name: string;
|
|
420
500
|
cliFlag: "prefer-lossless";
|
|
@@ -434,6 +514,25 @@ export declare const allOptions: {
|
|
|
434
514
|
setConfig: (val: boolean) => void;
|
|
435
515
|
id: "prefer-lossless";
|
|
436
516
|
};
|
|
517
|
+
proResProfileOption: {
|
|
518
|
+
name: string;
|
|
519
|
+
cliFlag: "prores-profile";
|
|
520
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
521
|
+
ssrName: "proResProfile";
|
|
522
|
+
docLink: string;
|
|
523
|
+
type: import("./prores-profile").ProResProfile | undefined;
|
|
524
|
+
getValue: ({ commandLine }: {
|
|
525
|
+
commandLine: Record<string, unknown>;
|
|
526
|
+
}) => {
|
|
527
|
+
source: string;
|
|
528
|
+
value: import("./prores-profile").ProResProfile;
|
|
529
|
+
} | {
|
|
530
|
+
source: string;
|
|
531
|
+
value: undefined;
|
|
532
|
+
};
|
|
533
|
+
setConfig: (value: import("./prores-profile").ProResProfile | undefined) => void;
|
|
534
|
+
id: "prores-profile";
|
|
535
|
+
};
|
|
437
536
|
x264Option: {
|
|
438
537
|
name: string;
|
|
439
538
|
cliFlag: "x264-preset";
|
|
@@ -769,6 +868,22 @@ export declare const allOptions: {
|
|
|
769
868
|
setConfig(value: boolean): void;
|
|
770
869
|
id: "cross-site-isolation";
|
|
771
870
|
};
|
|
871
|
+
ignoreCertificateErrorsOption: {
|
|
872
|
+
name: string;
|
|
873
|
+
cliFlag: "ignore-certificate-errors";
|
|
874
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
875
|
+
ssrName: "ignoreCertificateErrors";
|
|
876
|
+
docLink: string;
|
|
877
|
+
type: boolean;
|
|
878
|
+
getValue: ({ commandLine }: {
|
|
879
|
+
commandLine: Record<string, unknown>;
|
|
880
|
+
}) => {
|
|
881
|
+
source: string;
|
|
882
|
+
value: boolean;
|
|
883
|
+
};
|
|
884
|
+
setConfig: (value: boolean) => void;
|
|
885
|
+
id: "ignore-certificate-errors";
|
|
886
|
+
};
|
|
772
887
|
imageSequencePatternOption: {
|
|
773
888
|
name: string;
|
|
774
889
|
cliFlag: "image-sequence-pattern";
|
|
@@ -967,6 +1082,25 @@ export declare const allOptions: {
|
|
|
967
1082
|
setConfig: (value: "jpeg" | "pdf" | "png" | "webp" | null) => void;
|
|
968
1083
|
id: string;
|
|
969
1084
|
};
|
|
1085
|
+
userAgentOption: {
|
|
1086
|
+
name: string;
|
|
1087
|
+
cliFlag: "user-agent";
|
|
1088
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1089
|
+
ssrName: "userAgent";
|
|
1090
|
+
docLink: string;
|
|
1091
|
+
type: string | null;
|
|
1092
|
+
getValue: ({ commandLine }: {
|
|
1093
|
+
commandLine: Record<string, unknown>;
|
|
1094
|
+
}) => {
|
|
1095
|
+
source: string;
|
|
1096
|
+
value: string;
|
|
1097
|
+
} | {
|
|
1098
|
+
source: string;
|
|
1099
|
+
value: null;
|
|
1100
|
+
};
|
|
1101
|
+
setConfig: (value: string | null) => void;
|
|
1102
|
+
id: "user-agent";
|
|
1103
|
+
};
|
|
970
1104
|
videoImageFormatOption: {
|
|
971
1105
|
name: string;
|
|
972
1106
|
cliFlag: "image-format";
|
|
@@ -986,6 +1120,82 @@ export declare const allOptions: {
|
|
|
986
1120
|
setConfig: (value: "jpeg" | "none" | "png" | null) => void;
|
|
987
1121
|
id: string;
|
|
988
1122
|
};
|
|
1123
|
+
overrideHeightOption: {
|
|
1124
|
+
name: string;
|
|
1125
|
+
cliFlag: "height";
|
|
1126
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1127
|
+
ssrName: null;
|
|
1128
|
+
docLink: string;
|
|
1129
|
+
type: number | null;
|
|
1130
|
+
getValue: ({ commandLine }: {
|
|
1131
|
+
commandLine: Record<string, unknown>;
|
|
1132
|
+
}) => {
|
|
1133
|
+
source: string;
|
|
1134
|
+
value: number;
|
|
1135
|
+
} | {
|
|
1136
|
+
source: string;
|
|
1137
|
+
value: null;
|
|
1138
|
+
};
|
|
1139
|
+
setConfig: (height: number | null) => void;
|
|
1140
|
+
id: "height";
|
|
1141
|
+
};
|
|
1142
|
+
overrideWidthOption: {
|
|
1143
|
+
name: string;
|
|
1144
|
+
cliFlag: "width";
|
|
1145
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1146
|
+
ssrName: null;
|
|
1147
|
+
docLink: string;
|
|
1148
|
+
type: number | null;
|
|
1149
|
+
getValue: ({ commandLine }: {
|
|
1150
|
+
commandLine: Record<string, unknown>;
|
|
1151
|
+
}) => {
|
|
1152
|
+
source: string;
|
|
1153
|
+
value: number;
|
|
1154
|
+
} | {
|
|
1155
|
+
source: string;
|
|
1156
|
+
value: null;
|
|
1157
|
+
};
|
|
1158
|
+
setConfig: (width: number | null) => void;
|
|
1159
|
+
id: "width";
|
|
1160
|
+
};
|
|
1161
|
+
overrideFpsOption: {
|
|
1162
|
+
name: string;
|
|
1163
|
+
cliFlag: "fps";
|
|
1164
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1165
|
+
ssrName: null;
|
|
1166
|
+
docLink: string;
|
|
1167
|
+
type: number | null;
|
|
1168
|
+
getValue: ({ commandLine }: {
|
|
1169
|
+
commandLine: Record<string, unknown>;
|
|
1170
|
+
}) => {
|
|
1171
|
+
source: string;
|
|
1172
|
+
value: number;
|
|
1173
|
+
} | {
|
|
1174
|
+
source: string;
|
|
1175
|
+
value: null;
|
|
1176
|
+
};
|
|
1177
|
+
setConfig: (fps: number | null) => void;
|
|
1178
|
+
id: "fps";
|
|
1179
|
+
};
|
|
1180
|
+
overrideDurationOption: {
|
|
1181
|
+
name: string;
|
|
1182
|
+
cliFlag: "duration";
|
|
1183
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1184
|
+
ssrName: null;
|
|
1185
|
+
docLink: string;
|
|
1186
|
+
type: number | null;
|
|
1187
|
+
getValue: ({ commandLine }: {
|
|
1188
|
+
commandLine: Record<string, unknown>;
|
|
1189
|
+
}) => {
|
|
1190
|
+
source: string;
|
|
1191
|
+
value: number;
|
|
1192
|
+
} | {
|
|
1193
|
+
source: string;
|
|
1194
|
+
value: null;
|
|
1195
|
+
};
|
|
1196
|
+
setConfig: (duration: number | null) => void;
|
|
1197
|
+
id: "duration";
|
|
1198
|
+
};
|
|
989
1199
|
};
|
|
990
1200
|
export type AvailableOptions = keyof typeof allOptions;
|
|
991
1201
|
export type TypeOfOption<Type> = Type extends AnyRemotionOption<infer X> ? X : never;
|