@remotion/renderer 4.0.424 → 4.0.426
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 +500 -0
- package/dist/esm/client.mjs +1888 -534
- package/dist/esm/index.mjs +12 -7
- package/dist/index.d.ts +4 -1
- package/dist/options/browser-executable.d.ts +17 -0
- package/dist/options/browser-executable.js +36 -0
- package/dist/options/browser.d.ts +19 -0
- package/dist/options/browser.js +30 -0
- package/dist/options/bundle-cache.d.ts +16 -0
- package/dist/options/bundle-cache.js +34 -0
- package/dist/options/concurrency.d.ts +17 -0
- package/dist/options/concurrency.js +61 -0
- package/dist/options/config.d.ts +19 -0
- package/dist/options/config.js +29 -0
- package/dist/options/disable-web-security.d.ts +16 -0
- package/dist/options/disable-web-security.js +36 -0
- package/dist/options/env-file.d.ts +19 -0
- package/dist/options/env-file.js +38 -0
- package/dist/options/every-nth-frame.d.ts +16 -0
- package/dist/options/every-nth-frame.js +42 -0
- package/dist/options/experimental-client-side-rendering.js +2 -3
- package/dist/options/frames.d.ts +17 -0
- package/dist/options/frames.js +83 -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/image-sequence.d.ts +16 -0
- package/dist/options/image-sequence.js +30 -0
- package/dist/options/index.d.ts +499 -0
- package/dist/options/index.js +56 -0
- package/dist/options/no-open.d.ts +19 -0
- package/dist/options/no-open.js +30 -0
- package/dist/options/out-dir.d.ts +19 -0
- package/dist/options/out-dir.js +41 -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/package-manager.d.ts +19 -0
- package/dist/options/package-manager.js +47 -0
- package/dist/options/pixel-format.d.ts +16 -0
- package/dist/options/pixel-format.js +41 -0
- package/dist/options/port.d.ts +19 -0
- package/dist/options/port.js +36 -0
- package/dist/options/private-license-key.d.ts +15 -0
- package/dist/options/private-license-key.js +35 -0
- package/dist/options/props.d.ts +19 -0
- package/dist/options/props.js +33 -0
- package/dist/options/prores-profile.d.ts +20 -0
- package/dist/options/prores-profile.js +48 -0
- package/dist/options/rspack.d.ts +16 -0
- package/dist/options/rspack.js +31 -0
- package/dist/options/runs.d.ts +16 -0
- package/dist/options/runs.js +37 -0
- package/dist/options/still-frame.d.ts +19 -0
- package/dist/options/still-frame.js +51 -0
- package/dist/options/user-agent.d.ts +19 -0
- package/dist/options/user-agent.js +36 -0
- package/dist/options/version-flag.d.ts +19 -0
- package/dist/options/version-flag.js +29 -0
- package/dist/options/webpack-poll.d.ts +19 -0
- package/dist/options/webpack-poll.js +43 -0
- package/dist/prespawn-ffmpeg.d.ts +1 -0
- package/dist/prespawn-ffmpeg.js +4 -3
- package/dist/render-frames.d.ts +43 -3
- package/dist/render-media.d.ts +4 -2
- package/dist/render-media.js +4 -2
- package/dist/render-still.d.ts +1 -0
- package/dist/render-still.js +5 -1
- package/dist/select-composition.d.ts +25 -3
- package/package.json +14 -14
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const imageSequenceOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "sequence";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: null;
|
|
6
|
+
docLink: string;
|
|
7
|
+
getValue: ({ commandLine }: {
|
|
8
|
+
commandLine: Record<string, unknown>;
|
|
9
|
+
}) => {
|
|
10
|
+
source: string;
|
|
11
|
+
value: boolean;
|
|
12
|
+
};
|
|
13
|
+
setConfig: (value: boolean) => void;
|
|
14
|
+
type: boolean;
|
|
15
|
+
id: "sequence";
|
|
16
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.imageSequenceOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const cliFlag = 'sequence';
|
|
6
|
+
let imageSequence = false;
|
|
7
|
+
exports.imageSequenceOption = {
|
|
8
|
+
name: 'Image Sequence',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Pass this flag to output an image sequence instead of a video. The default image format is JPEG. See", ' ', jsx_runtime_1.jsx("a", { href: "/docs/config#setimagesequence", children: jsx_runtime_1.jsx("code", { children: "setImageSequence()" }) }), ' ', "for more details."] })),
|
|
11
|
+
ssrName: null,
|
|
12
|
+
docLink: 'https://www.remotion.dev/docs/config#setimagesequence',
|
|
13
|
+
getValue: ({ commandLine }) => {
|
|
14
|
+
if (commandLine[cliFlag] !== undefined) {
|
|
15
|
+
return {
|
|
16
|
+
source: 'cli',
|
|
17
|
+
value: Boolean(commandLine[cliFlag]),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
source: imageSequence ? 'config' : 'default',
|
|
22
|
+
value: imageSequence,
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
setConfig: (value) => {
|
|
26
|
+
imageSequence = value;
|
|
27
|
+
},
|
|
28
|
+
type: false,
|
|
29
|
+
id: cliFlag,
|
|
30
|
+
};
|