@remotion/renderer 4.0.427 → 4.0.428

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.
@@ -1,15 +1,16 @@
1
- export declare const privateLicenseKeyOption: {
1
+ export declare const browserArgsOption: {
2
2
  name: string;
3
- cliFlag: "private-license-key";
3
+ cliFlag: "browser-args";
4
+ ssrName: "browserArgs";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
- ssrName: "privateLicenseKey";
6
6
  docLink: string;
7
+ type: string;
7
8
  getValue: ({ commandLine }: {
8
9
  commandLine: Record<string, unknown>;
9
10
  }) => {
11
+ value: string;
10
12
  source: string;
11
- value: string | null;
12
13
  };
13
- setConfig: (value: string | null) => void;
14
- type: string | null;
14
+ setConfig: (value: string) => void;
15
+ id: "browser-args";
15
16
  };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.browserArgsOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'browser-args';
6
+ let currentBrowserArgs = '';
7
+ exports.browserArgsOption = {
8
+ name: 'Browser Args',
9
+ cliFlag,
10
+ ssrName: 'browserArgs',
11
+ description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "A set of command line flags that should be passed to the browser." })),
12
+ docLink: 'https://www.remotion.dev/docs/cli/studio#--browser-args',
13
+ type: '',
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined)
16
+ return { value: String(commandLine[cliFlag]), source: 'cli' };
17
+ if (currentBrowserArgs !== '')
18
+ return { value: currentBrowserArgs, source: 'config' };
19
+ return { value: '', source: 'default' };
20
+ },
21
+ setConfig: (value) => {
22
+ currentBrowserArgs = value;
23
+ },
24
+ id: cliFlag,
25
+ };
@@ -0,0 +1,16 @@
1
+ export declare const concurrenciesOption: {
2
+ name: string;
3
+ cliFlag: "concurrencies";
4
+ ssrName: "concurrencies";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: string;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: string;
12
+ source: string;
13
+ };
14
+ setConfig: (value: string) => void;
15
+ id: "concurrencies";
16
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.concurrenciesOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'concurrencies';
6
+ let currentConcurrencies = '';
7
+ exports.concurrenciesOption = {
8
+ name: 'Concurrencies',
9
+ cliFlag,
10
+ ssrName: 'concurrencies',
11
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["You can specify which concurrency value should be used while rendering the video. Multiple concurrency values can be passed separated by comma. Learn more about", ' ', jsx_runtime_1.jsx("a", { href: "/docs/terminology/concurrency", children: jsx_runtime_1.jsx("code", { children: "concurrency" }) })
12
+ ] })),
13
+ docLink: 'https://www.remotion.dev/docs/cli/benchmark#--concurrencies',
14
+ type: '',
15
+ getValue: ({ commandLine }) => {
16
+ if (commandLine[cliFlag]) {
17
+ return {
18
+ value: String(commandLine[cliFlag]),
19
+ source: 'cli',
20
+ };
21
+ }
22
+ if (currentConcurrencies) {
23
+ return {
24
+ value: currentConcurrencies,
25
+ source: 'config',
26
+ };
27
+ }
28
+ return {
29
+ source: 'default',
30
+ value: '',
31
+ };
32
+ },
33
+ setConfig: (value) => {
34
+ currentConcurrencies = value;
35
+ },
36
+ id: cliFlag,
37
+ };
@@ -0,0 +1,16 @@
1
+ export declare const experimentalVisualModeOption: {
2
+ name: string;
3
+ cliFlag: "experimental-visual-mode";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: null;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig(value: boolean): void;
15
+ id: "experimental-visual-mode";
16
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.experimentalVisualModeOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let experimentalVisualModeEnabled = false;
6
+ const cliFlag = 'experimental-visual-mode';
7
+ exports.experimentalVisualModeOption = {
8
+ name: 'Experimental Visual Mode',
9
+ cliFlag,
10
+ description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Nothing here yet, but this is our playground for experiments." })),
11
+ ssrName: null,
12
+ docLink: 'https://www.remotion.dev/docs/config#setexperimentalvisualmode',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== null) {
16
+ return {
17
+ value: commandLine[cliFlag],
18
+ source: 'cli',
19
+ };
20
+ }
21
+ return {
22
+ value: experimentalVisualModeEnabled,
23
+ source: 'config',
24
+ };
25
+ },
26
+ setConfig(value) {
27
+ experimentalVisualModeEnabled = value;
28
+ },
29
+ id: cliFlag,
30
+ };
@@ -0,0 +1,16 @@
1
+ export declare const forceOption: {
2
+ name: string;
3
+ cliFlag: "force";
4
+ ssrName: "force";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: null;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig: () => void;
15
+ id: "force";
16
+ };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.forceOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'force';
6
+ exports.forceOption = {
7
+ name: 'Force',
8
+ cliFlag,
9
+ ssrName: 'force',
10
+ description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, {}),
11
+ docLink: null,
12
+ type: false,
13
+ getValue: ({ commandLine }) => {
14
+ if (commandLine[cliFlag] !== undefined) {
15
+ return { value: Boolean(commandLine[cliFlag]), source: 'cli' };
16
+ }
17
+ return {
18
+ source: 'default',
19
+ value: false,
20
+ };
21
+ },
22
+ setConfig: () => { },
23
+ id: cliFlag,
24
+ };
@@ -0,0 +1,16 @@
1
+ export declare const helpOption: {
2
+ name: string;
3
+ cliFlag: "help";
4
+ ssrName: "help";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig: (value: boolean) => void;
15
+ id: "help";
16
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.helpOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'help';
6
+ let currentHelp = null;
7
+ exports.helpOption = {
8
+ name: 'Help',
9
+ cliFlag,
10
+ ssrName: 'help',
11
+ description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Prints available commands and flags for the Remotion CLI." })),
12
+ docLink: 'https://www.remotion.dev/docs/cli/help',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined) {
16
+ return { value: Boolean(commandLine[cliFlag]), source: 'cli' };
17
+ }
18
+ if (currentHelp !== null)
19
+ return { value: currentHelp, source: 'config' };
20
+ return { value: false, source: 'default' };
21
+ },
22
+ setConfig: (value) => {
23
+ currentHelp = value;
24
+ },
25
+ id: cliFlag,
26
+ };
@@ -0,0 +1,11 @@
1
+ export declare const imageFormatOption: {
2
+ name: string;
3
+ cliFlag: "image-format";
4
+ ssrName: "imageFormat";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: never;
8
+ getValue: () => never;
9
+ setConfig: () => void;
10
+ id: "image-format";
11
+ };
@@ -0,0 +1,18 @@
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
+ const cliFlag = 'image-format';
6
+ exports.imageFormatOption = {
7
+ name: 'Image Format (deprecated)',
8
+ cliFlag,
9
+ ssrName: 'imageFormat',
10
+ description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Deprecated. Use --png / --jpeg / --webp instead." }),
11
+ docLink: 'https://www.remotion.dev/docs/cli/render#--image-format',
12
+ type: null,
13
+ getValue: () => {
14
+ throw new Error('The "--image-format" flag is deprecated.');
15
+ },
16
+ setConfig: () => { },
17
+ id: cliFlag,
18
+ };
@@ -1034,6 +1034,22 @@ export declare const allOptions: {
1034
1034
  setConfig(value: boolean): void;
1035
1035
  id: "enable-experimental-client-side-rendering";
1036
1036
  };
