@remotion/renderer 4.0.427 → 4.0.429

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.
Files changed (48) hide show
  1. package/README.md +7 -7
  2. package/dist/browser/BrowserFetcher.js +1 -1
  3. package/dist/browser/BrowserPage.d.ts +1 -1
  4. package/dist/browser/BrowserPage.js +1 -1
  5. package/dist/browser/BrowserRunner.js +1 -1
  6. package/dist/browser/FrameManager.d.ts +1 -1
  7. package/dist/browser/FrameManager.js +2 -2
  8. package/dist/browser/handle-failed-resource.d.ts +1 -1
  9. package/dist/call-ffmpeg.d.ts +1 -1
  10. package/dist/call-ffmpeg.js +1 -1
  11. package/dist/client.d.ts +16 -0
  12. package/dist/compositor/compositor.js +1 -1
  13. package/dist/ensure-browser.js +1 -1
  14. package/dist/esm/client.mjs +546 -514
  15. package/dist/esm/index.mjs +13 -13
  16. package/dist/get-compositions.js +1 -1
  17. package/dist/options/{private-license-key.d.ts → browser-args.d.ts} +7 -6
  18. package/dist/options/browser-args.js +25 -0
  19. package/dist/options/concurrencies.d.ts +16 -0
  20. package/dist/options/concurrencies.js +37 -0
  21. package/dist/options/experimental-visual-mode.d.ts +16 -0
  22. package/dist/options/experimental-visual-mode.js +30 -0
  23. package/dist/options/force.d.ts +16 -0
  24. package/dist/options/force.js +24 -0
  25. package/dist/options/help.d.ts +16 -0
  26. package/dist/options/help.js +26 -0
  27. package/dist/options/image-format.d.ts +11 -0
  28. package/dist/options/image-format.js +18 -0
  29. package/dist/options/index.d.ts +16 -0
  30. package/dist/options/index.js +2 -0
  31. package/dist/options/{image-format-option.d.ts → output.d.ts} +7 -6
  32. package/dist/options/output.js +38 -0
  33. package/dist/options/png.d.ts +11 -0
  34. package/dist/options/png.js +18 -0
  35. package/dist/options/q.d.ts +19 -0
  36. package/dist/options/q.js +26 -0
  37. package/dist/options/quality.d.ts +11 -0
  38. package/dist/options/quality.js +20 -0
  39. package/dist/options/quiet.d.ts +19 -0
  40. package/dist/options/quiet.js +26 -0
  41. package/dist/render-frames.js +1 -1
  42. package/dist/render-media.js +2 -2
  43. package/dist/render-still.js +2 -2
  44. package/dist/select-composition.js +1 -1
  45. package/package.json +14 -14
  46. package/types/ws/index.d.ts +76 -64
  47. package/dist/options/image-format-option.js +0 -33
  48. package/dist/options/private-license-key.js +0 -35
@@ -1776,6 +1776,14 @@ class ExecutionContext {
1776
1776
  }
1777
1777
  }
1778
1778
 
1779
+ // src/browser/flaky-errors.ts
1780
+ var isTargetClosedErr = (error) => {
1781
+ return error?.message?.includes("Target closed") || error?.message?.includes("Session closed");
1782
+ };
1783
+ var isFlakyNetworkError = (error) => {
1784
+ return error?.message?.includes("ERR_CONNECTION_REFUSED") || error?.message?.includes("ERR_CONNECTION_RESET") || error?.message?.includes("ERR_CONNECTION_TIMED_OUT") || error?.message?.includes("ERR_INTERNET_DISCONNECTED") || error?.message?.includes("ERR_NAME_RESOLUTION_FAILED") || error?.message?.includes("ERR_ADDRESS_UNREACHABLE") || error?.message?.includes("ERR_NETWORK_CHANGED");
1785
+ };
1786
+
1779
1787
  // src/browser/handle-failed-resource.ts
