@remotion/renderer 4.0.280 → 4.0.284
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.
|
@@ -98,6 +98,7 @@ const makeBrowserRunner = async ({ executablePath, processArguments, userDataDir
|
|
|
98
98
|
// on linux the process group can be killed with the group id prefixed with
|
|
99
99
|
// a minus sign. The process group id is the group leader's pid.
|
|
100
100
|
const processGroupId = -proc.pid;
|
|
101
|
+
logger_1.Log.verbose({ indent, logLevel }, `Trying to kill browser process group ${processGroupId}`);
|
|
101
102
|
try {
|
|
102
103
|
process.kill(processGroupId, 'SIGKILL');
|
|
103
104
|
}
|
|
@@ -123,6 +124,7 @@ const makeBrowserRunner = async ({ executablePath, processArguments, userDataDir
|
|
|
123
124
|
if (closed) {
|
|
124
125
|
return Promise.resolve();
|
|
125
126
|
}
|
|
127
|
+
logger_1.Log.verbose({ indent, logLevel }, 'Received SIGTERM signal. Killing browser process');
|
|
126
128
|
killProcess();
|
|
127
129
|
(0, delete_directory_1.deleteDirectory)(userDataDir);
|
|
128
130
|
// Cleanup this listener last, as that makes sure the full callback runs. If we
|
package/dist/esm/client.mjs
CHANGED
|
@@ -1745,7 +1745,7 @@ var mutedOption = {
|
|
|
1745
1745
|
children: "The Audio of the video will be omitted."
|
|
1746
1746
|
}),
|
|
1747
1747
|
ssrName: "muted",
|
|
1748
|
-
docLink: "https://www.remotion.dev/docs/
|
|
1748
|
+
docLink: "https://www.remotion.dev/docs/audio/muting",
|
|
1749
1749
|
type: false,
|
|
1750
1750
|
getValue: ({ commandLine }) => {
|
|
1751
1751
|
if (commandLine[cliFlag25] !== null) {
|
|
@@ -2382,7 +2382,7 @@ var videoBitrateOption = {
|
|
|
2382
2382
|
]
|
|
2383
2383
|
}),
|
|
2384
2384
|
ssrName: "videoBitrate",
|
|
2385
|
-
docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate
|
|
2385
|
+
docLink: "https://www.remotion.dev/docs/renderer/render-media#videobitrate",
|
|
2386
2386
|
type: "",
|
|
2387
2387
|
getValue: ({ commandLine }) => {
|
|
2388
2388
|
if (commandLine[cliFlag38] !== undefined) {
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3243,6 +3243,7 @@ var makeBrowserRunner = async ({
|
|
|
3243
3243
|
});
|
|
3244
3244
|
} else {
|
|
3245
3245
|
const processGroupId = -proc.pid;
|
|
3246
|
+
Log.verbose({ indent, logLevel }, `Trying to kill browser process group ${processGroupId}`);
|
|
3246
3247
|
try {
|
|
3247
3248
|
process.kill(processGroupId, "SIGKILL");
|
|
3248
3249
|
} catch (error) {
|
|
@@ -3262,6 +3263,7 @@ Error cause: ${isErrorLike(error) ? error.stack : error}`);
|
|
|
3262
3263
|
if (closed) {
|
|
3263
3264
|
return Promise.resolve();
|
|
3264
3265
|
}
|
|
3266
|
+
Log.verbose({ indent, logLevel }, "Received SIGTERM signal. Killing browser process");
|
|
3265
3267
|
killProcess();
|
|
3266
3268
|
deleteDirectory(userDataDir);
|
|
3267
3269
|
removeEventListeners(listeners);
|
|
@@ -22028,7 +22030,7 @@ var selectComposition = async (options) => {
|
|
|
22028
22030
|
offthreadVideoThreads
|
|
22029
22031
|
} = options;
|
|
22030
22032
|
const indent = false;
|
|
22031
|
-
const logLevel = passedLogLevel ?? verbose ? "verbose" : "info";
|
|
22033
|
+
const logLevel = passedLogLevel ?? (verbose ? "verbose" : "info");
|
|
22032
22034
|
const data = await internalSelectComposition({
|
|
22033
22035
|
id,
|
|
22034
22036
|
serveUrl,
|
package/dist/options/mute.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.mutedOption = {
|
|
|
10
10
|
cliFlag,
|
|
11
11
|
description: () => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: "The Audio of the video will be omitted." }),
|
|
12
12
|
ssrName: 'muted',
|
|
13
|
-
docLink: 'https://www.remotion.dev/docs/
|
|
13
|
+
docLink: 'https://www.remotion.dev/docs/audio/muting',
|
|
14
14
|
type: false,
|
|
15
15
|
getValue: ({ commandLine }) => {
|
|
16
16
|
// we set in minimist `muted` default as null
|
|
@@ -9,7 +9,7 @@ exports.videoBitrateOption = {
|
|
|
9
9
|
cliFlag,
|
|
10
10
|
description: () => ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: ["Specify the target bitrate for the generated video. The syntax for FFmpeg", "'", "s", (0, jsx_runtime_1.jsx)("code", { children: "-b:v" }), " parameter should be used. FFmpeg may encode the video in a way that will not result in the exact video bitrate specified. Example values: ", (0, jsx_runtime_1.jsx)("code", { children: "512K" }), " for 512 kbps, ", (0, jsx_runtime_1.jsx)("code", { children: "1M" }), " for 1 Mbps."] })),
|
|
11
11
|
ssrName: 'videoBitrate',
|
|
12
|
-
docLink: 'https://www.remotion.dev/docs/renderer/render-media#videobitrate
|
|
12
|
+
docLink: 'https://www.remotion.dev/docs/renderer/render-media#videobitrate',
|
|
13
13
|
type: '',
|
|
14
14
|
getValue: ({ commandLine }) => {
|
|
15
15
|
if (commandLine[cliFlag] !== undefined) {
|
|
@@ -174,7 +174,7 @@ exports.internalSelectComposition = (0, wrap_with_error_handling_1.wrapWithError
|
|
|
174
174
|
const selectComposition = async (options) => {
|
|
175
175
|
const { id, serveUrl, browserExecutable, chromiumOptions, envVariables, inputProps, onBrowserLog, port, puppeteerInstance, timeoutInMilliseconds, verbose, logLevel: passedLogLevel, offthreadVideoCacheSizeInBytes, binariesDirectory, onBrowserDownload, chromeMode, offthreadVideoThreads, } = options;
|
|
176
176
|
const indent = false;
|
|
177
|
-
const logLevel =
|
|
177
|
+
const logLevel = passedLogLevel !== null && passedLogLevel !== void 0 ? passedLogLevel : (verbose ? 'verbose' : 'info');
|
|
178
178
|
const data = await (0, exports.internalSelectComposition)({
|
|
179
179
|
id,
|
|
180
180
|
serveUrl,
|
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.284",
|
|
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.
|
|
22
|
-
"@remotion/streaming": "4.0.
|
|
21
|
+
"remotion": "4.0.284",
|
|
22
|
+
"@remotion/streaming": "4.0.284"
|
|
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/
|
|
37
|
-
"@remotion/
|
|
36
|
+
"@remotion/eslint-config-internal": "4.0.284",
|
|
37
|
+
"@remotion/example-videos": "4.0.284"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@remotion/compositor-darwin-
|
|
41
|
-
"@remotion/compositor-
|
|
42
|
-
"@remotion/compositor-linux-arm64-
|
|
43
|
-
"@remotion/compositor-linux-
|
|
44
|
-
"@remotion/compositor-linux-x64-
|
|
45
|
-
"@remotion/compositor-
|
|
46
|
-
"@remotion/compositor-
|
|
40
|
+
"@remotion/compositor-darwin-x64": "4.0.284",
|
|
41
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.284",
|
|
42
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.284",
|
|
43
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.284",
|
|
44
|
+
"@remotion/compositor-linux-x64-musl": "4.0.284",
|
|
45
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.284",
|
|
46
|
+
"@remotion/compositor-darwin-arm64": "4.0.284"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [
|
|
49
49
|
"remotion",
|