@remotion/cli 4.0.469 → 4.0.471
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/config/index.d.ts +5 -0
- package/dist/config/index.js +2 -1
- package/dist/parsed-cli.d.ts +19 -0
- package/dist/parsed-cli.js +1 -1
- package/dist/studio.js +4 -1
- package/package.json +14 -14
package/dist/config/index.d.ts
CHANGED
|
@@ -432,6 +432,11 @@ type FlatConfig = RemotionConfigObject & RemotionBundlingOptions & {
|
|
|
432
432
|
* Default: 48000
|
|
433
433
|
*/
|
|
434
434
|
setSampleRate: (sampleRate: number) => void;
|
|
435
|
+
/**
|
|
436
|
+
* Set the audio sample rate for preview playback.
|
|
437
|
+
* Default: null, which uses 48000 Hz.
|
|
438
|
+
*/
|
|
439
|
+
setPreviewSampleRate: (sampleRate: number | null) => void;
|
|
435
440
|
/**
|
|
436
441
|
* @deprecated 'The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.'
|
|
437
442
|
*/
|
package/dist/config/index.js
CHANGED
|
@@ -20,7 +20,7 @@ const preview_server_2 = require("./preview-server");
|
|
|
20
20
|
const still_frame_1 = require("./still-frame");
|
|
21
21
|
const webpack_caching_1 = require("./webpack-caching");
|
|
22
22
|
const webpack_poll_1 = require("./webpack-poll");
|
|
23
|
-
const { allowHtmlInCanvasOption, benchmarkConcurrenciesOption, concurrencyOption, offthreadVideoCacheSizeInBytesOption, x264Option, audioBitrateOption, videoBitrateOption, scaleOption, crfOption, jpegQualityOption, enforceAudioOption, overwriteOption, chromeModeOption, mutedOption, videoCodecOption, colorSpaceOption, disallowParallelEncodingOption, deleteAfterOption, folderExpiryOption, enableMultiprocessOnLinuxOption, glOption, gopSizeOption, headlessOption, numberOfGifLoopsOption, beepOnFinishOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, enableLambdaInsights, logLevelOption, delayRenderTimeoutInMillisecondsOption, publicDirOption, binariesDirectoryOption, preferLosslessOption, framesOption, forSeamlessAacConcatenationOption, audioCodecOption, publicPathOption, hardwareAccelerationOption, audioLatencyHintOption, enableCrossSiteIsolationOption, imageSequencePatternOption, darkModeOption, askAIOption, publicLicenseKeyOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, forceNewStudioOption, numberOfSharedAudioTagsOption, ipv4Option, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, stillImageFormatOption, videoImageFormatOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, rspackOption, outDirOption, webpackPollOption, imageSequenceOption, bundleCacheOption, envFileOption, runsOption, noOpenOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
23
|
+
const { allowHtmlInCanvasOption, benchmarkConcurrenciesOption, concurrencyOption, offthreadVideoCacheSizeInBytesOption, x264Option, audioBitrateOption, videoBitrateOption, scaleOption, crfOption, jpegQualityOption, enforceAudioOption, overwriteOption, chromeModeOption, mutedOption, videoCodecOption, colorSpaceOption, disallowParallelEncodingOption, deleteAfterOption, folderExpiryOption, enableMultiprocessOnLinuxOption, glOption, gopSizeOption, headlessOption, numberOfGifLoopsOption, beepOnFinishOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, enableLambdaInsights, logLevelOption, delayRenderTimeoutInMillisecondsOption, publicDirOption, binariesDirectoryOption, preferLosslessOption, framesOption, forSeamlessAacConcatenationOption, audioCodecOption, publicPathOption, hardwareAccelerationOption, audioLatencyHintOption, enableCrossSiteIsolationOption, imageSequencePatternOption, darkModeOption, askAIOption, publicLicenseKeyOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, forceNewStudioOption, numberOfSharedAudioTagsOption, ipv4Option, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, stillImageFormatOption, videoImageFormatOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, rspackOption, outDirOption, webpackPollOption, imageSequenceOption, bundleCacheOption, envFileOption, runsOption, noOpenOption, sampleRateOption, previewSampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
24
24
|
exports.Config = {
|
|
25
25
|
get Bundling() {
|
|
26
26
|
throw new Error('The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.');
|
|
@@ -130,6 +130,7 @@ exports.Config = {
|
|
|
130
130
|
setBenchmarkRuns: runsOption.setConfig,
|
|
131
131
|
setBenchmarkConcurrencies: benchmarkConcurrenciesOption.setConfig,
|
|
132
132
|
setSampleRate: sampleRateOption.setConfig,
|
|
133
|
+
setPreviewSampleRate: previewSampleRateOption.setConfig,
|
|
133
134
|
};
|
|
134
135
|
exports.ConfigInternals = {
|
|
135
136
|
getBrowser: browser_1.getBrowser,
|
package/dist/parsed-cli.d.ts
CHANGED
|
@@ -1116,6 +1116,24 @@ declare const allowHtmlInCanvasOption: {
|
|
|
1116
1116
|
};
|
|
1117
1117
|
setConfig: (value: number) => void;
|
|
1118
1118
|
id: "sample-rate";
|
|
1119
|
+
}, previewSampleRateOption: {
|
|
1120
|
+
name: string;
|
|
1121
|
+
cliFlag: "preview-sample-rate";
|
|
1122
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1123
|
+
ssrName: null;
|
|
1124
|
+
docLink: string;
|
|
1125
|
+
type: number | null;
|
|
1126
|
+
getValue: ({ commandLine }: {
|
|
1127
|
+
commandLine: Record<string, unknown>;
|
|
1128
|
+
}) => {
|
|
1129
|
+
value: number;
|
|
1130
|
+
source: string;
|
|
1131
|
+
} | {
|
|
1132
|
+
value: null;
|
|
1133
|
+
source: string;
|
|
1134
|
+
};
|
|
1135
|
+
setConfig: (value: number | null) => void;
|
|
1136
|
+
id: "preview-sample-rate";
|
|
1119
1137
|
};
|
|
1120
1138
|
export type CommandLineOptions = {
|
|
1121
1139
|
[browserExecutableOption.cliFlag]: TypeOfOption<typeof browserExecutableOption>;
|
|
@@ -1195,6 +1213,7 @@ export type CommandLineOptions = {
|
|
|
1195
1213
|
[publicLicenseKeyOption.cliFlag]: string;
|
|
1196
1214
|
[forceNewStudioOption.cliFlag]: TypeOfOption<typeof forceNewStudioOption> | null;
|
|
1197
1215
|
[sampleRateOption.cliFlag]: TypeOfOption<typeof sampleRateOption>;
|
|
1216
|
+
[previewSampleRateOption.cliFlag]: TypeOfOption<typeof previewSampleRateOption>;
|
|
1198
1217
|
[isProductionOption.cliFlag]: TypeOfOption<typeof isProductionOption> | null;
|
|
1199
1218
|
};
|
|
1200
1219
|
export declare const BooleanFlags: string[];
|
package/dist/parsed-cli.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.quietFlagProvided = exports.parsedCli = exports.BooleanFlags = void 0;
|
|
7
7
|
const client_1 = require("@remotion/renderer/client");
|
|
8
8
|
const minimist_1 = __importDefault(require("minimist"));
|
|
9
|
-
const { allowHtmlInCanvasOption, benchmarkConcurrenciesOption, beepOnFinishOption, colorSpaceOption, concurrencyOption, disallowParallelEncodingOption, offthreadVideoCacheSizeInBytesOption, encodingBufferSizeOption, encodingMaxRateOption, deleteAfterOption, folderExpiryOption, enableMultiprocessOnLinuxOption, numberOfGifLoopsOption, x264Option, enforceAudioOption, jpegQualityOption, audioBitrateOption, videoBitrateOption, audioCodecOption, publicPathOption, audioLatencyHintOption, darkModeOption, publicLicenseKeyOption, forceNewStudioOption, numberOfSharedAudioTagsOption, ipv4Option, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, outDirOption, packageManagerOption, webpackPollOption, keyboardShortcutsOption, experimentalClientSideRenderingOption, imageSequencePatternOption, scaleOption, overwriteOption, crfOption, logLevelOption, videoCodecOption, stillFrameOption, imageSequenceOption, versionFlagOption, bundleCacheOption, envFileOption, glOption, gopSizeOption, runsOption, reproOption, mutedOption, headlessOption, disableGitSourceOption, delayRenderTimeoutInMillisecondsOption, framesOption, forSeamlessAacConcatenationOption, isProductionOption, noOpenOption, portOption, propsOption, configOption, browserOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
9
|
+
const { allowHtmlInCanvasOption, benchmarkConcurrenciesOption, beepOnFinishOption, colorSpaceOption, concurrencyOption, disallowParallelEncodingOption, offthreadVideoCacheSizeInBytesOption, encodingBufferSizeOption, encodingMaxRateOption, deleteAfterOption, folderExpiryOption, enableMultiprocessOnLinuxOption, numberOfGifLoopsOption, x264Option, enforceAudioOption, jpegQualityOption, audioBitrateOption, videoBitrateOption, audioCodecOption, publicPathOption, audioLatencyHintOption, darkModeOption, publicLicenseKeyOption, forceNewStudioOption, numberOfSharedAudioTagsOption, ipv4Option, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, outDirOption, packageManagerOption, webpackPollOption, keyboardShortcutsOption, experimentalClientSideRenderingOption, imageSequencePatternOption, scaleOption, overwriteOption, crfOption, logLevelOption, videoCodecOption, stillFrameOption, imageSequenceOption, versionFlagOption, bundleCacheOption, envFileOption, glOption, gopSizeOption, runsOption, reproOption, mutedOption, headlessOption, disableGitSourceOption, delayRenderTimeoutInMillisecondsOption, framesOption, forSeamlessAacConcatenationOption, isProductionOption, noOpenOption, portOption, propsOption, configOption, browserOption, sampleRateOption, previewSampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
10
10
|
exports.BooleanFlags = [
|
|
11
11
|
overwriteOption.cliFlag,
|
|
12
12
|
imageSequenceOption.cliFlag,
|
package/dist/studio.js
CHANGED
|
@@ -13,7 +13,7 @@ const get_render_defaults_1 = require("./get-render-defaults");
|
|
|
13
13
|
const log_1 = require("./log");
|
|
14
14
|
const parsed_cli_1 = require("./parsed-cli");
|
|
15
15
|
const queue_1 = require("./render-queue/queue");
|
|
16
|
-
const { binariesDirectoryOption, publicDirOption, disableGitSourceOption, enableCrossSiteIsolationOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, forceNewStudioOption, numberOfSharedAudioTagsOption, audioLatencyHintOption, ipv4Option, rspackOption, webpackPollOption, noOpenOption, portOption, browserOption, } = client_1.BrowserSafeApis.options;
|
|
16
|
+
const { binariesDirectoryOption, publicDirOption, disableGitSourceOption, enableCrossSiteIsolationOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, forceNewStudioOption, numberOfSharedAudioTagsOption, audioLatencyHintOption, ipv4Option, rspackOption, webpackPollOption, noOpenOption, portOption, browserOption, previewSampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
17
17
|
const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
18
18
|
var _a, _b, _c;
|
|
19
19
|
const { file, reason } = (0, entry_point_1.findEntryPoint)({
|
|
@@ -113,6 +113,9 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
113
113
|
audioLatencyHint: audioLatencyHintOption.getValue({
|
|
114
114
|
commandLine: parsed_cli_1.parsedCli,
|
|
115
115
|
}).value,
|
|
116
|
+
previewSampleRate: previewSampleRateOption.getValue({
|
|
117
|
+
commandLine: parsed_cli_1.parsedCli,
|
|
118
|
+
}).value,
|
|
116
119
|
enableCrossSiteIsolation,
|
|
117
120
|
askAIEnabled,
|
|
118
121
|
forceNew: forceNewStudioOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value,
|
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.471",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"bin": {
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
37
37
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@remotion/bundler": "4.0.
|
|
40
|
-
"@remotion/media-utils": "4.0.
|
|
41
|
-
"@remotion/player": "4.0.
|
|
42
|
-
"@remotion/renderer": "4.0.
|
|
43
|
-
"@remotion/studio-shared": "4.0.
|
|
44
|
-
"@remotion/studio-server": "4.0.
|
|
45
|
-
"@remotion/studio": "4.0.
|
|
39
|
+
"@remotion/bundler": "4.0.471",
|
|
40
|
+
"@remotion/media-utils": "4.0.471",
|
|
41
|
+
"@remotion/player": "4.0.471",
|
|
42
|
+
"@remotion/renderer": "4.0.471",
|
|
43
|
+
"@remotion/studio-shared": "4.0.471",
|
|
44
|
+
"@remotion/studio-server": "4.0.471",
|
|
45
|
+
"@remotion/studio": "4.0.471",
|
|
46
46
|
"dotenv": "17.3.1",
|
|
47
47
|
"minimist": "1.2.6",
|
|
48
48
|
"prompts": "2.4.2",
|
|
49
|
-
"remotion": "4.0.
|
|
49
|
+
"remotion": "4.0.471"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=16.8.0",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@types/prompts": "2.4.9",
|
|
58
58
|
"@types/prettier": "2.7.2",
|
|
59
59
|
"@types/node": "20.12.14",
|
|
60
|
-
"@remotion/zod-types": "4.0.
|
|
61
|
-
"@remotion/tailwind-v4": "4.0.
|
|
62
|
-
"@remotion/enable-scss": "4.0.
|
|
63
|
-
"@remotion/skia": "4.0.
|
|
60
|
+
"@remotion/zod-types": "4.0.471",
|
|
61
|
+
"@remotion/tailwind-v4": "4.0.471",
|
|
62
|
+
"@remotion/enable-scss": "4.0.471",
|
|
63
|
+
"@remotion/skia": "4.0.471",
|
|
64
64
|
"react": "19.2.3",
|
|
65
65
|
"react-dom": "19.2.3",
|
|
66
66
|
"zod": "4.3.6",
|
|
67
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
67
|
+
"@remotion/eslint-config-internal": "4.0.471",
|
|
68
68
|
"eslint": "9.19.0",
|
|
69
69
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
70
70
|
},
|