1780
1788
  var handleFailedResource = ({
1781
1789
  extraInfo,
@@ -2243,14 +2251,6 @@ class LifecycleWatcher {
2243
2251
  }
2244
2252
  }
2245
2253
 
2246
- // src/browser/flaky-errors.ts
2247
- var isTargetClosedErr = (error) => {
2248
- return error?.message?.includes("Target closed") || error?.message?.includes("Session closed");
2249
- };
2250
- var isFlakyNetworkError = (error) => {
2251
- return error?.message?.includes("ERR_CONNECTION_REFUSED") || error?.message?.includes("ERR_CONNECTION_RESET") || error?.message?.includes("ERR_CONNECTION_TIMED_OUT") || error?.message?.includes("ERR_INTERNET_DISCONNECTED") || error?.message?.includes("ERR_NAME_RESOLUTION_FAILED") || error?.message?.includes("ERR_ADDRESS_UNREACHABLE") || error?.message?.includes("ERR_NETWORK_CHANGED");
2252
- };
2253
-
2254
2254
  // src/browser/FrameManager.ts
2255
2255
  var UTILITY_WORLD_NAME = "__puppeteer_utility_world__";
2256
2256
  var FrameManagerEmittedEvents = {
@@ -3858,9 +3858,9 @@ class BrowserContext extends EventEmitter {
3858
3858
  }
3859
3859
 
3860
3860
  // src/call-ffmpeg.ts
3861
- import execa from "execa";
3862
3861
  import { spawn as spawn2 } from "node:child_process";
3863
3862
  import path5 from "path";
3863
+ import execa from "execa";
3864
3864
 
3865
3865
  // src/compositor/get-executable-path.ts
3866
3866
  import path4 from "path";
@@ -4765,8 +4765,8 @@ import fs8 from "fs";
4765
4765
  import * as fs7 from "node:fs";
4766
4766
  import * as os3 from "node:os";
4767
4767
  import * as path8 from "node:path";
4768
- import extractZip from "extract-zip";
4769
4768
  import { promisify } from "node:util";
4769
+ import extractZip from "extract-zip";
4770
4770
 
4771
4771
  // src/browser/get-chrome-download-url.ts
4772
4772
  import * as fs5 from "node:fs";
@@ -14857,9 +14857,9 @@ import { VERSION as VERSION2 } from "remotion/version";
14857
14857
  import { URLSearchParams } from "node:url";
14858
14858
 
14859
14859
  // src/compositor/compositor.ts
14860
- import { makeStreamer } from "@remotion/streaming";
14861
14860
  import { spawn as spawn3 } from "node:child_process";
14862
14861
  import path12 from "node:path";
14862
+ import { makeStreamer } from "@remotion/streaming";
14863
14863
 
14864
14864
  // src/compositor/make-nonce.ts
14865
14865
  var makeNonce = () => {
@@ -19569,10 +19569,10 @@ var renderFrames = (options) => {
19569
19569
  };
19570
19570
 
19571
19571
  // src/render-media.ts
19572
- import { LicensingInternals } from "@remotion/licensing";
19573
19572
  import fs17 from "node:fs";
19574
19573
  import os7 from "node:os";
19575
19574
  import path26 from "node:path";
19575
+ import { LicensingInternals } from "@remotion/licensing";
19576
19576
  import { NoReactInternals as NoReactInternals15 } from "remotion/no-react";
19577
19577
 
19578
19578
  // src/crf.ts
@@ -22290,9 +22290,9 @@ var renderMedia = ({
22290
22290
  };
22291
22291
 
22292
22292
  // src/render-still.ts
22293
- import { LicensingInternals as LicensingInternals2 } from "@remotion/licensing";
22294
22293
  import fs18, { statSync as statSync2 } from "node:fs";
22295
22294
  import path27 from "node:path";
22295
+ import { LicensingInternals as LicensingInternals2 } from "@remotion/licensing";
22296
22296
  import { NoReactInternals as NoReactInternals16 } from "remotion/no-react";
22297
22297
  var innerRenderStill = async ({
22298
22298
  composition,
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getCompositions = exports.internalGetCompositions = void 0;
4
4
  const no_react_1 = require("remotion/no-react");
5
- const TimeoutSettings_1 = require("./browser/TimeoutSettings");
6
5
  const browser_download_progress_bar_1 = require("./browser/browser-download-progress-bar");
6
+ const TimeoutSettings_1 = require("./browser/TimeoutSettings");
7
7
  const default_on_log_1 = require("./default-on-log");
8
8
  const handle_javascript_exception_1 = require("./error-handling/handle-javascript-exception");
9
9
  const find_closest_package_json_1 = require("./find-closest-package-json");
@@ -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
+ };
@@ -8,9 +8,9 @@ const node_fs_1 = __importDefault(require("node:fs"));
8
8
  const node_path_1 = __importDefault(require("node:path"));
9
9
  const no_react_1 = require("remotion/no-react");
10
10
  const browser_1 = require("./browser");
11
- const TimeoutSettings_1 = require("./browser/TimeoutSettings");
12
11
  const browser_download_progress_bar_1 = require("./browser/browser-download-progress-bar");
13
12
  const flaky_errors_1 = require("./browser/flaky-errors");
13
+ const TimeoutSettings_1 = require("./browser/TimeoutSettings");
14
14
  const can_use_parallel_encoding_1 = require("./can-use-parallel-encoding");
15
15
  const cycle_browser_tabs_1 = require("./cycle-browser-tabs");
16
16
  const default_on_log_1 = require("./default-on-log");