@remotion/cli 4.0.459 → 4.0.461
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 -5
- package/dist/bundle.js +1 -5
- package/dist/compositions.js +1 -5
- package/dist/config/index.d.ts +10 -10
- package/dist/config/index.js +2 -2
- package/dist/list-of-remotion-packages.js +1 -0
- package/dist/parsed-cli.d.ts +0 -16
- package/dist/parsed-cli.js +1 -3
- 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 -4
- 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 -4
- package/dist/studio.js +1 -8
- package/package.json +17 -17
package/dist/benchmark.js
CHANGED
|
@@ -21,7 +21,7 @@ const setup_cache_1 = require("./setup-cache");
|
|
|
21
21
|
const should_use_non_overlaying_logger_1 = require("./should-use-non-overlaying-logger");
|
|
22
22
|
const show_compositions_picker_1 = require("./show-compositions-picker");
|
|
23
23
|
const truthy_1 = require("./truthy");
|
|
24
|
-
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, 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, experimentalClientSideRenderingOption,
|
|
24
|
+
const { audioBitrateOption, x264Option, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, 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, experimentalClientSideRenderingOption, keyboardShortcutsOption, rspackOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, concurrencyOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, runsOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
25
25
|
const { benchmarkConcurrenciesOption } = client_1.BrowserSafeApis.options;
|
|
26
26
|
const getValidConcurrency = (cliConcurrency) => {
|
|
27
27
|
const concurrencies = benchmarkConcurrenciesOption.getValue({
|
|
@@ -156,9 +156,6 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
156
156
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
157
157
|
commandLine: parsed_cli_1.parsedCli,
|
|
158
158
|
}).value;
|
|
159
|
-
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
160
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
161
|
-
}).value;
|
|
162
159
|
const askAIEnabled = askAIOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
163
160
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
164
161
|
commandLine: parsed_cli_1.parsedCli,
|
|
@@ -224,7 +221,6 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
|
|
|
224
221
|
publicPath,
|
|
225
222
|
audioLatencyHint: null,
|
|
226
223
|
experimentalClientSideRenderingEnabled,
|
|
227
|
-
experimentalVisualModeEnabled,
|
|
228
224
|
askAIEnabled,
|
|
229
225
|
keyboardShortcutsEnabled,
|
|
230
226
|
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, experimentalClientSideRenderingOption,
|
|
20
|
+
const { publicPathOption, publicDirOption, disableGitSourceOption, audioLatencyHintOption, askAIOption, experimentalClientSideRenderingOption, 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,
|
|
@@ -43,9 +43,6 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
43
43
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
44
44
|
commandLine: parsed_cli_1.parsedCli,
|
|
45
45
|
}).value;
|
|
46
|
-
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
47
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
48
|
-
}).value;
|
|
49
46
|
const askAIEnabled = askAIOption.getValue({ commandLine: parsed_cli_1.parsedCli }).value;
|
|
50
47
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
51
48
|
commandLine: parsed_cli_1.parsedCli,
|
|
@@ -112,7 +109,6 @@ const bundleCommand = async (remotionRoot, args, logLevel) => {
|
|
|
112
109
|
publicPath,
|
|
113
110
|
audioLatencyHint,
|
|
114
111
|
experimentalClientSideRenderingEnabled,
|
|
115
|
-
experimentalVisualModeEnabled,
|
|
116
112
|
askAIEnabled,
|
|
117
113
|
keyboardShortcutsEnabled,
|
|
118
114
|
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, experimentalClientSideRenderingOption,
|
|
16
|
+
const { enableMultiprocessOnLinuxOption, offthreadVideoCacheSizeInBytesOption, offthreadVideoThreadsOption, glOption, headlessOption, delayRenderTimeoutInMillisecondsOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, experimentalClientSideRenderingOption, 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,
|
|
@@ -82,9 +82,6 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
82
82
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
83
83
|
commandLine: parsed_cli_1.parsedCli,
|
|
84
84
|
}).value;
|
|
85
|
-
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
86
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
87
|
-
}).value;
|
|
88
85
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
89
86
|
commandLine: parsed_cli_1.parsedCli,
|
|
90
87
|
}).value;
|
|
@@ -115,7 +112,6 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
|
|
|
115
112
|
publicPath,
|
|
116
113
|
audioLatencyHint,
|
|
117
114
|
experimentalClientSideRenderingEnabled,
|
|
118
|
-
experimentalVisualModeEnabled,
|
|
119
115
|
askAIEnabled,
|
|
120
116
|
keyboardShortcutsEnabled,
|
|
121
117
|
rspack,
|
package/dist/config/index.d.ts
CHANGED
|
@@ -72,12 +72,6 @@ declare global {
|
|
|
72
72
|
* @default false
|
|
73
73
|
*/
|
|
74
74
|
readonly setExperimentalRspackEnabled: (enabled: boolean) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Nothing here yet, but this is our playground for experiments.
|
|
77
|
-
* @param enabled Boolean whether to enable experimental visual mode
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
readonly setExperimentalVisualMode: (enabled: boolean) => void;
|
|
81
75
|
/**
|
|
82
76
|
* Set number of shared audio tags. https://www.remotion.dev/docs/player/autoplay#using-the-numberofsharedaudiotags-prop
|
|
83
77
|
* @param numberOfAudioTags
|
|
@@ -98,11 +92,17 @@ declare global {
|
|
|
98
92
|
*/
|
|
99
93
|
readonly setShouldOpenBrowser: (should: boolean) => void;
|
|
100
94
|
/**
|
|
101
|
-
* Set the log level.
|
|
102
|
-
* Acceptable values: 'error' | '
|
|
103
|
-
* Default value: 'info'
|
|
95
|
+
* Set the log level used by the Remotion CLI.
|
|
96
|
+
* Acceptable values: `'error' | 'warn' | 'info' | 'verbose' | 'trace'`
|
|
97
|
+
* Default value: `'info'`
|
|
98
|
+
*
|
|
99
|
+
* Set this to `'verbose'` to get browser logs and other IO.
|
|
100
|
+
*/
|
|
101
|
+
readonly setLogLevel: (newLogLevel: 'trace' | 'verbose' | 'info' | 'warn' | 'error') => void;
|
|
102
|
+
/**
|
|
103
|
+
* Set the log level used by the Remotion CLI.
|
|
104
104
|
*
|
|
105
|
-
*
|
|
105
|
+
* @deprecated Renamed to [`setLogLevel()`](/docs/config#setloglevel).
|
|
106
106
|
*/
|
|
107
107
|
readonly setLevel: (newLogLevel: 'trace' | 'verbose' | 'info' | 'warn' | 'error') => void;
|
|
108
108
|
/**
|
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, headlessOption, numberOfGifLoopsOption, beepOnFinishOption, encodingMaxRateOption, encodingBufferSizeOption, reproOption, enableLambdaInsights, logLevelOption, delayRenderTimeoutInMillisecondsOption, publicDirOption, binariesDirectoryOption, preferLosslessOption, framesOption, forSeamlessAacConcatenationOption, audioCodecOption, publicPathOption, hardwareAccelerationOption, audioLatencyHintOption, enableCrossSiteIsolationOption, imageSequencePatternOption, darkModeOption, askAIOption, publicLicenseKeyOption, experimentalClientSideRenderingOption,
|
|
23
|
+
const { allowHtmlInCanvasOption, benchmarkConcurrenciesOption, concurrencyOption, offthreadVideoCacheSizeInBytesOption, x264Option, audioBitrateOption, videoBitrateOption, scaleOption, crfOption, jpegQualityOption, enforceAudioOption, overwriteOption, chromeModeOption, mutedOption, videoCodecOption, colorSpaceOption, disallowParallelEncodingOption, deleteAfterOption, folderExpiryOption, enableMultiprocessOnLinuxOption, glOption, 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;
|
|
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.');
|
|
@@ -45,7 +45,6 @@ exports.Config = {
|
|
|
45
45
|
setExperimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.setConfig,
|
|
46
46
|
setAllowHtmlInCanvasEnabled: allowHtmlInCanvasOption.setConfig,
|
|
47
47
|
setExperimentalRspackEnabled: rspackOption.setConfig,
|
|
48
|
-
setExperimentalVisualMode: experimentalVisualModeOption.setConfig,
|
|
49
48
|
setNumberOfSharedAudioTags: numberOfSharedAudioTagsOption.setConfig,
|
|
50
49
|
setWebpackPollingInMilliseconds: webpackPollOption.setConfig,
|
|
51
50
|
setShouldOpenBrowser: noOpenOption.setConfig,
|
|
@@ -57,6 +56,7 @@ exports.Config = {
|
|
|
57
56
|
setRendererPort: preview_server_2.setRendererPort,
|
|
58
57
|
setPublicDir: publicDirOption.setConfig,
|
|
59
58
|
setEntryPoint: entry_point_1.setEntryPoint,
|
|
59
|
+
setLogLevel: logLevelOption.setConfig,
|
|
60
60
|
setLevel: logLevelOption.setConfig,
|
|
61
61
|
setBrowserExecutable: browserExecutableOption.setConfig,
|
|
62
62
|
setTimeoutInMilliseconds: delayRenderTimeoutInMillisecondsOption.setConfig,
|
package/dist/parsed-cli.d.ts
CHANGED
|
@@ -693,21 +693,6 @@ declare const allowHtmlInCanvasOption: {
|
|
|
693
693
|
};
|
|
694
694
|
setConfig(value: boolean): void;
|
|
695
695
|
id: "enable-experimental-client-side-rendering";
|
|
696
|
-
}, experimentalVisualModeOption: {
|
|
697
|
-
name: string;
|
|
698
|
-
cliFlag: "experimental-visual-mode";
|
|
699
|
-
description: () => import("react/jsx-runtime").JSX.Element;
|
|
700
|
-
ssrName: null;
|
|
701
|
-
docLink: string;
|
|
702
|
-
type: boolean;
|
|
703
|
-
getValue: ({ commandLine }: {
|
|
704
|
-
commandLine: Record<string, unknown>;
|
|
705
|
-
}) => {
|
|
706
|
-
value: boolean;
|
|
707
|
-
source: string;
|
|
708
|
-
};
|
|
709
|
-
setConfig(value: boolean): void;
|
|
710
|
-
id: "experimental-visual-mode";
|
|
711
696
|
}, imageSequencePatternOption: {
|
|
712
697
|
name: string;
|
|
713
698
|
cliFlag: "image-sequence-pattern";
|
|
@@ -1152,7 +1137,6 @@ export type CommandLineOptions = {
|
|
|
1152
1137
|
[keyboardShortcutsOption.cliFlag]: TypeOfOption<typeof keyboardShortcutsOption>;
|
|
1153
1138
|
[allowHtmlInCanvasOption.cliFlag]: TypeOfOption<typeof allowHtmlInCanvasOption>;
|
|
1154
1139
|
[experimentalClientSideRenderingOption.cliFlag]: TypeOfOption<typeof experimentalClientSideRenderingOption>;
|
|
1155
|
-
[experimentalVisualModeOption.cliFlag]: TypeOfOption<typeof experimentalVisualModeOption>;
|
|
1156
1140
|
[mutedOption.cliFlag]: TypeOfOption<typeof mutedOption>;
|
|
1157
1141
|
[overrideHeightOption.cliFlag]: TypeOfOption<typeof overrideHeightOption>;
|
|
1158
1142
|
[overrideWidthOption.cliFlag]: TypeOfOption<typeof overrideWidthOption>;
|
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,
|
|
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, runsOption, reproOption, mutedOption, headlessOption, disableGitSourceOption, delayRenderTimeoutInMillisecondsOption, framesOption, forSeamlessAacConcatenationOption, isProductionOption, noOpenOption, portOption, propsOption, configOption, browserOption, sampleRateOption, } = client_1.BrowserSafeApis.options;
|
|
10
10
|
exports.BooleanFlags = [
|
|
11
11
|
overwriteOption.cliFlag,
|
|
12
12
|
imageSequenceOption.cliFlag,
|
|
@@ -22,7 +22,6 @@ exports.BooleanFlags = [
|
|
|
22
22
|
keyboardShortcutsOption.cliFlag,
|
|
23
23
|
allowHtmlInCanvasOption.cliFlag,
|
|
24
24
|
experimentalClientSideRenderingOption.cliFlag,
|
|
25
|
-
experimentalVisualModeOption.cliFlag,
|
|
26
25
|
ipv4Option.cliFlag,
|
|
27
26
|
beepOnFinishOption.cliFlag,
|
|
28
27
|
disableGitSourceOption.cliFlag,
|
|
@@ -40,7 +39,6 @@ exports.parsedCli = (0, minimist_1.default)(process.argv.slice(2), {
|
|
|
40
39
|
[bundleCacheOption.cliFlag]: null,
|
|
41
40
|
[allowHtmlInCanvasOption.cliFlag]: null,
|
|
42
41
|
[experimentalClientSideRenderingOption.cliFlag]: null,
|
|
43
|
-
[experimentalVisualModeOption.cliFlag]: null,
|
|
44
42
|
[mutedOption.cliFlag]: null,
|
|
45
43
|
},
|
|
46
44
|
});
|
|
@@ -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, 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, experimentalClientSideRenderingEnabled,
|
|
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, 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, experimentalClientSideRenderingEnabled, 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
|
rspack: boolean;
|
|
66
66
|
askAIEnabled: boolean;
|
|
67
67
|
experimentalClientSideRenderingEnabled: boolean;
|
|
68
|
-
experimentalVisualModeEnabled: boolean;
|
|
69
68
|
keyboardShortcutsEnabled: boolean;
|
|
70
69
|
shouldCache: boolean;
|
|
71
70
|
sampleRate: number;
|
|
@@ -62,7 +62,7 @@ const should_use_non_overlaying_logger_1 = require("../should-use-non-overlaying
|
|
|
62
62
|
const truthy_1 = require("../truthy");
|
|
63
63
|
const user_passed_output_location_1 = require("../user-passed-output-location");
|
|
64
64
|
const add_log_to_aggregate_progress_1 = require("./add-log-to-aggregate-progress");
|
|
65
|
-
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, 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, experimentalClientSideRenderingEnabled,
|
|
65
|
+
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, 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, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, shouldCache, sampleRate, }) => {
|
|
66
66
|
var _a;
|
|
67
67
|
renderer_1.RenderInternals.validateConcurrency({
|
|
68
68
|
value: concurrency,
|
|
@@ -189,7 +189,6 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
|
|
|
189
189
|
publicPath,
|
|
190
190
|
audioLatencyHint,
|
|
191
191
|
experimentalClientSideRenderingEnabled,
|
|
192
|
-
experimentalVisualModeEnabled,
|
|
193
192
|
askAIEnabled,
|
|
194
193
|
keyboardShortcutsEnabled,
|
|
195
194
|
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, experimentalClientSideRenderingEnabled,
|
|
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, experimentalClientSideRenderingEnabled, keyboardShortcutsEnabled, shouldCache, }: {
|
|
4
4
|
remotionRoot: string;
|
|
5
5
|
fullEntryPoint: string;
|
|
6
6
|
entryPointReason: string;
|
|
@@ -39,7 +39,6 @@ export declare const renderStillFlow: ({ remotionRoot, fullEntryPoint, entryPoin
|
|
|
39
39
|
rspack: boolean;
|
|
40
40
|
askAIEnabled: boolean;
|
|
41
41
|
experimentalClientSideRenderingEnabled: boolean;
|
|
42
|
-
experimentalVisualModeEnabled: boolean;
|
|
43
42
|
keyboardShortcutsEnabled: boolean;
|
|
44
43
|
shouldCache: boolean;
|
|
45
44
|
}) => 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, experimentalClientSideRenderingEnabled,
|
|
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, experimentalClientSideRenderingEnabled, 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)();
|
|
@@ -111,7 +111,6 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
|
|
|
111
111
|
publicPath,
|
|
112
112
|
audioLatencyHint,
|
|
113
113
|
experimentalClientSideRenderingEnabled,
|
|
114
|
-
experimentalVisualModeEnabled,
|
|
115
114
|
askAIEnabled,
|
|
116
115
|
keyboardShortcutsEnabled,
|
|
117
116
|
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, experimentalClientSideRenderingOption,
|
|
9
|
+
const { publicDirOption, askAIOption, experimentalClientSideRenderingOption, 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');
|
|
@@ -21,9 +21,6 @@ const processStill = async ({ job, remotionRoot, entryPoint, onProgress, addClea
|
|
|
21
21
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
22
22
|
commandLine: parsed_cli_1.parsedCli,
|
|
23
23
|
}).value;
|
|
24
|
-
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
25
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
26
|
-
}).value;
|
|
27
24
|
const keyboardShortcutsEnabled = keyboardShortcutsOption.getValue({
|
|
28
25
|
commandLine: parsed_cli_1.parsedCli,
|
|
29
26
|
}).value;
|
|
@@ -70,7 +67,6 @@ const processStill = async ({ job, remotionRoot, entryPoint, onProgress, addClea
|
|
|
70
67
|
mediaCacheSizeInBytes: job.mediaCacheSizeInBytes,
|
|
71
68
|
askAIEnabled,
|
|
72
69
|
experimentalClientSideRenderingEnabled,
|
|
73
|
-
experimentalVisualModeEnabled,
|
|
74
70
|
keyboardShortcutsEnabled,
|
|
75
71
|
rspack,
|
|
76
72
|
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, experimentalClientSideRenderingOption,
|
|
10
|
+
const { publicDirOption, askAIOption, experimentalClientSideRenderingOption, 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') {
|
|
@@ -102,9 +102,6 @@ const processVideoJob = async ({ job, remotionRoot, entryPoint, onProgress, addC
|
|
|
102
102
|
askAIEnabled,
|
|
103
103
|
experimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.getValue({ commandLine: parsed_cli_1.parsedCli })
|
|
104
104
|
.value,
|
|
105
|
-
experimentalVisualModeEnabled: experimentalVisualModeOption.getValue({
|
|
106
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
107
|
-
}).value,
|
|
108
105
|
keyboardShortcutsEnabled,
|
|
109
106
|
rspack,
|
|
110
107
|
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, 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, experimentalClientSideRenderingOption,
|
|
14
|
+
const { x264Option, audioBitrateOption, offthreadVideoCacheSizeInBytesOption, scaleOption, crfOption, 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, experimentalClientSideRenderingOption, keyboardShortcutsOption, rspackOption, pixelFormatOption, browserExecutableOption, everyNthFrameOption, proResProfileOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, concurrencyOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, sampleRateOption, } = 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) {
|
|
@@ -163,9 +163,6 @@ const render = async (remotionRoot, args, logLevel) => {
|
|
|
163
163
|
const experimentalClientSideRenderingEnabled = experimentalClientSideRenderingOption.getValue({
|
|
164
164
|
commandLine: parsed_cli_1.parsedCli,
|
|
165
165
|
}).value;
|
|
166
|
-
const experimentalVisualModeEnabled = experimentalVisualModeOption.getValue({
|
|
167
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
168
|
-
}).value;
|
|
169
166
|
await (0, render_1.renderVideoFlow)({
|
|
170
167
|
fullEntryPoint,
|
|
171
168
|
remotionRoot,
|
|
@@ -236,7 +233,6 @@ const render = async (remotionRoot, args, logLevel) => {
|
|
|
236
233
|
imageSequencePattern,
|
|
237
234
|
askAIEnabled,
|
|
238
235
|
experimentalClientSideRenderingEnabled,
|
|
239
|
-
experimentalVisualModeEnabled,
|
|
240
236
|
keyboardShortcutsEnabled,
|
|
241
237
|
rspack,
|
|
242
238
|
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, experimentalClientSideRenderingEnabled,
|
|
3
|
+
export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
|
|
4
4
|
fullPath: string;
|
|
5
5
|
remotionRoot: string;
|
|
6
6
|
publicDir: string | null;
|
|
@@ -20,7 +20,6 @@ export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publi
|
|
|
20
20
|
publicPath: string | null;
|
|
21
21
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
22
22
|
experimentalClientSideRenderingEnabled: boolean;
|
|
23
|
-
experimentalVisualModeEnabled: boolean;
|
|
24
23
|
askAIEnabled: boolean;
|
|
25
24
|
keyboardShortcutsEnabled: boolean;
|
|
26
25
|
rspack: boolean;
|
|
@@ -29,7 +28,7 @@ export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publi
|
|
|
29
28
|
urlOrBundle: string;
|
|
30
29
|
cleanup: () => void;
|
|
31
30
|
}>;
|
|
32
|
-
export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled,
|
|
31
|
+
export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
|
|
33
32
|
fullPath: string;
|
|
34
33
|
remotionRoot: string;
|
|
35
34
|
publicDir: string | null;
|
|
@@ -49,7 +48,6 @@ export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgre
|
|
|
49
48
|
publicPath: string | null;
|
|
50
49
|
audioLatencyHint: AudioContextLatencyCategory | null;
|
|
51
50
|
experimentalClientSideRenderingEnabled: boolean;
|
|
52
|
-
experimentalVisualModeEnabled: boolean;
|
|
53
51
|
keyboardShortcutsEnabled: boolean;
|
|
54
52
|
askAIEnabled: boolean;
|
|
55
53
|
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, experimentalClientSideRenderingEnabled,
|
|
16
|
+
const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, 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) {
|
|
@@ -49,7 +49,6 @@ const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, on
|
|
|
49
49
|
publicPath,
|
|
50
50
|
audioLatencyHint,
|
|
51
51
|
experimentalClientSideRenderingEnabled,
|
|
52
|
-
experimentalVisualModeEnabled,
|
|
53
52
|
askAIEnabled,
|
|
54
53
|
keyboardShortcutsEnabled,
|
|
55
54
|
rspack,
|
|
@@ -61,7 +60,7 @@ const bundleOnCliOrTakeServeUrl = async ({ fullPath, remotionRoot, publicDir, on
|
|
|
61
60
|
};
|
|
62
61
|
};
|
|
63
62
|
exports.bundleOnCliOrTakeServeUrl = bundleOnCliOrTakeServeUrl;
|
|
64
|
-
const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled,
|
|
63
|
+
const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }) => {
|
|
65
64
|
var _a;
|
|
66
65
|
const symlinkState = {
|
|
67
66
|
symlinks: [],
|
|
@@ -125,7 +124,6 @@ const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallba
|
|
|
125
124
|
bufferStateDelayInMilliseconds,
|
|
126
125
|
maxTimelineTracks,
|
|
127
126
|
experimentalClientSideRenderingEnabled,
|
|
128
|
-
experimentalVisualModeEnabled,
|
|
129
127
|
});
|
|
130
128
|
const cacheExistedBefore = bundler_1.BundlerInternals.cacheExists(remotionRoot, 'production', hash);
|
|
131
129
|
if (cacheExistedBefore !== 'does-not-exist' && !shouldCache) {
|
|
@@ -165,7 +163,6 @@ const bundleOnCli = async ({ fullPath, remotionRoot, publicDir, onProgressCallba
|
|
|
165
163
|
bufferStateDelayInMilliseconds,
|
|
166
164
|
audioLatencyHint,
|
|
167
165
|
experimentalClientSideRenderingEnabled,
|
|
168
|
-
experimentalVisualModeEnabled,
|
|
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, experimentalClientSideRenderingOption,
|
|
14
|
+
const { offthreadVideoCacheSizeInBytesOption, scaleOption, jpegQualityOption, enableMultiprocessOnLinuxOption, glOption, delayRenderTimeoutInMillisecondsOption, headlessOption, overwriteOption, binariesDirectoryOption, publicPathOption, publicDirOption, chromeModeOption, offthreadVideoThreadsOption, audioLatencyHintOption, mediaCacheSizeInBytesOption, darkModeOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, rspackOption, browserExecutableOption, userAgentOption, disableWebSecurityOption, ignoreCertificateErrorsOption, overrideHeightOption, overrideWidthOption, overrideFpsOption, overrideDurationOption, bundleCacheOption, } = 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) {
|
|
@@ -154,9 +154,6 @@ const still = async (remotionRoot, args, logLevel) => {
|
|
|
154
154
|
askAIEnabled,
|
|
155
155
|
experimentalClientSideRenderingEnabled: experimentalClientSideRenderingOption.getValue({ commandLine: parsed_cli_1.parsedCli })
|
|
156
156
|
.value,
|
|
157
|
-
experimentalVisualModeEnabled: experimentalVisualModeOption.getValue({
|
|
158
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
159
|
-
}).value,
|
|
160
157
|
keyboardShortcutsEnabled,
|
|
161
158
|
rspack,
|
|
162
159
|
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, experimentalClientSideRenderingOption,
|
|
16
|
+
const { binariesDirectoryOption, publicDirOption, disableGitSourceOption, enableCrossSiteIsolationOption, askAIOption, experimentalClientSideRenderingOption, keyboardShortcutsOption, forceNewStudioOption, numberOfSharedAudioTagsOption, audioLatencyHintOption, ipv4Option, rspackOption, webpackPollOption, noOpenOption, portOption, browserOption, } = 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)({
|
|
@@ -79,12 +79,6 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
79
79
|
if (useRspack) {
|
|
80
80
|
log_1.Log.warn({ indent: false, logLevel }, 'Enabling experimental Rspack bundler.');
|
|
81
81
|
}
|
|
82
|
-
const useVisualMode = experimentalVisualModeOption.getValue({
|
|
83
|
-
commandLine: parsed_cli_1.parsedCli,
|
|
84
|
-
}).value;
|
|
85
|
-
if (useVisualMode) {
|
|
86
|
-
log_1.Log.warn({ indent: false, logLevel }, 'Enabling experimental visual mode.');
|
|
87
|
-
}
|
|
88
82
|
const result = await studio_server_1.StudioServerInternals.startStudio({
|
|
89
83
|
previewEntry: require.resolve('@remotion/studio/previewEntry'),
|
|
90
84
|
browserArgs: parsed_cli_1.parsedCli['browser-args'],
|
|
@@ -97,7 +91,6 @@ const studioCommand = async (remotionRoot, args, logLevel) => {
|
|
|
97
91
|
desiredPort,
|
|
98
92
|
keyboardShortcutsEnabled,
|
|
99
93
|
experimentalClientSideRenderingEnabled,
|
|
100
|
-
experimentalVisualModeEnabled: useVisualMode,
|
|
101
94
|
maxTimelineTracks: config_1.ConfigInternals.getMaxTimelineTracks(),
|
|
102
95
|
remotionRoot,
|
|
103
96
|
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.461",
|
|
7
7
|
"description": "Control Remotion features using the `npx remotion` command",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -37,35 +37,35 @@
|
|
|
37
37
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@remotion/bundler": "4.0.
|
|
41
|
-
"@remotion/media-utils": "4.0.
|
|
42
|
-
"@remotion/player": "4.0.
|
|
43
|
-
"@remotion/renderer": "4.0.
|
|
44
|
-
"@remotion/studio-shared": "4.0.
|
|
45
|
-
"@remotion/studio-server": "4.0.
|
|
46
|
-
"@remotion/studio": "4.0.
|
|
40
|
+
"@remotion/bundler": "4.0.461",
|
|
41
|
+
"@remotion/media-utils": "4.0.461",
|
|
42
|
+
"@remotion/player": "4.0.461",
|
|
43
|
+
"@remotion/renderer": "4.0.461",
|
|
44
|
+
"@remotion/studio-shared": "4.0.461",
|
|
45
|
+
"@remotion/studio-server": "4.0.461",
|
|
46
|
+
"@remotion/studio": "4.0.461",
|
|
47
47
|
"dotenv": "17.3.1",
|
|
48
48
|
"minimist": "1.2.6",
|
|
49
49
|
"prompts": "2.4.2",
|
|
50
|
-
"remotion": "4.0.
|
|
50
|
+
"remotion": "4.0.461"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": ">=16.8.0",
|
|
54
54
|
"react-dom": ">=16.8.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@types/minimist": "
|
|
58
|
-
"@types/prompts": "
|
|
59
|
-
"@types/prettier": "
|
|
57
|
+
"@types/minimist": "1.2.2",
|
|
58
|
+
"@types/prompts": "2.4.9",
|
|
59
|
+
"@types/prettier": "2.7.2",
|
|
60
60
|
"@types/node": "20.12.14",
|
|
61
|
-
"@remotion/zod-types": "4.0.
|
|
62
|
-
"@remotion/tailwind-v4": "4.0.
|
|
63
|
-
"@remotion/enable-scss": "4.0.
|
|
64
|
-
"@remotion/skia": "4.0.
|
|
61
|
+
"@remotion/zod-types": "4.0.461",
|
|
62
|
+
"@remotion/tailwind-v4": "4.0.461",
|
|
63
|
+
"@remotion/enable-scss": "4.0.461",
|
|
64
|
+
"@remotion/skia": "4.0.461",
|
|
65
65
|
"react": "19.2.3",
|
|
66
66
|
"react-dom": "19.2.3",
|
|
67
67
|
"zod": "4.3.6",
|
|
68
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
68
|
+
"@remotion/eslint-config-internal": "4.0.461",
|
|
69
69
|
"eslint": "9.19.0",
|
|
70
70
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
71
71
|
},
|