1037
+ experimentalVisualModeOption: {
1038
+ name: string;
1039
+ cliFlag: "experimental-visual-mode";
1040
+ description: () => import("react/jsx-runtime").JSX.Element;
1041
+ ssrName: null;
1042
+ docLink: string;
1043
+ type: boolean;
1044
+ getValue: ({ commandLine }: {
1045
+ commandLine: Record<string, unknown>;
1046
+ }) => {
1047
+ value: boolean;
1048
+ source: string;
1049
+ };
1050
+ setConfig(value: boolean): void;
1051
+ id: "experimental-visual-mode";
1052
+ };
1037
1053
  keyboardShortcutsOption: {
1038
1054
  name: string;
1039
1055
  cliFlag: "disable-keyboard-shortcuts";
@@ -29,6 +29,7 @@ const enforce_audio_1 = require("./enforce-audio");
29
29
  const env_file_1 = require("./env-file");
30
30
  const every_nth_frame_1 = require("./every-nth-frame");
31
31
  const experimental_client_side_rendering_1 = require("./experimental-client-side-rendering");
32
+ const experimental_visual_mode_1 = require("./experimental-visual-mode");
32
33
  const folder_expiry_1 = require("./folder-expiry");
33
34
  const for_seamless_aac_concatenation_1 = require("./for-seamless-aac-concatenation");
34
35
  const force_new_studio_1 = require("./force-new-studio");
@@ -149,6 +150,7 @@ exports.allOptions = {
149
150
  isProductionOption: is_production_1.isProductionOption,
150
151
  askAIOption: ask_ai_1.askAIOption,
151
152
  experimentalClientSideRenderingOption: experimental_client_side_rendering_1.experimentalClientSideRenderingOption,
153
+ experimentalVisualModeOption: experimental_visual_mode_1.experimentalVisualModeOption,
152
154
  keyboardShortcutsOption: keyboard_shortcuts_1.keyboardShortcutsOption,
153
155
  framesOption: frames_1.framesOption,
154
156
  forceNewStudioOption: force_new_studio_1.forceNewStudioOption,
@@ -1,18 +1,19 @@
1
- export declare const imageFormatOption: {
1
+ export declare const outputOption: {
2
2
  name: string;
3
- cliFlag: "image-format";
3
+ cliFlag: "output";
4
+ ssrName: "output";
4
5
  description: () => import("react/jsx-runtime").JSX.Element;
5
- ssrName: "imageFormat";
6
6
  docLink: string;
7
- type: string | null;
7
+ type: string | undefined;
8
8
  getValue: ({ commandLine }: {
9
9
  commandLine: Record<string, unknown>;
10
10
  }) => {
11
11
  value: string;
12
12
  source: string;
13
13
  } | {
14
- value: null;
15
14
  source: string;
15
+ value: undefined;
16
16
  };
17
- setConfig(value: string | null): void;
17
+ setConfig: (value: string | undefined) => void;
18
+ id: "output";
18
19
  };
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.outputOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'output';
6
+ let currentOutput;
7
+ // Option for --output
8
+ exports.outputOption = {
9
+ name: 'Output',
10
+ cliFlag,
11
+ ssrName: 'output',
12
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Sets the output file path, as an alternative to the", ' ', jsx_runtime_1.jsx("code", { children: "output-location" }),
13
+ " positional argument."] })),
14
+ docLink: 'https://www.remotion.dev/docs/cli/render#--output-',
15
+ type: '',
16
+ getValue: ({ commandLine }) => {
17
+ if (commandLine[cliFlag] !== undefined) {
18
+ return {
19
+ value: commandLine[cliFlag],
20
+ source: 'cli',
21
+ };
22
+ }
23
+ if (currentOutput !== undefined) {
24
+ return {
25
+ value: currentOutput,
26
+ source: 'config',
27
+ };
28
+ }
29
+ return {
30
+ source: 'default',
31
+ value: undefined,
32
+ };
33
+ },
34
+ setConfig: (value) => {
35
+ currentOutput = value;
36
+ },
37
+ id: cliFlag,
38
+ };
@@ -0,0 +1,11 @@
1
+ export declare const pngOption: {
2
+ name: string;
3
+ cliFlag: "png";
4
+ ssrName: "png";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: null;
7
+ type: never;
8
+ getValue: () => never;
9
+ setConfig: () => void;
10
+ id: "png";
11
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pngOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'png';
6
+ exports.pngOption = {
7
+ name: 'PNG (deprecated)',
8
+ cliFlag,
9
+ ssrName: 'png',
10
+ description: () => jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Deprecated. Throws an error if used." }),
11
+ docLink: null,
12
+ type: null,
13
+ getValue: () => {
14
+ throw new Error('The "--png" flag is deprecated.');
15
+ },
16
+ setConfig: () => { },
17
+ id: cliFlag,
18
+ };
@@ -0,0 +1,19 @@
1
+ export declare const qOption: {
2
+ name: string;
3
+ cliFlag: "q";
4
+ ssrName: "q";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: true;
12
+ source: string;
13
+ } | {
14
+ value: false;
15
+ source: string;
16
+ };
17
+ setConfig: (value: boolean) => void;
18
+ id: "q";
19
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.qOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'q';
6
+ let currentQuiet = false;
7
+ exports.qOption = {
8
+ name: 'Quiet Alias',
9
+ cliFlag,
10
+ ssrName: 'q',
11
+ description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Only prints the composition IDs, separated by a space." })),
12
+ docLink: 'https://www.remotion.dev/docs/cli/compositions#--quiet---q',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined) {
16
+ return { value: true, source: 'cli' };
17
+ }
18
+ if (currentQuiet !== false)
19
+ return { value: currentQuiet, source: 'config' };
20
+ return { value: false, source: 'default' };
21
+ },
22
+ setConfig: (value) => {
23
+ currentQuiet = value;
24
+ },
25
+ id: cliFlag,
26
+ };
@@ -0,0 +1,11 @@
1
+ export declare const qualityOption: {
2
+ name: string;
3
+ cliFlag: "quality";
4
+ ssrName: "quality";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: never;
8
+ getValue: () => never;
9
+ setConfig: () => void;
10
+ id: "quality";
11
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.qualityOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'quality';
6
+ exports.qualityOption = {
7
+ name: 'Quality (deprecated)',
8
+ cliFlag,
9
+ ssrName: 'quality',
10
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Renamed to ",
11
+ jsx_runtime_1.jsx("code", { children: "--jpeg-quality" }),
12
+ " in v4.0.0"] })),
13
+ docLink: 'https://www.remotion.dev/docs/cli/still#--quality-',
14
+ type: null,
15
+ getValue: () => {
16
+ throw new Error('The "--quality" flag was deprecated in v4.0.0. Please use "--jpeg-quality" instead.');
17
+ },
18
+ setConfig: () => { },
19
+ id: cliFlag,
20
+ };
@@ -0,0 +1,19 @@
1
+ export declare const quietOption: {
2
+ name: string;
3
+ cliFlag: "quiet";
4
+ ssrName: "quiet";
5
+ description: () => import("react/jsx-runtime").JSX.Element;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: true;
12
+ source: string;
13
+ } | {
14
+ value: false;
15
+ source: string;
16
+ };
17
+ setConfig: (value: boolean) => void;
18
+ id: "quiet";
19
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.quietOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'quiet';
6
+ let currentQuiet = false;
7
+ exports.quietOption = {
8
+ name: 'Quiet',
9
+ cliFlag,
10
+ ssrName: 'quiet',
11
+ description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Only prints the composition IDs, separated by a space." })),
12
+ docLink: 'https://www.remotion.dev/docs/cli/compositions#--quiet---q',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined) {
16
+ return { value: true, source: 'cli' };
17
+ }
18
+ if (currentQuiet !== false)
19
+ return { value: currentQuiet, source: 'config' };
20
+ return { value: false, source: 'default' };
21
+ },
22
+ setConfig: (value) => {
23
+ currentQuiet = value;
24
+ },
25
+ id: cliFlag,
26
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.427",
6
+ "version": "4.0.428",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -23,11 +23,11 @@
23
23
  "dependencies": {
24
24
  "execa": "5.1.1",
25
25
  "extract-zip": "2.0.1",
26
- "remotion": "4.0.427",
27
- "@remotion/streaming": "4.0.427",
26
+ "remotion": "4.0.428",
27
+ "@remotion/streaming": "4.0.428",
28
28
  "source-map": "^0.8.0-beta.0",
29
29
  "ws": "8.17.1",
30
- "@remotion/licensing": "4.0.427"
30
+ "@remotion/licensing": "4.0.428"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",
@@ -41,19 +41,19 @@
41
41
  "react-dom": "19.2.3",
42
42
  "@typescript/native-preview": "7.0.0-dev.20260217.1",
43
43
  "@types/ws": "8.5.10",
44
- "@remotion/example-videos": "4.0.427",
45
- "@remotion/eslint-config-internal": "4.0.427",
44
+ "@remotion/example-videos": "4.0.428",
45
+ "@remotion/eslint-config-internal": "4.0.428",
46
46
  "eslint": "9.19.0",
47
47
  "@types/node": "20.12.14"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@remotion/compositor-darwin-arm64": "4.0.427",
51
- "@remotion/compositor-darwin-x64": "4.0.427",
52
- "@remotion/compositor-linux-arm64-gnu": "4.0.427",
53
- "@remotion/compositor-linux-arm64-musl": "4.0.427",
54
- "@remotion/compositor-linux-x64-gnu": "4.0.427",
55
- "@remotion/compositor-linux-x64-musl": "4.0.427",
56
- "@remotion/compositor-win32-x64-msvc": "4.0.427"
50
+ "@remotion/compositor-darwin-arm64": "4.0.428",
51
+ "@remotion/compositor-darwin-x64": "4.0.428",
52
+ "@remotion/compositor-linux-arm64-gnu": "4.0.428",
53
+ "@remotion/compositor-linux-arm64-musl": "4.0.428",
54
+ "@remotion/compositor-linux-x64-gnu": "4.0.428",
55
+ "@remotion/compositor-linux-x64-musl": "4.0.428",
56
+ "@remotion/compositor-win32-x64-msvc": "4.0.428"
57
57
  },
