@remotion/renderer 4.0.313 → 4.0.315

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.
@@ -4712,8 +4712,8 @@ var getDownloadsCacheDir = () => {
4712
4712
  };
4713
4713
 
4714
4714
  // src/browser/BrowserFetcher.ts
4715
- var TESTED_VERSION = "133.0.6943.0";
4716
- var PLAYWRIGHT_VERSION = "1155";
4715
+ var TESTED_VERSION = "134.0.6998.35";
4716
+ var PLAYWRIGHT_VERSION = "1161";
4717
4717
  function getChromeDownloadUrl({
4718
4718
  platform: platform2,
4719
4719
  version,
@@ -14772,7 +14772,7 @@ ${parsed.backtrace}`));
14772
14772
  return;
14773
14773
  }
14774
14774
  if (runningStatus.type === "quit-with-error") {
14775
- _reject(new Error(`Compositor quit${runningStatus.signal ? ` with signal ${runningStatus.signal}` : ""}: ${runningStatus.error}`));
14775
+ _reject(new Error(`Compositor quit${runningStatus.signal ? ` with signal ${runningStatus.signal}` : ""}: ${runningStatus.error.trim()}`));
14776
14776
  return;
14777
14777
  }
14778
14778
  const nonce = makeNonce();
@@ -16322,7 +16322,7 @@ var setPropsAndEnv = async (params) => {
16322
16322
  new Promise((_, reject) => {
16323
16323
  timeout = setTimeout(() => {
16324
16324
  reject(new Error([
16325
- `Timed out after ${params.timeoutInMilliseconds} while setting up the headless browser.`,
16325
+ `Timed out after ${params.timeoutInMilliseconds}ms while setting up the headless browser.`,
16326
16326
  "This could be because the you specified takes a long time to load (or network resources that it includes like fonts) or because the browser is not responding.",
16327
16327
  process.platform === "linux" ? "Make sure you have installed the Linux depdendencies: https://www.remotion.dev/docs/miscellaneous/linux-dependencies" : null
16328
16328
  ].filter(truthy).join(`
@@ -0,0 +1,15 @@
1
+ export declare const disallowParallelEncodingOption: {
2
+ name: string;
3
+ cliFlag: "disallow-parallel-encoding";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: string;
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
+ };
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.disallowParallelEncodingOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let disallowParallelEncoding = false;
6
+ const cliFlag = 'disallow-parallel-encoding';
7
+ exports.disallowParallelEncodingOption = {
8
+ name: 'Disallow parallel encoding',
9
+ cliFlag,
10
+ description: () => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "Disallows the renderer from doing rendering frames and encoding at the same time. This makes the rendering process more memory-efficient, but possibly slower." })),
11
+ ssrName: 'disallowParallelEncoding',
12
+ docLink: 'https://www.remotion.dev/docs/config#setdisallowparallelencoding',
13
+ type: false,
14
+ getValue: ({ commandLine }) => {
15
+ if (commandLine[cliFlag] !== undefined) {
16
+ return {
17
+ value: commandLine[cliFlag],
18
+ source: 'cli',
19
+ };
20
+ }
21
+ if (disallowParallelEncoding !== false) {
22
+ return {
23
+ value: disallowParallelEncoding,
24
+ source: 'config',
25
+ };
26
+ }
27
+ return {
28
+ value: false,
29
+ source: 'default',
30
+ };
31
+ },
32
+ setConfig(value) {
33
+ disallowParallelEncoding = value;
34
+ },
35
+ };
@@ -229,6 +229,21 @@ export declare const allOptions: {
229
229
  };
230
230
  setConfig: (value: import("./delete-after").DeleteAfter | null) => void;
231
231
  };
