@remotion/cli 4.0.71 → 4.0.73

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.benchmarkCommand = void 0;
4
4
  const renderer_1 = require("@remotion/renderer");
5
- const remotion_1 = require("remotion");
5
+ const no_react_1 = require("remotion/no-react");
6
6
  const chalk_1 = require("./chalk");
7
7
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
8
8
  const config_1 = require("./config");
@@ -128,7 +128,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
128
128
  });
129
129
  (0, cleanup_before_quit_1.registerCleanupJob)(() => cleanupBundle());
130
130
  const puppeteerInstance = await browserInstance;
131
- const serializedInputPropsWithCustomSchema = remotion_1.Internals.serializeJSONWithDate({
131
+ const serializedInputPropsWithCustomSchema = no_react_1.NoReactInternals.serializeJSONWithDate({
132
132
  data: inputProps !== null && inputProps !== void 0 ? inputProps : {},
133
133
  indent: undefined,
134
134
  staticBase: null,
@@ -234,7 +234,7 @@ const benchmarkCommand = async (remotionRoot, args, logLevel) => {
234
234
  onStart: () => undefined,
235
235
  preferLossless: false,
236
236
  server: undefined,
237
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
237
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
238
238
  data: composition.props,
239
239
  indent: undefined,
240
240
  staticBase: null,
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.listCompositionsCommand = void 0;
4
4
  const renderer_1 = require("@remotion/renderer");
5
- const remotion_1 = require("remotion");
5
+ const no_react_1 = require("remotion/no-react");
6
6
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
7
7
  const preview_server_1 = require("./config/preview-server");
8
8
  const entry_point_1 = require("./entry-point");
@@ -45,7 +45,7 @@ const listCompositionsCommand = async (remotionRoot, args, logLevel) => {
45
45
  browserExecutable,
46
46
  chromiumOptions,
47
47
  envVariables,
48
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
48
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
49
49
  data: inputProps,
50
50
  staticBase: null,
51
51
  indent: undefined,
@@ -1,3 +1,3 @@
1
1
  import type { AudioCodec } from '@remotion/renderer';
2
2
  export declare const setAudioCodec: (audioCodec: AudioCodec | null) => void;
3
- export declare const getAudioCodec: () => "pcm-16" | "aac" | "mp3" | "opus" | null;
3
+ export declare const getAudioCodec: () => "mp3" | "aac" | "pcm-16" | "opus" | null;
@@ -2,4 +2,4 @@ import type { StillImageFormat, VideoImageFormat } from '@remotion/renderer';
2
2
  export declare const setStillImageFormat: (format: StillImageFormat) => void;
3
3
  export declare const setVideoImageFormat: (format: VideoImageFormat) => void;
4
4
  export declare const getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
5
- export declare const getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
5
+ export declare const getUserPreferredVideoImageFormat: () => "none" | "png" | "jpeg" | undefined;
@@ -307,7 +307,7 @@ export declare const ConfigInternals: {
307
307
  getBrowser: () => null;
308
308
  getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
309
309
  getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
310
- getPresetProfile: () => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
310
+ getPresetProfile: () => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
311
311
  getShouldOverwrite: ({ defaultValue, }: {
312
312
  defaultValue: boolean;
313
313
  }) => boolean;
@@ -324,12 +324,12 @@ export declare const ConfigInternals: {
324
324
  getConcurrency: () => string | number | null;
325
325
  getCurrentPuppeteerTimeout: () => number;
326
326
  getJpegQuality: () => number;
327
- getAudioCodec: () => "pcm-16" | "aac" | "mp3" | "opus" | null;
327
+ getAudioCodec: () => "mp3" | "aac" | "pcm-16" | "opus" | null;
328
328
  getStillFrame: () => number;
329
329
  getShouldOutputImageSequence: (frameRange: FrameRange | null) => boolean;
330
330
  getDotEnvLocation: () => string | null;
331
331
  getUserPreferredStillImageFormat: () => "png" | "jpeg" | "pdf" | "webp" | undefined;
332
- getUserPreferredVideoImageFormat: () => "png" | "jpeg" | "none" | undefined;
332
+ getUserPreferredVideoImageFormat: () => "none" | "png" | "jpeg" | undefined;
333
333
  getWebpackOverrideFn: () => WebpackOverrideFn;
334
334
  getWebpackCaching: () => boolean;
335
335
  getOutputLocation: () => string | null;
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getStillFrame = exports.setStillFrame = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  let stillFrame = 0;
6
6
  const setStillFrame = (frame) => {
7
- remotion_1.Internals.validateFrame({
7
+ no_react_1.NoReactInternals.validateFrame({
8
8
  frame,
9
9
  durationInFrames: Infinity,
10
10
  allowFloats: false,
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
12
12
  status: 'error' | 'warning' | 'ok';
13
13
  isFocused: boolean;
14
14
  isHovered: boolean;
15
- }) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#ff3232" | "#f1c40f";
15
+ }) => "#ff3232" | "hsla(0, 0%, 100%, 0.15)" | "#f1c40f" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)";
16
16
  export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "status" | "rightAlign"> & React.RefAttributes<HTMLInputElement>>;
17
17
  export {};
@@ -27,6 +27,7 @@ exports.DataEditor = void 0;
27
27
  const jsx_runtime_1 = require("react/jsx-runtime");
28
28
  const react_1 = __importStar(require("react"));
29
29
  const remotion_1 = require("remotion");
30
+ const no_react_1 = require("remotion/no-react");
30
31
  const event_source_1 = require("../../../event-source");
31
32
  const client_id_1 = require("../../helpers/client-id");
32
33
  const colors_1 = require("../../helpers/colors");
@@ -96,7 +97,7 @@ const DataEditor = ({ unresolvedComposition, inputProps, setInputProps, mayShowS
96
97
  return null;
97
98
  }
98
99
  const value = inputProps;
99
- return remotion_1.Internals.serializeJSONWithDate({
100
+ return no_react_1.NoReactInternals.serializeJSONWithDate({
100
101
  data: value,
101
102
  indent: 2,
102
103
  staticBase: window.remotion_staticBase,
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.RenderModalJSONPropsEditor = void 0;
27
27
  const jsx_runtime_1 = require("react/jsx-runtime");
28
28
  const react_1 = __importStar(require("react"));
29
- const remotion_1 = require("remotion");
29
+ const no_react_1 = require("remotion/no-react");
30
30
  const Button_1 = require("../../../preview-server/error-overlay/remotion-overlay/Button");
31
31
  const colors_1 = require("../../helpers/colors");
32
32
  const document_title_1 = require("../../helpers/document-title");
@@ -48,7 +48,7 @@ const scrollable = {
48
48
  };
49
49
  const parseJSON = (str, schema) => {
50
50
  try {
51
- const value = remotion_1.Internals.deserializeJSONWithCustomFields(str);
51
+ const value = no_react_1.NoReactInternals.deserializeJSONWithCustomFields(str);
52
52
  const zodValidation = schema.safeParse(value);
53
53
  return { str, value, validJSON: true, zodValidation };
54
54
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.canUpdateDefaultProps = exports.updateDefaultProps = exports.updateAvailable = exports.cancelRenderJob = exports.removeRenderJob = exports.copyToClipboard = exports.openInFileExplorer = exports.subscribeToFileExistenceWatcher = exports.unsubscribeFromFileExistenceWatcher = exports.addVideoRenderJob = exports.addSequenceRenderJob = exports.addStillRenderJob = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const callApi = (endpoint, body, signal) => {
6
6
  return new Promise((resolve, reject) => {
7
7
  fetch(endpoint, {
@@ -39,7 +39,7 @@ const addStillRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, f
39
39
  chromiumOptions,
40
40
  delayRenderTimeout,
41
41
  envVariables,
42
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
42
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
43
43
  data: inputProps,
44
44
  staticBase: window.remotion_staticBase,
45
45
  indent: undefined,
@@ -64,7 +64,7 @@ const addSequenceRenderJob = ({ compositionId, outName, imageFormat, startFrame,
64
64
  delayRenderTimeout,
65
65
  envVariables,
66
66
  concurrency,
67
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
67
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
68
68
  data: inputProps,
69
69
  staticBase: window.remotion_staticBase,
70
70
  indent: undefined,
@@ -103,7 +103,7 @@ const addVideoRenderJob = ({ compositionId, outName, imageFormat, jpegQuality, s
103
103
  disallowParallelEncoding,
104
104
  chromiumOptions,
105
105
  envVariables,
106
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
106
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
107
107
  data: inputProps,
108
108
  staticBase: window.remotion_staticBase,
109
109
  indent: undefined,
@@ -159,7 +159,7 @@ exports.updateAvailable = updateAvailable;
159
159
  const updateDefaultProps = (compositionId, defaultProps, enumPaths) => {
160
160
  return callApi('/api/update-default-props', {
161
161
  compositionId,
162
- defaultProps: remotion_1.Internals.serializeJSONWithDate({
162
+ defaultProps: no_react_1.NoReactInternals.serializeJSONWithDate({
163
163
  data: defaultProps,
164
164
  indent: undefined,
165
165
  staticBase: window.remotion_staticBase,
@@ -1,2 +1,2 @@
1
1
  import type { X264Preset } from '@remotion/renderer';
2
- export declare const labelx264Preset: (profile: X264Preset) => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
2
+ export declare const labelx264Preset: (profile: X264Preset) => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Codec } from '@remotion/renderer';
3
2
  import type { RenderType } from '../components/RenderModal/RenderModalAdvanced';
4
3
  type Section = 'general' | 'picture' | 'advanced' | 'data' | 'gif' | 'audio';
@@ -17,7 +17,7 @@ export declare const getCliOptions: (options: {
17
17
  crf: import("@remotion/renderer").Crf | null;
18
18
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
19
19
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
20
- x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
20
+ x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
21
21
  everyNthFrame: number;
22
22
  numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
23
23
  stillFrame: number;
@@ -34,7 +34,7 @@ export declare const getCliOptions: (options: {
34
34
  videoBitrate: string | null;
35
35
  height: number | null;
36
36
  width: number | null;
37
- configFileImageFormat: "png" | "jpeg" | "none" | undefined;
37
+ configFileImageFormat: "none" | "png" | "jpeg" | undefined;
38
38
  offthreadVideoCacheSizeInBytes: number | null;
39
39
  deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
40
40
  colorSpace: "default" | "bt709";
package/dist/gpu.js CHANGED
@@ -7,7 +7,7 @@ const get_cli_options_1 = require("./get-cli-options");
7
7
  const log_1 = require("./log");
8
8
  exports.GPU_COMMAND = 'gpu';
9
9
  const gpuCommand = async (remotionRoot, logLevel) => {
10
- const { browserExecutable, chromiumOptions } = await (0, get_cli_options_1.getCliOptions)({
10
+ const { browserExecutable, chromiumOptions, puppeteerTimeout } = await (0, get_cli_options_1.getCliOptions)({
11
11
  isLambda: false,
12
12
  remotionRoot,
13
13
  type: 'get-compositions',
@@ -18,6 +18,7 @@ const gpuCommand = async (remotionRoot, logLevel) => {
18
18
  indent: false,
19
19
  logLevel,
20
20
  chromiumOptions,
21
+ timeoutInMilliseconds: puppeteerTimeout,
21
22
  });
22
23
  for (const { feature, status } of statuses) {
23
24
  log_1.Log.info(`${feature}: ${colorStatus(status)}`);
package/dist/index.d.ts CHANGED
@@ -87,7 +87,7 @@ export declare const CliInternals: {
87
87
  crf: import("@remotion/renderer").Crf | null;
88
88
  pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
89
89
  proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
90
- x264Preset: "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
90
+ x264Preset: "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo" | undefined;
91
91
  everyNthFrame: number;
92
92
  numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
93
93
  stillFrame: number;
@@ -104,7 +104,7 @@ export declare const CliInternals: {
104
104
  videoBitrate: string | null;
105
105
  height: number | null;
106
106
  width: number | null;
107
- configFileImageFormat: "png" | "jpeg" | "none" | undefined;
107
+ configFileImageFormat: "none" | "png" | "jpeg" | undefined;
108
108
  offthreadVideoCacheSizeInBytes: number | null;
109
109
  deleteAfter: ("1-day" | "3-days" | "7-days" | "30-days") | null;
110
110
  colorSpace: "default" | "bt709";
@@ -116,9 +116,9 @@ export declare const CliInternals: {
116
116
  parsedCli: {
117
117
  "browser-executable": import("@remotion/renderer").BrowserExecutable;
118
118
  "pixel-format": "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
119
- "image-format": "png" | "jpeg" | "none" | "pdf" | "webp";
119
+ "image-format": "none" | "png" | "jpeg" | "pdf" | "webp";
120
120
  "prores-profile": "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy";
121
- "x264-preset": "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "medium" | "slow" | "slower" | "veryslow" | "placebo";
121
+ "x264-preset": "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
122
122
  "bundle-cache": string;
123
123
  "env-file": string;
124
124
  "ignore-certificate-errors": string;
@@ -127,14 +127,14 @@ export declare const CliInternals: {
127
127
  "number-of-gif-loops": number;
128
128
  "number-of-shared-audio-tags": number;
129
129
  version: string;
130
- codec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif";
130
+ codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
131
131
  concurrency: number;
132
132
  timeout: number;
133
133
  config: string;
134
134
  "public-dir": string;
135
135
  "audio-bitrate": string;
136
136
  "video-bitrate": string;
137
- "audio-codec": "pcm-16" | "aac" | "mp3" | "opus";
137
+ "audio-codec": "mp3" | "aac" | "pcm-16" | "opus";
138
138
  crf: number;
139
139
  force: boolean;
140
140
  output: string;
@@ -187,7 +187,7 @@ export declare const CliInternals: {
187
187
  downloadName: string | null;
188
188
  outName: string | null;
189
189
  configImageFormat: "png" | "jpeg" | "pdf" | "webp" | null;
190
- cliFlag: "png" | "jpeg" | "none" | "pdf" | "webp" | null;
190
+ cliFlag: "none" | "png" | "jpeg" | "pdf" | "webp" | null;
191
191
  isLambda: boolean;
192
192
  fromUi: "png" | "jpeg" | "pdf" | "webp" | null;
193
193
  }) => {
@@ -202,18 +202,18 @@ export declare const CliInternals: {
202
202
  };
203
203
  getVideoImageFormat: ({ codec, uiImageFormat, }: {
204
204
  codec: import("@remotion/renderer").CodecOrUndefined;
205
- uiImageFormat: "png" | "jpeg" | "none" | null;
206
- }) => "png" | "jpeg" | "none";
205
+ uiImageFormat: "none" | "png" | "jpeg" | null;
206
+ }) => "none" | "png" | "jpeg";
207
207
  printCompositions: (compositions: import("remotion").VideoConfig[]) => void;
208
208
  getFinalOutputCodec: ({ cliFlag, configFile, downloadName, outName, uiCodec, compositionCodec, }: {
209
209
  cliFlag: import("@remotion/renderer").CodecOrUndefined;
210
210
  outName: string | null;
211
211
  downloadName: string | null;
212
- configFile: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
213
- uiCodec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
214
- compositionCodec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif" | null;
212
+ configFile: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
213
+ uiCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
214
+ compositionCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif" | null;
215
215
  }) => {
216
- codec: "aac" | "mp3" | "h264" | "h265" | "vp8" | "vp9" | "wav" | "prores" | "h264-mkv" | "gif";
216
+ codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
217
217
  reason: string;
218
218
  };
219
219
  listOfRemotionPackages: string[];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.makeRetryPayload = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const makeRetryPayload = (job) => {
6
6
  var _a, _b, _c, _d, _e;
7
7
  const defaults = window.remotion_renderDefaults;
@@ -37,7 +37,7 @@ const makeRetryPayload = (job) => {
37
37
  initialOpenGlRenderer: job.chromiumOptions.gl,
38
38
  initialHeadless: job.chromiumOptions.headless,
39
39
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
40
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
40
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
41
41
  inFrameMark: null,
42
42
  outFrameMark: null,
43
43
  initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
@@ -73,7 +73,7 @@ const makeRetryPayload = (job) => {
73
73
  initialOpenGlRenderer: job.chromiumOptions.gl,
74
74
  initialHeadless: job.chromiumOptions.headless,
75
75
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
76
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
76
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
77
77
  initialStillImageFormat: defaults.stillImageFormat,
78
78
  inFrameMark: job.startFrame,
79
79
  outFrameMark: job.endFrame,
@@ -112,7 +112,7 @@ const makeRetryPayload = (job) => {
112
112
  initialOpenGlRenderer: job.chromiumOptions.gl,
113
113
  initialHeadless: job.chromiumOptions.headless,
114
114
  initialIgnoreCertificateErrors: job.chromiumOptions.ignoreCertificateErrors,
115
- defaultProps: remotion_1.Internals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
115
+ defaultProps: no_react_1.NoReactInternals.deserializeJSONWithCustomFields(job.serializedInputPropsWithCustomSchema),
116
116
  inFrameMark: job.startFrame,
117
117
  outFrameMark: job.endFrame,
118
118
  initialOffthreadVideoCacheSizeInBytes: job.offthreadVideoCacheSizeInBytes,
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { LogLevel } from '@remotion/renderer';
3
2
  import type { IncomingMessage, ServerResponse } from 'node:http';
4
3
  import type { LiveEventsServer } from './live-events';
@@ -31,7 +31,7 @@ const renderer_1 = require("@remotion/renderer");
31
31
  const node_fs_1 = __importStar(require("node:fs"));
32
32
  const node_os_1 = __importDefault(require("node:os"));
33
33
  const node_path_1 = __importDefault(require("node:path"));
34
- const remotion_1 = require("remotion");
34
+ const no_react_1 = require("remotion/no-react");
35
35
  const chalk_1 = require("../chalk");
36
36
  const config_1 = require("../config");
37
37
  const get_cli_options_1 = require("../get-cli-options");
@@ -50,9 +50,6 @@ const user_passed_output_location_1 = require("../user-passed-output-location");
50
50
  const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel, browserExecutable, browser, chromiumOptions, scale, shouldOutputImageSequence, publicDir, envVariables, puppeteerTimeout, port, height, width, remainingArgs, compositionIdFromUi, entryPointReason, overwrite, quiet, concurrency, frameRange, everyNthFrame, outputLocationFromUI, jpegQuality, onProgress, addCleanupCallback, cancelSignal, crf, uiCodec, uiImageFormat, ffmpegOverride, audioBitrate, muted, enforceAudioTrack, proResProfile, x264Preset, pixelFormat, videoBitrate, numberOfGifLoops, audioCodec, serializedInputPropsWithCustomSchema, disallowParallelEncoding, offthreadVideoCacheSizeInBytes, colorSpace, }) => {
51
51
  var _a;
52
52
  const downloads = [];
53
- if (browserExecutable) {
54
- log_1.Log.verbose({ indent, logLevel }, 'Browser executable: ', browserExecutable);
55
- }
56
53
  const browserInstance = renderer_1.RenderInternals.internalOpenBrowser({
57
54
  browser,
58
55
  browserExecutable,
@@ -246,7 +243,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
246
243
  onBrowserLog: null,
247
244
  onFrameBuffer: null,
248
245
  logLevel,
249
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
246
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
250
247
  indent: undefined,
251
248
  staticBase: null,
252
249
  data: config.props,
@@ -321,7 +318,7 @@ const renderVideoFlow = async ({ remotionRoot, fullEntryPoint, indent, logLevel,
321
318
  disallowParallelEncoding,
322
319
  onBrowserLog: null,
323
320
  onStart: () => undefined,
324
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
321
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
325
322
  data: config.props,
326
323
  indent: undefined,
327
324
  staticBase: null,
@@ -8,7 +8,7 @@ exports.renderStillFlow = void 0;
8
8
  const renderer_1 = require("@remotion/renderer");
9
9
  const node_fs_1 = require("node:fs");
10
10
  const node_path_1 = __importDefault(require("node:path"));
11
- const remotion_1 = require("remotion");
11
+ const no_react_1 = require("remotion/no-react");
12
12
  const chalk_1 = require("../chalk");
13
13
  const cleanup_before_quit_1 = require("../cleanup-before-quit");
14
14
  const config_1 = require("../config");
@@ -50,9 +50,6 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
50
50
  }
51
51
  onProgress({ message, value: progress, ...aggregate });
52
52
  };
53
- if (browserExecutable) {
54
- log_1.Log.verbose({ indent, logLevel }, 'Browser executable: ', browserExecutable);
55
- }
56
53
  const browserInstance = renderer_1.RenderInternals.internalOpenBrowser({
57
54
  browser,
58
55
  browserExecutable,
@@ -182,7 +179,7 @@ const renderStillFlow = async ({ remotionRoot, fullEntryPoint, entryPointReason,
182
179
  indent,
183
180
  onBrowserLog: null,
184
181
  logLevel,
185
- serializedResolvedPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
182
+ serializedResolvedPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
186
183
  indent: undefined,
187
184
  staticBase: null,
188
185
  data: config.props,
package/dist/render.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.render = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
6
6
  const config_1 = require("./config");
7
7
  const preview_server_1 = require("./config/preview-server");
@@ -44,7 +44,7 @@ const render = async (remotionRoot, args, logLevel) => {
44
44
  shouldOutputImageSequence,
45
45
  publicDir,
46
46
  envVariables,
47
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
47
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
48
48
  indent: undefined,
49
49
  staticBase: null,
50
50
  data: inputProps,
package/dist/still.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.still = void 0;
4
- const remotion_1 = require("remotion");
4
+ const no_react_1 = require("remotion/no-react");
5
5
  const cleanup_before_quit_1 = require("./cleanup-before-quit");
6
6
  const preview_server_1 = require("./config/preview-server");
7
7
  const convert_entry_point_to_serve_url_1 = require("./convert-entry-point-to-serve-url");
@@ -39,7 +39,7 @@ const still = async (remotionRoot, args, logLevel) => {
39
39
  chromiumOptions,
40
40
  envVariables,
41
41
  height,
42
- serializedInputPropsWithCustomSchema: remotion_1.Internals.serializeJSONWithDate({
42
+ serializedInputPropsWithCustomSchema: no_react_1.NoReactInternals.serializeJSONWithDate({
43
43
  data: inputProps,
44
44
  indent: undefined,
45
45
  staticBase: null,
@@ -1,2 +1,2 @@
1
- import { Internals } from 'remotion';
2
- export declare const validateDimension: typeof Internals.validateDimension;
1
+ import { NoReactInternals } from 'remotion/no-react';
2
+ export declare const validateDimension: typeof NoReactInternals.validateDimension;
package/dist/validate.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.validateDimension = void 0;
4
4
  /* eslint-disable prefer-destructuring */
5
- const remotion_1 = require("remotion");
6
- exports.validateDimension = remotion_1.Internals.validateDimension;
5
+ const no_react_1 = require("remotion/no-react");
6
+ exports.validateDimension = no_react_1.NoReactInternals.validateDimension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "4.0.71",
3
+ "version": "4.0.73",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -35,11 +35,11 @@
35
35
  "prompts": "2.4.1",
36
36
  "semver": "7.5.3",
37
37
  "source-map": "0.6.1",
38
- "@remotion/bundler": "4.0.71",
39
- "@remotion/media-utils": "4.0.71",
40
- "@remotion/player": "4.0.71",
41
- "@remotion/renderer": "4.0.71",
42
- "remotion": "4.0.71"
38
+ "@remotion/bundler": "4.0.73",
39
+ "@remotion/media-utils": "4.0.73",
40
+ "@remotion/player": "4.0.73",
41
+ "@remotion/renderer": "4.0.73",
42
+ "remotion": "4.0.73"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.8.0",
@@ -65,8 +65,8 @@
65
65
  "react-dom": "18.2.0",
66
66
  "vitest": "0.31.1",
67
67
  "zod": "^3.22.3",
68
- "@remotion/tailwind": "4.0.71",
69
- "@remotion/zod-types": "4.0.71"
68
+ "@remotion/zod-types": "4.0.73",
69
+ "@remotion/tailwind": "4.0.73"
70
70
  },
71
71
  "keywords": [
72
72
  "remotion",