@remotion/cli 4.0.267 → 4.0.269
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/get-filename.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { LogLevel } from '@remotion/renderer';
|
|
2
|
-
export declare const getOutputFilename: ({ imageSequence, compositionName, defaultExtension, args, fromUi, indent, logLevel, }: {
|
|
2
|
+
export declare const getOutputFilename: ({ imageSequence, compositionName, compositionDefaultOutName, defaultExtension, args, fromUi, indent, logLevel, }: {
|
|
3
3
|
imageSequence: boolean;
|
|
4
4
|
compositionName: string;
|
|
5
|
+
compositionDefaultOutName: string | null;
|
|
5
6
|
defaultExtension: string;
|
|
6
7
|
args: (string | number)[];
|
|
7
8
|
fromUi: string | null;
|
package/dist/get-filename.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.getOutputFilename = void 0;
|
|
|
4
4
|
const renderer_1 = require("@remotion/renderer");
|
|
5
5
|
const log_1 = require("./log");
|
|
6
6
|
const user_passed_output_location_1 = require("./user-passed-output-location");
|
|
7
|
-
const getOutputFilename = ({ imageSequence, compositionName, defaultExtension, args, fromUi, indent, logLevel, }) => {
|
|
7
|
+
const getOutputFilename = ({ imageSequence, compositionName, compositionDefaultOutName, defaultExtension, args, fromUi, indent, logLevel, }) => {
|
|
8
8
|
if (fromUi) {
|
|
9
9
|
return fromUi;
|
|
10
10
|
}
|
|
@@ -14,6 +14,7 @@ const getOutputFilename = ({ imageSequence, compositionName, defaultExtension, a
|
|
|
14
14
|
args,
|
|
15
15
|
type: imageSequence ? 'sequence' : 'asset',
|
|
16
16
|
outputLocationFromUi: null,
|
|
17
|
+
compositionDefaultOutName,
|
|
17
18
|
});
|
|
18
19
|
const extension = renderer_1.RenderInternals.getExtensionOfFilename(String(filename));
|
|
19
20
|
if (imageSequence) {
|
|
@@ -222,6 +222,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
222
222
|
const relativeOutputLocation = (0, get_filename_1.getOutputFilename)({
|
|
223
223
|
imageSequence: shouldOutputImageSequence,
|
|
224
224
|
compositionName: compositionId,
|
|
225
|
+
compositionDefaultOutName: config.defaultOutName,
|
|
225
226
|
defaultExtension: renderer_1.RenderInternals.getFileExtensionFromCodec(codec, audioCodec),
|
|
226
227
|
args: argsAfterComposition,
|
|
227
228
|
indent,
|
|
@@ -151,6 +151,7 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
151
151
|
args: argsAfterComposition,
|
|
152
152
|
type: 'asset',
|
|
153
153
|
outputLocationFromUi,
|
|
154
|
+
compositionDefaultOutName: config.defaultOutName,
|
|
154
155
|
});
|
|
155
156
|
const absoluteOutputLocation = (0, get_cli_options_1.getAndValidateAbsoluteOutputFile)(relativeOutputLocation, overwrite, logLevel);
|
|
156
157
|
const exists = (0, node_fs_1.existsSync)(absoluteOutputLocation);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare const getUserPassedOutputLocation: (args: (string | number)[], uiPassedOutName: string | null) => string | null;
|
|
2
|
-
export declare const getOutputLocation: ({ compositionId, defaultExtension, args, type, outputLocationFromUi, }: {
|
|
2
|
+
export declare const getOutputLocation: ({ compositionId, defaultExtension, args, type, outputLocationFromUi, compositionDefaultOutName, }: {
|
|
3
3
|
compositionId: string;
|
|
4
4
|
outputLocationFromUi: string | null;
|
|
5
|
+
compositionDefaultOutName: string | null;
|
|
5
6
|
defaultExtension: string;
|
|
6
7
|
args: (string | number)[];
|
|
7
8
|
type: "asset" | "sequence";
|
|
@@ -10,7 +10,7 @@ const getUserPassedOutputLocation = (args, uiPassedOutName) => {
|
|
|
10
10
|
return filename ? String(filename) : null;
|
|
11
11
|
};
|
|
12
12
|
exports.getUserPassedOutputLocation = getUserPassedOutputLocation;
|
|
13
|
-
const getOutputLocation = ({ compositionId, defaultExtension, args, type, outputLocationFromUi, }) => {
|
|
13
|
+
const getOutputLocation = ({ compositionId, defaultExtension, args, type, outputLocationFromUi, compositionDefaultOutName, }) => {
|
|
14
14
|
var _a;
|
|
15
15
|
if (typeof args[0] !== 'undefined' &&
|
|
16
16
|
typeof parsed_cli_1.parsedCli.output !== 'undefined') {
|
|
@@ -20,6 +20,7 @@ const getOutputLocation = ({ compositionId, defaultExtension, args, type, output
|
|
|
20
20
|
compositionName: compositionId,
|
|
21
21
|
defaultExtension,
|
|
22
22
|
type,
|
|
23
|
+
compositionDefaultOutName,
|
|
23
24
|
}));
|
|
24
25
|
};
|
|
25
26
|
exports.getOutputLocation = getOutputLocation;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/cli"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/cli",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.269",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"dotenv": "9.0.2",
|
|
34
34
|
"minimist": "1.2.6",
|
|
35
35
|
"prompts": "2.4.2",
|
|
36
|
-
"@remotion/bundler": "4.0.
|
|
37
|
-
"@remotion/media-utils": "4.0.
|
|
38
|
-
"@remotion/player": "4.0.
|
|
39
|
-
"@remotion/studio-
|
|
40
|
-
"
|
|
41
|
-
"@remotion/
|
|
42
|
-
"remotion": "4.0.
|
|
43
|
-
"@remotion/studio": "4.0.
|
|
36
|
+
"@remotion/bundler": "4.0.269",
|
|
37
|
+
"@remotion/media-utils": "4.0.269",
|
|
38
|
+
"@remotion/player": "4.0.269",
|
|
39
|
+
"@remotion/studio-server": "4.0.269",
|
|
40
|
+
"remotion": "4.0.269",
|
|
41
|
+
"@remotion/renderer": "4.0.269",
|
|
42
|
+
"@remotion/studio": "4.0.269",
|
|
43
|
+
"@remotion/studio-shared": "4.0.269"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"react-dom": "19.0.0",
|
|
55
55
|
"zod": "3.22.3",
|
|
56
56
|
"eslint": "9.19.0",
|
|
57
|
-
"@remotion/zod-types": "4.0.
|
|
58
|
-
"@remotion/tailwind-v4": "4.0.
|
|
59
|
-
"@remotion/enable-scss": "4.0.
|
|
60
|
-
"@remotion/skia": "4.0.
|
|
61
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
57
|
+
"@remotion/zod-types": "4.0.269",
|
|
58
|
+
"@remotion/tailwind-v4": "4.0.269",
|
|
59
|
+
"@remotion/enable-scss": "4.0.269",
|
|
60
|
+
"@remotion/skia": "4.0.269",
|
|
61
|
+
"@remotion/eslint-config-internal": "4.0.269"
|
|
62
62
|
},
|
|
63
63
|
"keywords": [
|
|
64
64
|
"remotion",
|