@remotion/renderer 4.0.525 → 4.0.527
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/esm/index.mjs
CHANGED
|
@@ -7265,6 +7265,7 @@ var internalOpenBrowser = async ({
|
|
|
7265
7265
|
"--proxy-server='direct://'",
|
|
7266
7266
|
"--proxy-bypass-list=*",
|
|
7267
7267
|
"--force-gpu-mem-available-mb=4096",
|
|
7268
|
+
process.env.__RESERVED_IS_INSIDE_REMOTION_LAMBDA === "true" ? "--disable-gpu-rasterization" : null,
|
|
7268
7269
|
"--disable-hang-monitor",
|
|
7269
7270
|
"--disable-extensions",
|
|
7270
7271
|
"--allow-chrome-scheme-url",
|
|
@@ -22023,7 +22024,10 @@ var generateFfmpegArgs = ({
|
|
|
22023
22024
|
["-color_primaries:v", "bt709"],
|
|
22024
22025
|
["-color_trc:v", "bt709"],
|
|
22025
22026
|
["-color_range", "tv"],
|
|
22026
|
-
hasPreencoded ? [] : [
|
|
22027
|
+
hasPreencoded ? [] : [
|
|
22028
|
+
"-vf",
|
|
22029
|
+
"zscale=matrix=709:range=limited:primariesin=709:primaries=709:transferin=709:transfer=709"
|
|
22030
|
+
]
|
|
22027
22031
|
] : resolvedColorSpace === "bt2020-ncl" ? [
|
|
22028
22032
|
["-colorspace:v", "bt2020nc"],
|
|
22029
22033
|
["-color_primaries:v", "bt2020"],
|
package/dist/ffmpeg-args.js
CHANGED
|
@@ -64,7 +64,10 @@ const generateFfmpegArgs = ({ hasPreencoded, proResProfileName, pixelFormat, x26
|
|
|
64
64
|
? []
|
|
65
65
|
: // https://www.canva.dev/blog/engineering/a-journey-through-colour-space-with-ffmpeg/
|
|
66
66
|
// "Color range" section
|
|
67
|
-
[
|
|
67
|
+
[
|
|
68
|
+
'-vf',
|
|
69
|
+
'zscale=matrix=709:range=limited:primariesin=709:primaries=709:transferin=709:transfer=709',
|
|
70
|
+
],
|
|
68
71
|
]
|
|
69
72
|
: resolvedColorSpace === 'bt2020-ncl'
|
|
70
73
|
? [
|
package/dist/open-browser.js
CHANGED
|
@@ -118,6 +118,10 @@ const internalOpenBrowser = async ({ browser, browserExecutable, chromiumOptions
|
|
|
118
118
|
"--proxy-server='direct://'",
|
|
119
119
|
'--proxy-bypass-list=*',
|
|
120
120
|
'--force-gpu-mem-available-mb=4096',
|
|
121
|
+
// Prevent duplicated horizontal strips in Lambda renders: https://github.com/remotion-dev/remotion/issues/11428
|
|
122
|
+
process.env.__RESERVED_IS_INSIDE_REMOTION_LAMBDA === 'true'
|
|
123
|
+
? '--disable-gpu-rasterization'
|
|
124
|
+
: null,
|
|
121
125
|
'--disable-hang-monitor',
|
|
122
126
|
'--disable-extensions',
|
|
123
127
|
'--allow-chrome-scheme-url',
|
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.
|
|
6
|
+
"version": "4.0.527",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"execa": "5.1.1",
|
|
25
|
-
"remotion": "4.0.
|
|
26
|
-
"@remotion/streaming": "4.0.
|
|
25
|
+
"remotion": "4.0.527",
|
|
26
|
+
"@remotion/streaming": "4.0.527",
|
|
27
27
|
"source-map": "0.8.0",
|
|
28
28
|
"ws": "8.21.0",
|
|
29
|
-
"@remotion/licensing": "4.0.
|
|
29
|
+
"@remotion/licensing": "4.0.527"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=16.8.0",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"react-dom": "19.2.3",
|
|
41
41
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
42
42
|
"@types/ws": "8.5.10",
|
|
43
|
-
"@remotion/example-videos": "4.0.
|
|
44
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
43
|
+
"@remotion/example-videos": "4.0.527",
|
|
44
|
+
"@remotion/eslint-config-internal": "4.0.527",
|
|
45
45
|
"eslint": "9.19.0",
|
|
46
46
|
"@types/node": "20.12.14"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
50
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
51
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
52
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.
|
|
53
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
54
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
55
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
49
|
+
"@remotion/compositor-darwin-arm64": "4.0.527",
|
|
50
|
+
"@remotion/compositor-darwin-x64": "4.0.527",
|
|
51
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.527",
|
|
52
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.527",
|
|
53
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.527",
|
|
54
|
+
"@remotion/compositor-linux-x64-musl": "4.0.527",
|
|
55
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.527"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"remotion",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const experimentalClientSideRenderingOption: {
|
|
2
|
-
name: string;
|
|
3
|
-
cliFlag: "enable-experimental-client-side-rendering";
|
|
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: "enable-experimental-client-side-rendering";
|
|
16
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.experimentalClientSideRenderingOption = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
let experimentalClientSideRenderingEnabled = false;
|
|
6
|
-
const cliFlag = 'enable-experimental-client-side-rendering';
|
|
7
|
-
exports.experimentalClientSideRenderingOption = {
|
|
8
|
-
name: 'Enable Experimental Client-Side Rendering',
|
|
9
|
-
cliFlag,
|
|
10
|
-
description: () => (jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: "Enable WIP client-side rendering in the Remotion Studio. See https://www.remotion.dev/docs/client-side-rendering/ for notes." })),
|
|
11
|
-
ssrName: null,
|
|
12
|
-
docLink: 'https://www.remotion.dev/docs/client-side-rendering',
|
|
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: experimentalClientSideRenderingEnabled,
|
|
23
|
-
source: 'config',
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
setConfig(value) {
|
|
27
|
-
experimentalClientSideRenderingEnabled = value;
|
|
28
|
-
},
|
|
29
|
-
id: cliFlag,
|
|
30
|
-
};
|