@remotion/cli 4.0.490 → 4.0.491
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/benchmark.js +1 -8
- package/dist/bundle.js +1 -8
- package/dist/compositions.js +1 -8
- package/dist/config/index.d.ts +1 -9
- package/dist/config/index.js +6 -3
- package/dist/get-render-defaults.js +1 -5
- package/dist/list-of-remotion-packages.js +2 -0
- package/dist/parsed-cli.d.ts +1 -33
- package/dist/parsed-cli.js +1 -5
- package/dist/render-flows/render.d.ts +1 -2
- package/dist/render-flows/render.js +1 -2
- package/dist/render-flows/still.d.ts +1 -2
- package/dist/render-flows/still.js +1 -2
- package/dist/render-queue/process-still.js +1 -5
- package/dist/render-queue/process-video.js +1 -3
- package/dist/render.js +1 -5
- package/dist/setup-cache.d.ts +2 -4
- package/dist/setup-cache.js +2 -5
- package/dist/still.js +1 -3
- package/dist/studio.js +1 -11
- package/package.json +14 -14
package/dist/benchmark.js
CHANGED
|
@@ -20,7 +20,7 @@ const setup_cache_1 = require("./setup-cache");
|
|
|
20
20
|
const should_use_non_overlaying_logger_1 = require("./should-use-non-overlaying-logger");
|
|
21
21
|
const show_compositions_picker_1 = require("./show-compositions-picker");
|
|
22
22
|
const truthy_1 = require("./truthy");
|
|
23
|
-
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, videoCodecOption, colorSpaceOption, disallowParallelEncodingOption, enableMultiprocessOnLinuxOption, glOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, forSeamlessAacConcatenationOption, publicPathOption, publicDirOption, metadataOption, hardwareAccelerationOption, chromeModeOption, offthreadVideoThreadsOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption,
|
|
23
|
+
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, videoCodecOption, colorSpaceOption, disallowParallelEncodingOption, enableMultiprocessOnLinuxOption, glOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, forSeamlessAacConcatenationOption, publicPathOption, publicDirOption, metadataOption, hardwareAccelerationOption, chromeModeOption, offthreadVideoThreadsOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, keyboardShortcutsOption, rspackOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, videoImageFormatOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, concurrencyOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, runsOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
24
24
|
const { benchmarkConcurrenciesOption } = client_1.BrowserSafeApis.options;
|
|
25
25
|
const getValidConcurrency = (cliConcurrency) => {
|
|
26
26
|
const concurrencies = benchmarkConcurrenciesOption.getValue({
|
|
@@ -146,9 +146,6 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
146
146
|
const publicDir = publicDirOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
147
147
|
const chromeMode = chromeModeOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
148
148
|
const darkMode = darkModeOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
149
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
150
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
151
|
-
}).value;
|
|
152
149
|
const askAIEnabled = askAIOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
153
150
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
154
151
|
commandLine: parsed_cli_1.parsedCli,
|
|
@@ -157,9 +154,6 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
157
154
|
const shouldCache = bundleCacheOption.getValue({
|
|
158
155
|
commandLine: parsed_cli_1.parsedCli,
|
|
159
156
|
}).value;
|
|
160
|
-
if (experimentalClientSideRenderingEnabled) {
|
|
161
|
-
log_1.Log.warn({ indent: false, logLevel }, 'Enabling WIP client-side rendering. Please see caveats on https://www.remotion.dev/docs/client-side-rendering/.');
|
|
162
|
-
}
|
|
163
157
|
const chromiumOptions = {
|
|
164
158
|
disableWebSecurity,
|
|
165
159
|
enableMultiProcessOnLinux,
|
|
@@ -213,7 +207,6 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
213
207
|
maxTimelineTracks: null,
|
|
214
208
|
publicPath,
|
|
215
209
|
audioLatencyHint: null,
|
|
216
|
-
experimentalClientSideRenderingEnabled,
|
|
217
210
|
askAIEnabled,
|
|
218
211
|
keyboardShortcutsEnabled,
|
|
219
212
|
rspack,
|
package/dist/bundle.js
CHANGED
|
@@ -17,7 +17,7 @@ const parsed_cli_1 = require("./parsed-cli");
|
|
|
17
17
|
const setup_cache_1 = require("./setup-cache");
|
|
18
18
|
const should_use_non_overlaying_logger_1 = require("./should-use-non-overlaying-logger");
|
|
19
19
|
const yes_or_no_1 = require("./yes-or-no");
|
|
20
|
-
const { publicPathOption, publicDirOption, disableGitSourceOption, audioLatencyHintOption, askAIOption,
|
|
20
|
+
const { publicPathOption, publicDirOption, disableGitSourceOption, audioLatencyHintOption, askAIOption, keyboardShortcutsOption, rspackOption, outDirOption, bundleCacheOption, } = client_1.BrowserSafeApis.options;
|
|
21
21
|
const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
22
22
|
const { file, reason } = (0, entry_point_1.findEntryPoint)({
|
|
23
23
|
args,
|
|
@@ -40,9 +40,6 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
40
40
|
log_1.Log.error({ indent: false, logLevel }, 'See: https://www.remotion.dev/docs/terminology/entry-point');
|
|
41
41
|
process.exit(1);
|
|
42
42
|
}
|
|
43
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
44
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
45
|
-
}).value;
|
|
46
43
|
const askAIEnabled = askAIOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
47
44
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
48
45
|
commandLine: parsed_cli_1.parsedCli,
|
|
@@ -51,9 +48,6 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
51
48
|
const shouldCache = bundleCacheOption.getValue({
|
|
52
49
|
commandLine: parsed_cli_1.parsedCli,
|
|
53
50
|
}).value;
|
|
54
|
-
if (experimentalClientSideRenderingEnabled) {
|
|
55
|
-
log_1.Log.warn({ indent: false, logLevel }, 'Enabling WIP client-side rendering. Please see caveats on https://www.remotion.dev/docs/client-side-rendering/.');
|
|
56
|
-
}
|
|
57
51
|
const publicPath = publicPathOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
58
52
|
const publicDir = publicDirOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
59
53
|
const disableGitSource = disableGitSourceOption.getValue({
|
|
@@ -108,7 +102,6 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
108
102
|
maxTimelineTracks: null,
|
|
109
103
|
publicPath,
|
|
110
104
|
audioLatencyHint,
|
|
111
|
-
experimentalClientSideRenderingEnabled,
|
|
112
105
|
askAIEnabled,
|
|
113
106
|
keyboardShortcutsEnabled,
|
|
114
107
|
rspack,
|
package/dist/compositions.js
CHANGED
|
@@ -13,7 +13,7 @@ const log_1 = require("./log");
|
|
|
13
13
|
const parsed_cli_1 = require("./parsed-cli");
|
|
14
14
|
const print_compositions_1 = require("./print-compositions");
|
|
15
15
|
const setup_cache_1 = require("./setup-cache");
|
|
16
|
-
const { enableMultiprocessOnLinuxOption, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, glOption, headlessOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption,
|
|
16
|
+
const { enableMultiprocessOnLinuxOption, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, glOption, headlessOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, bundleCacheOption, } = client_1.BrowserSafeApis.options;
|
|
17
17
|
const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
18
18
|
const { file, reason } = (0, entry_point_1.findEntryPoint)({
|
|
19
19
|
args,
|
|
@@ -79,9 +79,6 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
79
79
|
userAgent,
|
|
80
80
|
darkMode,
|
|
81
81
|
};
|
|
82
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
83
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
84
|
-
}).value;
|
|
85
82
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
86
83
|
commandLine: parsed_cli_1.parsedCli,
|
|
87
84
|
}).value;
|
|
@@ -89,9 +86,6 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
89
86
|
const shouldCache = bundleCacheOption.getValue({
|
|
90
87
|
commandLine: parsed_cli_1.parsedCli,
|
|
91
88
|
}).value;
|
|
92
|
-
if (experimentalClientSideRenderingEnabled) {
|
|
93
|
-
log_1.Log.warn({ indent: false, logLevel }, 'Enabling WIP client-side rendering. Please see caveats on https://www.remotion.dev/docs/client-side-rendering/.');
|
|
94
|
-
}
|
|
95
89
|
const { urlOrBundle: bundled, cleanup: cleanupBundle } = await (0, setup_cache_1.bundleOnCliOrTakeServeUrl)({
|
|
96
90
|
remotionRoot,
|
|
97
91
|
fullPath: file,
|
|
@@ -111,7 +105,6 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
111
105
|
maxTimelineTracks: null,
|
|
112
106
|
publicPath,
|
|
113
107
|
audioLatencyHint,
|
|
114
|
-
experimentalClientSideRenderingEnabled,
|
|
115
108
|
askAIEnabled,
|
|
116
109
|
keyboardShortcutsEnabled,
|
|
117
110
|
rspack,
|
package/dist/config/index.d.ts
CHANGED
|
@@ -61,15 +61,7 @@ declare global {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly setInteractivityEnabled: (enabled: boolean) => void;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
* See https://www.remotion.dev/docs/client-side-rendering/ for notes.
|
|
66
|
-
* @param enabled Boolean whether to enable client-side rendering
|
|
67
|
-
* @default false
|
|
68
|
-
*/
|
|
69
|
-
readonly setExperimentalClientSideRenderingEnabled: (enabled: boolean) => void;
|
|
70
|
-
/**
|
|
71
|
-
* Allow the experimental HTML-in-canvas capture path in Studio client-side renders.
|
|
72
|
-
* @default false
|
|
64
|
+
* @deprecated HTML-in-canvas is now enabled by default when supported. This method is a no-op and can be removed.
|
|
73
65
|
*/
|
|
74
66
|
readonly setAllowHtmlInCanvasEnabled: (enabled: boolean) => void;
|
|
75
67
|
/**
|
package/dist/config/index.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ConfigInternals = exports.Config = void 0;
|
|
4
4
|
const client_1 = require("@remotion/renderer/client");
|
|
5
5
|
const studio_server_1 = require("@remotion/studio-server");
|
|
6
|
+
const log_1 = require("../log");
|
|
6
7
|
const browser_1 = require("./browser");
|
|
7
8
|
const buffer_state_delay_in_milliseconds_1 = require("./buffer-state-delay-in-milliseconds");
|
|
8
9
|
const concurrency_1 = require("./concurrency");
|
|
@@ -20,7 +21,10 @@ const preview_server_2 = require("./preview-server");
|
|
|
20
21
|
const still_frame_1 = require("./still-frame");
|
|
21
22
|
const webpack_caching_1 = require("./webpack-caching");
|
|
22
23
|
const webpack_poll_1 = require("./webpack-poll");
|
|
23
|
-
const {
|
|
24
|
+
const { 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, interactivityOption, 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;
|
|
25
|
+
const setAllowHtmlInCanvasEnabled = (_enabled) => {
|
|
26
|
+
log_1.Log.warn({ indent: false, logLevel: 'info' }, 'Config.setAllowHtmlInCanvasEnabled() is now a no-op because HTML-in-canvas is enabled by default when supported. You can remove this option from your config file.');
|
|
27
|
+
};
|
|
24
28
|
exports.Config = {
|
|
25
29
|
get Bundling() {
|
|
26
30
|
throw new Error('The config format has changed. Change `Config.Bundling.*()` calls to `Config.*()` in your config file.');
|
|
@@ -43,8 +47,7 @@ exports.Config = {
|
|
|
43
47
|
setMaxTimelineTracks: studio_server_1.StudioServerInternals.setMaxTimelineTracks,
|
|
44
48
|
setKeyboardShortcutsEnabled: keyboardShortcutsOption.setConfig,
|
|
45
49
|
setInteractivityEnabled: interactivityOption.setConfig,
|
|
46
|
-
|
|
47
|
-
setAllowHtmlInCanvasEnabled: allowHtmlInCanvasOption.setConfig,
|
|
50
|
+
setAllowHtmlInCanvasEnabled,
|
|
48
51
|
setExperimentalRspackEnabled: rspackOption.setConfig,
|
|
49
52
|
setNumberOfSharedAudioTags: numberOfSharedAudioTagsOption.setConfig,
|
|
50
53
|
setWebpackPollingInMilliseconds: webpackPollOption.setConfig,
|
|
@@ -5,7 +5,7 @@ const renderer_1 = require("@remotion/renderer");
|
|
|
5
5
|
const client_1 = require("@remotion/renderer/client");
|
|
6
6
|
const config_1 = require("./config");
|
|
7
7
|
const parsed_cli_1 = require("./parsed-cli");
|
|
8
|
-
const {
|
|
8
|
+
const { x264Option, gopSizeOption, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, concurrencyOption, offthreadVideoThreadsOption, scaleOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, colorSpaceOption, enableMultiprocessOnLinuxOption, glOption, numberOfGifLoopsOption, beepOnFinishOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, logLevelOption, delayRenderTimeoutInMillisecondsOption, headlessOption, forSeamlessAacConcatenationOption, audioCodecOption, hardwareAccelerationOption, chromeModeOption, mediaCacheSizeInBytesOption, darkModeOption, pixelFormatOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, publicLicenseKeyOption, stillImageFormatOption, videoImageFormatOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
9
9
|
const getRenderDefaults = () => {
|
|
10
10
|
var _a;
|
|
11
11
|
const defaultJpegQuality = jpegQualityOption.getValue({
|
|
@@ -114,9 +114,6 @@ const getRenderDefaults = () => {
|
|
|
114
114
|
const userAgent = userAgentOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
115
115
|
const metadata = config_1.ConfigInternals.getMetadata();
|
|
116
116
|
const outputLocation = config_1.ConfigInternals.getOutputLocation();
|
|
117
|
-
const allowHtmlInCanvas = allowHtmlInCanvasOption.getValue({
|
|
118
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
119
|
-
}).value;
|
|
120
117
|
const maxConcurrency = renderer_1.RenderInternals.getMaxConcurrency();
|
|
121
118
|
const minConcurrency = renderer_1.RenderInternals.getMinConcurrency();
|
|
122
119
|
return {
|
|
@@ -162,7 +159,6 @@ const getRenderDefaults = () => {
|
|
|
162
159
|
mediaCacheSizeInBytes,
|
|
163
160
|
publicLicenseKey,
|
|
164
161
|
outputLocation,
|
|
165
|
-
allowHtmlInCanvas,
|
|
166
162
|
sampleRate: sampleRateOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value,
|
|
167
163
|
};
|
|
168
164
|
};
|
|
@@ -13,9 +13,11 @@ exports.listOfRemotionPackages = [
|
|
|
13
13
|
'@remotion/bundler',
|
|
14
14
|
'@remotion/browser-studio',
|
|
15
15
|
'@remotion/canvas-capture',
|
|
16
|
+
'@remotion/claude-code-plugin',
|
|
16
17
|
'@remotion/cli',
|
|
17
18
|
'@remotion/cloudrun',
|
|
18
19
|
'@remotion/codex-plugin',
|
|
20
|
+
'@remotion/kimi-code-plugin',
|
|
19
21
|
'@remotion/compositor-darwin-arm64',
|
|
20
22
|
'@remotion/compositor-darwin-x64',
|
|
21
23
|
'@remotion/compositor-linux-arm64-gnu',
|
package/dist/parsed-cli.d.ts
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import type { AudioCodec, StillImageFormat, VideoImageFormat } from '@remotion/renderer';
|
|
2
2
|
import type { TypeOfOption } from '@remotion/renderer/client';
|
|
3
|
-
declare const
|
|
4
|
-
name: string;
|
|
5
|
-
cliFlag: "allow-html-in-canvas";
|
|
6
|
-
description: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
ssrName: null;
|
|
8
|
-
docLink: string;
|
|
9
|
-
type: boolean;
|
|
10
|
-
getValue: ({ commandLine }: {
|
|
11
|
-
commandLine: Record<string, unknown>;
|
|
12
|
-
}) => {
|
|
13
|
-
value: boolean;
|
|
14
|
-
source: string;
|
|
15
|
-
};
|
|
16
|
-
setConfig(value: boolean): void;
|
|
17
|
-
id: "allow-html-in-canvas";
|
|
18
|
-
}, benchmarkConcurrenciesOption: {
|
|
3
|
+
declare const benchmarkConcurrenciesOption: {
|
|
19
4
|
name: string;
|
|
20
5
|
cliFlag: "concurrencies";
|
|
21
6
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -684,21 +669,6 @@ declare const allowHtmlInCanvasOption: {
|
|
|
684
669
|
};
|
|
685
670
|
setConfig(value: boolean): void;
|
|
686
671
|
id: "disable-keyboard-shortcuts";
|
|
687
|
-
}, experimentalClientSideRenderingOption: {
|
|
688
|
-
name: string;
|
|
689
|
-
cliFlag: "enable-experimental-client-side-rendering";
|
|
690
|
-
description: () => import("react/jsx-runtime").JSX.Element;
|
|
691
|
-
ssrName: null;
|
|
692
|
-
docLink: string;
|
|
693
|
-
type: boolean;
|
|
694
|
-
getValue: ({ commandLine }: {
|
|
695
|
-
commandLine: Record<string, unknown>;
|
|
696
|
-
}) => {
|
|
697
|
-
value: boolean;
|
|
698
|
-
source: string;
|
|
699
|
-
};
|
|
700
|
-
setConfig(value: boolean): void;
|
|
701
|
-
id: "enable-experimental-client-side-rendering";
|
|
702
672
|
}, interactivityOption: {
|
|
703
673
|
name: string;
|
|
704
674
|
cliFlag: "disable-interactivity";
|
|
@@ -1205,8 +1175,6 @@ export type CommandLineOptions = {
|
|
|
1205
1175
|
[stillFrameOption.cliFlag]: TypeOfOption<typeof stillFrameOption>;
|
|
1206
1176
|
[headlessOption.cliFlag]: TypeOfOption<typeof headlessOption> | null;
|
|
1207
1177
|
[keyboardShortcutsOption.cliFlag]: TypeOfOption<typeof keyboardShortcutsOption> | null;
|
|
1208
|
-
[allowHtmlInCanvasOption.cliFlag]: TypeOfOption<typeof allowHtmlInCanvasOption>;
|
|
1209
|
-
[experimentalClientSideRenderingOption.cliFlag]: TypeOfOption<typeof experimentalClientSideRenderingOption>;
|
|
1210
1178
|
[interactivityOption.cliFlag]: TypeOfOption<typeof interactivityOption> | null;
|
|
1211
1179
|
[mutedOption.cliFlag]: TypeOfOption<typeof mutedOption>;
|
|
1212
1180
|
[overrideHeightOption.cliFlag]: TypeOfOption<typeof overrideHeightOption>;
|
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 {
|
|
9
|
+
const { 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, interactivityOption, 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,
|
|
@@ -21,8 +21,6 @@ exports.BooleanFlags = [
|
|
|
21
21
|
headlessOption.cliFlag,
|
|
22
22
|
keyboardShortcutsOption.cliFlag,
|
|
23
23
|
interactivityOption.cliFlag,
|
|
24
|
-
allowHtmlInCanvasOption.cliFlag,
|
|
25
|
-
experimentalClientSideRenderingOption.cliFlag,
|
|
26
24
|
ipv4Option.cliFlag,
|
|
27
25
|
beepOnFinishOption.cliFlag,
|
|
28
26
|
disableGitSourceOption.cliFlag,
|
|
@@ -38,8 +36,6 @@ exports.parsedCli = (0, minimist_1.default)(process.argv.slice(2), {
|
|
|
38
36
|
default: {
|
|
39
37
|
[overwriteOption.cliFlag]: null,
|
|
40
38
|
[bundleCacheOption.cliFlag]: null,
|
|
41
|
-
[allowHtmlInCanvasOption.cliFlag]: null,
|
|
42
|
-
[experimentalClientSideRenderingOption.cliFlag]: null,
|
|
43
39
|
[darkModeOption.cliFlag]: null,
|
|
44
40
|
[imageSequenceOption.cliFlag]: null,
|
|
45
41
|
[disableWebSecurityOption.cliFlag]: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BrowserExecutable, CancelSignal, ChromiumOptions, Crf, FfmpegOverrideFn, FrameRange, NumberOfGifLoops } from '@remotion/renderer';
|
|
2
2
|
import type { JobProgressCallback } from '@remotion/studio-server';
|
|
3
|
-
export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, fps, durationInFrames, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, gopSize, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, rspack, askAIEnabled,
|
|
3
|
+
export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, fps, durationInFrames, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, gopSize, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, rspack, askAIEnabled, keyboardShortcutsEnabled, shouldCache, sampleRate, }: {
|
|
4
4
|
remotionRoot: string;
|
|
5
5
|
fullEntryPoint: string;
|
|
6
6
|
entryPointReason: string;
|
|
@@ -65,7 +65,6 @@ export declare const renderVideoFlow: ({ remotionRoot, fullEntryPoint, indent, l
|
|
|
65
65
|
mediaCacheSizeInBytes: number | null;
|
|
66
66
|
rspack: boolean;
|
|
67
67
|
askAIEnabled: boolean;
|
|
68
|
-
experimentalClientSideRenderingEnabled: boolean;
|
|
69
68
|
keyboardShortcutsEnabled: boolean;
|
|
70
69
|
shouldCache: boolean;
|
|
71
70
|
sampleRate: number;
|
|
@@ -61,7 +61,7 @@ const should_use_non_overlaying_logger_1 = require("../should-use-non-overlaying
|
|
|
61
61
|
const truthy_1 = require("../truthy");
|
|
62
62
|
const user_passed_output_location_1 = require("../user-passed-output-location");
|
|
63
63
|
const add_log_to_aggregate_progress_1 = require("./add-log-to-aggregate-progress");
|
|
64
|
-
const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, fps, durationInFrames, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, gopSize, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, rspack, askAIEnabled,
|
|
64
|
+
const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, fps, durationInFrames, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, gopSize, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, encodingMaxRate, encodingBufferSize, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, repro, binariesDirectory, forSeamlessAacConcatenation, separateAudioTo, publicPath, metadata, hardwareAcceleration, chromeMode, audioLatencyHint, imageSequencePattern, mediaCacheSizeInBytes, rspack, askAIEnabled, keyboardShortcutsEnabled, shouldCache, sampleRate, }) => {
|
|
65
65
|
var _a;
|
|
66
66
|
renderer_1.RenderInternals.validateConcurrency({
|
|
67
67
|
value: concurrency,
|
|
@@ -187,7 +187,6 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
187
187
|
maxTimelineTracks: null,
|
|
188
188
|
publicPath,
|
|
189
189
|
audioLatencyHint,
|
|
190
|
-
experimentalClientSideRenderingEnabled,
|
|
191
190
|
askAIEnabled,
|
|
192
191
|
keyboardShortcutsEnabled,
|
|
193
192
|
rspack,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BrowserExecutable, CancelSignal, ChromiumOptions } from '@remotion/renderer';
|
|
2
2
|
import type { JobProgressCallback } from '@remotion/studio-server';
|
|
3
|
-
export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, width, fps, durationInFrames, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, rspack, askAIEnabled,
|
|
3
|
+
export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, width, fps, durationInFrames, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, rspack, askAIEnabled, keyboardShortcutsEnabled, shouldCache, }: {
|
|
4
4
|
remotionRoot: string;
|
|
5
5
|
fullEntryPoint: string;
|
|
6
6
|
entryPointReason: string;
|
|
@@ -38,7 +38,6 @@ export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPoin
|
|
|
38
38
|
mediaCacheSizeInBytes: number | null;
|
|
39
39
|
rspack: boolean;
|
|
40
40
|
askAIEnabled: boolean;
|
|
41
|
-
experimentalClientSideRenderingEnabled: boolean;
|
|
42
41
|
keyboardShortcutsEnabled: boolean;
|
|
43
42
|
shouldCache: boolean;
|
|
44
43
|
}) => Promise<void>;
|
|
@@ -28,7 +28,7 @@ const should_use_non_overlaying_logger_1 = require("../should-use-non-overlaying
|
|
|
28
28
|
const truthy_1 = require("../truthy");
|
|
29
29
|
const user_passed_output_location_1 = require("../user-passed-output-location");
|
|
30
30
|
const add_log_to_aggregate_progress_1 = require("./add-log-to-aggregate-progress");
|
|
31
|
-
const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, width, fps, durationInFrames, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, rspack, askAIEnabled,
|
|
31
|
+
const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason, remainingArgs, browser, browserExecutable, chromiumOptions, envVariables, height, width, fps, durationInFrames, serializedInputPropsWithCustomSchema, overwrite, port, publicDir, puppeteerTimeout, jpegQuality, scale, stillFrame, compositionIdFromUi, imageFormatFromUi, logLevel, onProgress, indent, addCleanupCallback, cancelSignal, outputLocationFromUi, offthreadVideoCacheSizeInBytes, binariesDirectory, publicPath, chromeMode, offthreadVideoThreads, audioLatencyHint, mediaCacheSizeInBytes, rspack, askAIEnabled, keyboardShortcutsEnabled, shouldCache, }) => {
|
|
32
32
|
const isVerbose = renderer_1.RenderInternals.isEqualOrBelowLogLevel(logLevel, 'verbose');
|
|
33
33
|
log_1.Log.verbose({ indent, logLevel }, chalk_1.chalk.gray(`Entry point = ${fullEntryPoint} (${entryPointReason})`));
|
|
34
34
|
const aggregate = (0, progress_types_1.initialAggregateRenderProgress)();
|
|
@@ -110,7 +110,6 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
110
110
|
maxTimelineTracks: null,
|
|
111
111
|
publicPath,
|
|
112
112
|
audioLatencyHint,
|
|
113
|
-
experimentalClientSideRenderingEnabled,
|
|
114
113
|
askAIEnabled,
|
|
115
114
|
keyboardShortcutsEnabled,
|
|
116
115
|
rspack,
|
|
@@ -6,7 +6,7 @@ const preview_server_1 = require("../config/preview-server");
|
|
|
6
6
|
const convert_entry_point_to_serve_url_1 = require("../convert-entry-point-to-serve-url");
|
|
7
7
|
const parsed_cli_1 = require("../parsed-cli");
|
|
8
8
|
const still_1 = require("../render-flows/still");
|
|
9
|
-
const { publicDirOption, askAIOption,
|
|
9
|
+
const { publicDirOption, askAIOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, bundleCacheOption, } = client_1.BrowserSafeApis.options;
|
|
10
10
|
const processStill = async ({ job, remotionRoot, entryPoint, onProgress, addCleanupCallback, }) => {
|
|
11
11
|
if (job.type !== 'still') {
|
|
12
12
|
throw new Error('Expected still job');
|
|
@@ -18,9 +18,6 @@ const processStill = async ({ job, remotionRoot, entryPoint, onProgress, addClea
|
|
|
18
18
|
commandLine: parsed_cli_1.parsedCli,
|
|
19
19
|
}).value;
|
|
20
20
|
const askAIEnabled = askAIOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
21
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
22
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
23
|
-
}).value;
|
|
24
21
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
25
22
|
commandLine: parsed_cli_1.parsedCli,
|
|
26
23
|
}).value;
|
|
@@ -66,7 +63,6 @@ const processStill = async ({ job, remotionRoot, entryPoint, onProgress, addClea
|
|
|
66
63
|
audioLatencyHint: null,
|
|
67
64
|
mediaCacheSizeInBytes: job.mediaCacheSizeInBytes,
|
|
68
65
|
askAIEnabled,
|
|
69
|
-
experimentalClientSideRenderingEnabled,
|
|
70
66
|
keyboardShortcutsEnabled,
|
|
71
67
|
rspack,
|
|
72
68
|
shouldCache,
|
|
@@ -7,7 +7,7 @@ const convert_entry_point_to_serve_url_1 = require("../convert-entry-point-to-se
|
|
|
7
7
|
const get_cli_options_1 = require("../get-cli-options");
|
|
8
8
|
const parsed_cli_1 = require("../parsed-cli");
|
|
9
9
|
const render_1 = require("../render-flows/render");
|
|
10
|
-
const { publicDirOption, askAIOption,
|
|
10
|
+
const { publicDirOption, askAIOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, bundleCacheOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
11
11
|
const processVideoJob = async ({ job, remotionRoot, entryPoint, onProgress, addCleanupCallback, logLevel, }) => {
|
|
12
12
|
var _a, _b, _c;
|
|
13
13
|
if (job.type !== 'video' && job.type !== 'sequence') {
|
|
@@ -101,8 +101,6 @@ const processVideoJob = async ({ job, remotionRoot, entryPoint, onProgress, addC
|
|
|
101
101
|
audioLatencyHint: null,
|
|
102
102
|
imageSequencePattern: null,
|
|
103
103
|
askAIEnabled,
|
|
104
|
-
experimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.getValue({ commandLine: parsed_cli_1.parsedCli })
|
|
105
|
-
.value,
|
|
106
104
|
keyboardShortcutsEnabled,
|
|
107
105
|
rspack,
|
|
108
106
|
shouldCache,
|
package/dist/render.js
CHANGED
|
@@ -11,7 +11,7 @@ const get_cli_options_1 = require("./get-cli-options");
|
|
|
11
11
|
const log_1 = require("./log");
|
|
12
12
|
const parsed_cli_1 = require("./parsed-cli");
|
|
13
13
|
const render_1 = require("./render-flows/render");
|
|
14
|
-
const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, colorSpaceOption, disallowParallelEncodingOption, enableMultiprocessOnLinuxOption, glOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, forSeamlessAacConcatenationOption, separateAudioOption, audioCodecOption, publicPathOption, publicDirOption, metadataOption, hardwareAccelerationOption, chromeModeOption, offthreadVideoThreadsOption, audioLatencyHintOption, imageSequencePatternOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption,
|
|
14
|
+
const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, gopSizeOption, jpegQualityOption, videoBitrateOption, enforceAudioOption, mutedOption, colorSpaceOption, disallowParallelEncodingOption, enableMultiprocessOnLinuxOption, glOption, numberOfGifLoopsOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, forSeamlessAacConcatenationOption, separateAudioOption, audioCodecOption, publicPathOption, publicDirOption, metadataOption, hardwareAccelerationOption, chromeModeOption, offthreadVideoThreadsOption, audioLatencyHintOption, imageSequencePatternOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, everyNthFrameOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, concurrencyOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, sampleRateOption, stillFrameOption, } = client_1.BrowserSafeApis.options;
|
|
15
15
|
const render = async (remotionRoot, args, logLevel) => {
|
|
16
16
|
const { file, remainingArgs, reason: entryPointReason, } = (0, entry_point_1.findEntryPoint)({ args, remotionRoot, logLevel, allowDirectory: true });
|
|
17
17
|
if (!file) {
|
|
@@ -157,9 +157,6 @@ const render = async (remotionRoot, args, logLevel) => {
|
|
|
157
157
|
const shouldCache = bundleCacheOption.getValue({
|
|
158
158
|
commandLine: parsed_cli_1.parsedCli,
|
|
159
159
|
}).value;
|
|
160
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
161
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
162
|
-
}).value;
|
|
163
160
|
await (0, render_1.renderVideoFlow)({
|
|
164
161
|
fullEntryPoint,
|
|
165
162
|
remotionRoot,
|
|
@@ -230,7 +227,6 @@ const render = async (remotionRoot, args, logLevel) => {
|
|
|
230
227
|
audioLatencyHint,
|
|
231
228
|
imageSequencePattern,
|
|
232
229
|
askAIEnabled,
|
|
233
|
-
experimentalClientSideRenderingEnabled,
|
|
234
230
|
keyboardShortcutsEnabled,
|
|
235
231
|
rspack,
|
|
236
232
|
sampleRate,
|
package/dist/setup-cache.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BundlingState, CopyingState } from '@remotion/studio-server';
|
|
2
2
|
import type { GitSource } from '@remotion/studio-shared';
|
|
3
|
-
export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint,
|
|
3
|
+
export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
|
|
4
4
|
fullPath: string;
|
|
5
5
|
remotionRoot: string;
|
|
6
6
|
publicDir: string | null;
|
|
@@ -19,7 +19,6 @@ export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publi
|
|
|
19
19
|
maxTimelineTracks: number | null;
|
|
20
20
|
publicPath: string | null;
|
|
21
21
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
22
|
-
experimentalClientSideRenderingEnabled: boolean;
|
|
23
22
|
askAIEnabled: boolean;
|
|
24
23
|
keyboardShortcutsEnabled: boolean;
|
|
25
24
|
rspack: boolean;
|
|
@@ -28,7 +27,7 @@ export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publi
|
|
|
28
27
|
urlOrBundle: string;
|
|
29
28
|
cleanup: () => void;
|
|
30
29
|
}>;
|
|
31
|
-
export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint,
|
|
30
|
+
export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
|
|
32
31
|
fullPath: string;
|
|
33
32
|
remotionRoot: string;
|
|
34
33
|
publicDir: string | null;
|
|
@@ -47,7 +46,6 @@ export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgre
|
|
|
47
46
|
bufferStateDelayInMilliseconds: number | null;
|
|
48
47
|
publicPath: string | null;
|
|
49
48
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
50
|
-
experimentalClientSideRenderingEnabled: boolean;
|
|
51
49
|
keyboardShortcutsEnabled: boolean;
|
|
52
50
|
askAIEnabled: boolean;
|
|
53
51
|
rspack: boolean;
|
package/dist/setup-cache.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 progress_bar_1 = require("./progress-bar");
|
|
15
15
|
const should_use_non_overlaying_logger_1 = require("./should-use-non-overlaying-logger");
|
|
16
|
-
const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint,
|
|
16
|
+
const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }) => {
|
|
17
17
|
const isServeUrl = renderer_1.RenderInternals.isServeUrl(fullPath);
|
|
18
18
|
const isBundle = (0, fs_1.existsSync)(fullPath) && (0, fs_1.existsSync)(path_1.default.join(fullPath, 'index.html'));
|
|
19
19
|
if (isServeUrl || isBundle) {
|
|
@@ -48,7 +48,6 @@ const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, on
|
|
|
48
48
|
maxTimelineTracks,
|
|
49
49
|
publicPath,
|
|
50
50
|
audioLatencyHint,
|
|
51
|
-
experimentalClientSideRenderingEnabled,
|
|
52
51
|
askAIEnabled,
|
|
53
52
|
keyboardShortcutsEnabled,
|
|
54
53
|
rspack,
|
|
@@ -60,7 +59,7 @@ const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, on
|
|
|
60
59
|
};
|
|
61
60
|
};
|
|
62
61
|
exports.bundleOnCliOrTakeServeUrl = bundleOnCliOrTakeServeUrl;
|
|
63
|
-
const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint,
|
|
62
|
+
const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }) => {
|
|
64
63
|
var _a;
|
|
65
64
|
const symlinkState = {
|
|
66
65
|
symlinks: [],
|
|
@@ -126,7 +125,6 @@ const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallba
|
|
|
126
125
|
resolvedRemotionRoot: remotionRoot,
|
|
127
126
|
bufferStateDelayInMilliseconds,
|
|
128
127
|
maxTimelineTracks,
|
|
129
|
-
experimentalClientSideRenderingEnabled,
|
|
130
128
|
});
|
|
131
129
|
const cacheExistedBefore = bundler_1.BundlerInternals.cacheExists(remotionRoot, 'production', hash);
|
|
132
130
|
if (cacheExistedBefore !== 'does-not-exist' && !shouldCache) {
|
|
@@ -165,7 +163,6 @@ const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallba
|
|
|
165
163
|
maxTimelineTracks,
|
|
166
164
|
bufferStateDelayInMilliseconds,
|
|
167
165
|
audioLatencyHint,
|
|
168
|
-
experimentalClientSideRenderingEnabled,
|
|
169
166
|
renderDefaults: (0, get_render_defaults_1.getRenderDefaults)(),
|
|
170
167
|
});
|
|
171
168
|
bundlingState = {
|
package/dist/still.js
CHANGED
|
@@ -11,7 +11,7 @@ const get_cli_options_1 = require("./get-cli-options");
|
|
|
11
11
|
const log_1 = require("./log");
|
|
12
12
|
const parsed_cli_1 = require("./parsed-cli");
|
|
13
13
|
const still_1 = require("./render-flows/still");
|
|
14
|
-
const { offthreadVideoCacheSizeInBytesOption, scaleOption, jpegQualityOption, enableMultiprocessOnLinuxOption, glOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, offthreadVideoThreadsOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption,
|
|
14
|
+
const { offthreadVideoCacheSizeInBytesOption, scaleOption, jpegQualityOption, enableMultiprocessOnLinuxOption, glOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, offthreadVideoThreadsOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, framesOption, } = client_1.BrowserSafeApis.options;
|
|
15
15
|
const still = async (remotionRoot, args, logLevel) => {
|
|
16
16
|
const { file, remainingArgs, reason: entryPointReason, } = (0, entry_point_1.findEntryPoint)({ args, remotionRoot, logLevel, allowDirectory: true });
|
|
17
17
|
if (!file) {
|
|
@@ -152,8 +152,6 @@ const still = async (remotionRoot, args, logLevel) => {
|
|
|
152
152
|
audioLatencyHint,
|
|
153
153
|
mediaCacheSizeInBytes,
|
|
154
154
|
askAIEnabled,
|
|
155
|
-
experimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.getValue({ commandLine: parsed_cli_1.parsedCli })
|
|
156
|
-
.value,
|
|
157
155
|
keyboardShortcutsEnabled,
|
|
158
156
|
rspack,
|
|
159
157
|
shouldCache,
|
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, interactivityOption,
|
|
16
|
+
const { binariesDirectoryOption, publicDirOption, disableGitSourceOption, enableCrossSiteIsolationOption, askAIOption, interactivityOption, 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)({
|
|
@@ -53,12 +53,6 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
53
53
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
54
54
|
commandLine: parsed_cli_1.parsedCli,
|
|
55
55
|
}).value;
|
|
56
|
-
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
57
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
58
|
-
}).value;
|
|
59
|
-
if (experimentalClientSideRenderingEnabled) {
|
|
60
|
-
log_1.Log.warn({ indent: false, logLevel }, 'Enabling WIP client-side rendering. Please see caveats on https://www.remotion.dev/docs/client-side-rendering/.');
|
|
61
|
-
}
|
|
62
56
|
const binariesDirectory = binariesDirectoryOption.getValue({
|
|
63
57
|
commandLine: parsed_cli_1.parsedCli,
|
|
64
58
|
}).value;
|
|
@@ -94,9 +88,6 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
94
88
|
commandLine: parsed_cli_1.parsedCli,
|
|
95
89
|
}).value,
|
|
96
90
|
bufferStateDelayInMilliseconds: config_1.ConfigInternals.getBufferStateDelayInMilliseconds(),
|
|
97
|
-
experimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.getValue({
|
|
98
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
99
|
-
}).value,
|
|
100
91
|
});
|
|
101
92
|
const result = await studio_server_1.StudioServerInternals.startStudio({
|
|
102
93
|
previewEntry: require.resolve('@remotion/studio/previewEntry'),
|
|
@@ -109,7 +100,6 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
109
100
|
getEnvVariables: () => envVariables,
|
|
110
101
|
desiredPort,
|
|
111
102
|
keyboardShortcutsEnabled,
|
|
112
|
-
experimentalClientSideRenderingEnabled,
|
|
113
103
|
maxTimelineTracks: config_1.ConfigInternals.getMaxTimelineTracks(),
|
|
114
104
|
remotionRoot,
|
|
115
105
|
relativePublicDir,
|
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.491",
|
|
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.491",
|
|
40
|
+
"@remotion/media-utils": "4.0.491",
|
|
41
|
+
"@remotion/player": "4.0.491",
|
|
42
|
+
"@remotion/renderer": "4.0.491",
|
|
43
|
+
"@remotion/studio-shared": "4.0.491",
|
|
44
|
+
"@remotion/studio-server": "4.0.491",
|
|
45
|
+
"@remotion/studio": "4.0.491",
|
|
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.491"
|
|
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.491",
|
|
61
|
+
"@remotion/tailwind-v4": "4.0.491",
|
|
62
|
+
"@remotion/enable-scss": "4.0.491",
|
|
63
|
+
"@remotion/skia": "4.0.491",
|
|
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.491",
|
|
68
68
|
"eslint": "9.19.0",
|
|
69
69
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
70
70
|
},
|