232
+ disallowParallelEncodingOption: {
233
+ name: string;
234
+ cliFlag: "disallow-parallel-encoding";
235
+ description: () => import("react/jsx-runtime").JSX.Element;
236
+ ssrName: string;
237
+ docLink: string;
238
+ type: boolean;
239
+ getValue: ({ commandLine }: {
240
+ commandLine: Record<string, unknown>;
241
+ }) => {
242
+ value: boolean;
243
+ source: string;
244
+ };
245
+ setConfig(value: boolean): void;
246
+ };
232
247
  folderExpiryOption: {
233
248
  name: string;
234
249
  cliFlag: "enable-folder-expiry";
@@ -12,6 +12,7 @@ const crf_1 = require("./crf");
12
12
  const cross_site_isolation_1 = require("./cross-site-isolation");
13
13
  const delete_after_1 = require("./delete-after");
14
14
  const disable_git_source_1 = require("./disable-git-source");
15
+ const disallow_parallel_encoding_1 = require("./disallow-parallel-encoding");
15
16
  const enable_lambda_insights_1 = require("./enable-lambda-insights");
16
17
  const enable_multiprocess_on_linux_1 = require("./enable-multiprocess-on-linux");
17
18
  const encoding_buffer_size_1 = require("./encoding-buffer-size");
@@ -60,6 +61,7 @@ exports.allOptions = {
60
61
  webhookCustomDataOption: webhook_custom_data_1.webhookCustomDataOption,
61
62
  colorSpaceOption: color_space_1.colorSpaceOption,
62
63
  deleteAfterOption: delete_after_1.deleteAfterOption,
64
+ disallowParallelEncodingOption: disallow_parallel_encoding_1.disallowParallelEncodingOption,
63
65
  folderExpiryOption: folder_expiry_1.folderExpiryOption,
64
66
  enableMultiprocessOnLinuxOption: enable_multiprocess_on_linux_1.enableMultiprocessOnLinuxOption,
65
67
  glOption: gl_1.glOption,
@@ -156,6 +156,21 @@ export declare const optionsMap: {
156
156
  };
157
157
  setConfig: (newCodec: import("..").CodecOrUndefined) => void;
158
158
  };
159
+ readonly disallowParallelEncoding: {
160
+ name: string;
161
+ cliFlag: "disallow-parallel-encoding";
162
+ description: () => import("react/jsx-runtime").JSX.Element;
163
+ ssrName: string;
164
+ docLink: string;
165
+ type: boolean;
166
+ getValue: ({ commandLine }: {
167
+ commandLine: Record<string, unknown>;
168
+ }) => {
169
+ value: boolean;
170
+ source: string;
171
+ };
172
+ setConfig(value: boolean): void;
173
+ };
159
174
  readonly jpegQuality: {
160
175
  name: string;
161
176
  cliFlag: "jpeg-quality";
@@ -9,6 +9,7 @@ const chrome_mode_1 = require("./chrome-mode");
9
9
  const color_space_1 = require("./color-space");
10
10
  const crf_1 = require("./crf");
11
11
  const delete_after_1 = require("./delete-after");
12
+ const disallow_parallel_encoding_1 = require("./disallow-parallel-encoding");
12
13
  const encoding_buffer_size_1 = require("./encoding-buffer-size");
13
14
  const encoding_max_rate_1 = require("./encoding-max-rate");
14
15
  const enforce_audio_1 = require("./enforce-audio");
@@ -42,6 +43,7 @@ exports.optionsMap = {
42
43
  audioBitrate: audio_bitrate_1.audioBitrateOption,
43
44
  colorSpace: color_space_1.colorSpaceOption,
44
45
  codec: video_codec_1.videoCodecOption,
46
+ disallowParallelEncoding: disallow_parallel_encoding_1.disallowParallelEncodingOption,
45
47
  jpegQuality: jpeg_quality_1.jpegQualityOption,
46
48
  encodingMaxRate: encoding_max_rate_1.encodingMaxRateOption,
47
49
  encodingBufferSize: encoding_buffer_size_1.encodingBufferSizeOption,
@@ -190,7 +190,7 @@ const setPropsAndEnv = async (params) => {
190
190
  new Promise((_, reject) => {
191
191
  timeout = setTimeout(() => {
192
192
  reject(new Error([
193
- `Timed out after ${params.timeoutInMilliseconds} while setting up the headless browser.`,
193
+ `Timed out after ${params.timeoutInMilliseconds}ms while setting up the headless browser.`,
194
194
  'This could be because the you specified takes a long time to load (or network resources that it includes like fonts) or because the browser is not responding.',
195
195
  process.platform === 'linux'
196
196
  ? 'Make sure you have installed the Linux depdendencies: https://www.remotion.dev/docs/miscellaneous/linux-dependencies'
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.313",
6
+ "version": "4.0.315",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.313",
22
- "@remotion/streaming": "4.0.313"
21
+ "remotion": "4.0.315",
22
+ "@remotion/streaming": "4.0.315"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.19.0",
36
- "@remotion/example-videos": "4.0.313",
37
- "@remotion/eslint-config-internal": "4.0.313"
36
+ "@remotion/example-videos": "4.0.315",
37
+ "@remotion/eslint-config-internal": "4.0.315"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.313",
41
- "@remotion/compositor-linux-arm64-gnu": "4.0.313",
42
- "@remotion/compositor-linux-arm64-musl": "4.0.313",
43
- "@remotion/compositor-linux-x64-gnu": "4.0.313",
44
- "@remotion/compositor-linux-x64-musl": "4.0.313",
45
- "@remotion/compositor-win32-x64-msvc": "4.0.313",
46
- "@remotion/compositor-darwin-x64": "4.0.313"
40
+ "@remotion/compositor-darwin-arm64": "4.0.315",
41
+ "@remotion/compositor-darwin-x64": "4.0.315",
42
+ "@remotion/compositor-linux-arm64-musl": "4.0.315",
43
+ "@remotion/compositor-linux-x64-musl": "4.0.315",
44
+ "@remotion/compositor-linux-arm64-gnu": "4.0.315",
45
+ "@remotion/compositor-linux-x64-gnu": "4.0.315",
46
+ "@remotion/compositor-win32-x64-msvc": "4.0.315"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",