@remotion/cli 4.0.176 → 4.0.177
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/render-flows/render.js +6 -2
- package/package.json +13 -13
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.renderVideoFlow = void 0;
|
|
30
30
|
const renderer_1 = require("@remotion/renderer");
|
|
31
31
|
const client_1 = require("@remotion/renderer/client");
|
|
32
|
+
const studio_shared_1 = require("@remotion/studio-shared");
|
|
32
33
|
const node_fs_1 = __importStar(require("node:fs"));
|
|
33
34
|
const node_os_1 = __importDefault(require("node:os"));
|
|
34
35
|
const node_path_1 = __importDefault(require("node:path"));
|
|
@@ -417,10 +418,13 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
417
418
|
if (!updatesDontOverwrite) {
|
|
418
419
|
updateRenderProgress({ newline: true, printToConsole: true });
|
|
419
420
|
}
|
|
420
|
-
log_1.Log.info({ indent, logLevel }, chalk_1.chalk.blue(`${(exists ? '○' : '+').padEnd(progress_bar_1.LABEL_WIDTH)} ${(0, make_link_1.makeHyperlink)({ url: `file://${absoluteOutputFile}`, text: relativeOutputLocation, fallback: relativeOutputLocation })}`));
|
|
421
421
|
if (absoluteSeparateAudioTo) {
|
|
422
|
-
|
|
422
|
+
const relativeAudio = node_path_1.default.relative(process.cwd(), absoluteSeparateAudioTo);
|
|
423
|
+
const audioSize = node_fs_1.default.statSync(absoluteSeparateAudioTo).size;
|
|
424
|
+
log_1.Log.info({ indent, logLevel }, chalk_1.chalk.blue(`${(audioExists ? '○' : '+').padEnd(progress_bar_1.LABEL_WIDTH, ' ')} ${(0, make_link_1.makeHyperlink)({ url: `file://${absoluteSeparateAudioTo}`, text: relativeAudio, fallback: absoluteSeparateAudioTo })}`), chalk_1.chalk.gray(`${(0, studio_shared_1.formatBytes)(audioSize)}`));
|
|
423
425
|
}
|
|
426
|
+
const { size } = node_fs_1.default.statSync(absoluteOutputFile);
|
|
427
|
+
log_1.Log.info({ indent, logLevel }, chalk_1.chalk.blue(`${(exists ? '○' : '+').padEnd(progress_bar_1.LABEL_WIDTH)} ${(0, make_link_1.makeHyperlink)({ url: `file://${absoluteOutputFile}`, text: relativeOutputLocation, fallback: relativeOutputLocation })}`), chalk_1.chalk.gray(`${(0, studio_shared_1.formatBytes)(size)}`));
|
|
424
428
|
log_1.Log.verbose({ indent, logLevel }, `Slowest frames:`);
|
|
425
429
|
slowestFrames.forEach(({ frame, time }) => {
|
|
426
430
|
log_1.Log.verbose({ indent, logLevel }, ` Frame ${frame} (${time.toFixed(3)}ms)`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.177",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"dotenv": "9.0.2",
|
|
33
33
|
"minimist": "1.2.6",
|
|
34
34
|
"prompts": "2.4.2",
|
|
35
|
-
"@remotion/bundler": "4.0.
|
|
36
|
-
"@remotion/media-utils": "4.0.
|
|
37
|
-
"@remotion/player": "4.0.
|
|
38
|
-
"@remotion/
|
|
39
|
-
"@remotion/studio-shared": "4.0.
|
|
40
|
-
"@remotion/
|
|
41
|
-
"@remotion/studio": "4.0.
|
|
42
|
-
"remotion": "4.0.
|
|
35
|
+
"@remotion/bundler": "4.0.177",
|
|
36
|
+
"@remotion/media-utils": "4.0.177",
|
|
37
|
+
"@remotion/player": "4.0.177",
|
|
38
|
+
"@remotion/renderer": "4.0.177",
|
|
39
|
+
"@remotion/studio-shared": "4.0.177",
|
|
40
|
+
"@remotion/studio-server": "4.0.177",
|
|
41
|
+
"@remotion/studio": "4.0.177",
|
|
42
|
+
"remotion": "4.0.177"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"react-dom": "18.3.1",
|
|
64
64
|
"vitest": "0.31.1",
|
|
65
65
|
"zod": "3.22.3",
|
|
66
|
-
"@remotion/zod-types": "4.0.
|
|
67
|
-
"@remotion/
|
|
68
|
-
"@remotion/
|
|
69
|
-
"@remotion/
|
|
66
|
+
"@remotion/zod-types": "4.0.177",
|
|
67
|
+
"@remotion/enable-scss": "4.0.177",
|
|
68
|
+
"@remotion/tailwind": "4.0.177",
|
|
69
|
+
"@remotion/skia": "4.0.177"
|
|
70
70
|
},
|
|
71
71
|
"keywords": [
|
|
72
72
|
"remotion",
|