58
58
  "keywords": [
59
59
  "remotion",
@@ -1,33 +0,0 @@
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
- };
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.privateLicenseKeyOption = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const cliFlag = 'private-license-key';
6
- let currentPrivateLicenseKey = null;
7
- exports.privateLicenseKeyOption = {
8
- name: 'Private License Key',
9
- cliFlag,
10
- description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["The private license key for your company license, obtained from the \"Usage\" tab on ", (0, jsx_runtime_1.jsx)("a", { href: "https://remotion.pro/dashboard", children: "remotion.pro" }), ". If you are eligible for the free license, pass \"free-license\"."] })),
11
- ssrName: 'privateLicenseKey',
12
- docLink: 'https://www.remotion.dev/docs/licensing',
13
- getValue: ({ commandLine }) => {
14
- if (commandLine[cliFlag] !== undefined) {
15
- return {
16
- source: 'cli',
17
- value: commandLine[cliFlag],
18
- };
19
- }
20
- if (currentPrivateLicenseKey !== null) {
21
- return {
22
- source: 'config',
23
- value: currentPrivateLicenseKey,
24
- };
25
- }
26
- return {
27
- source: 'default',
28
- value: null,
29
- };
30
- },
31
- setConfig: (value) => {
32
- currentPrivateLicenseKey = value;
33
- },
34
- type: null,
35
- };