@remotion/cli 3.2.15 → 3.2.20

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.
Files changed (35) hide show
  1. package/dist/bundle.d.ts +0 -0
  2. package/dist/bundle.js +0 -0
  3. package/dist/config/bundle-out-dir.d.ts +0 -0
  4. package/dist/config/bundle-out-dir.js +0 -0
  5. package/dist/config/get-public-path.d.ts +0 -0
  6. package/dist/config/get-public-path.js +0 -0
  7. package/dist/config/public-dir.d.ts +0 -0
  8. package/dist/config/public-dir.js +0 -0
  9. package/dist/editor/components/Button.d.ts +0 -0
  10. package/dist/editor/components/Button.js +0 -0
  11. package/dist/editor/components/Canvas.js +3 -4
  12. package/dist/editor/components/EditorContexts.d.ts +0 -0
  13. package/dist/editor/components/EditorContexts.js +0 -0
  14. package/dist/editor/components/Preview.js +1 -1
  15. package/dist/editor/components/PreviewZoomControls.d.ts +0 -0
  16. package/dist/editor/components/PreviewZoomControls.js +0 -0
  17. package/dist/editor/components/ResetZoomButton.d.ts +0 -0
  18. package/dist/editor/components/ResetZoomButton.js +0 -0
  19. package/dist/editor/helpers/get-effective-translation.d.ts +0 -0
  20. package/dist/editor/helpers/get-effective-translation.js +0 -0
  21. package/dist/editor/helpers/normalize-wheel.d.ts +0 -0
  22. package/dist/editor/helpers/normalize-wheel.js +0 -0
  23. package/dist/get-cli-options.d.ts +1 -1
  24. package/dist/get-cli-options.js +3 -3
  25. package/dist/index.d.ts +1 -1
  26. package/dist/list-of-remotion-packages.d.ts +0 -0
  27. package/dist/list-of-remotion-packages.js +0 -0
  28. package/dist/prepare-entry-point.d.ts +0 -0
  29. package/dist/prepare-entry-point.js +0 -0
  30. package/dist/render.js +4 -4
  31. package/dist/setup-cache.js +12 -8
  32. package/dist/smooth-zoom.d.ts +0 -0
  33. package/dist/smooth-zoom.js +0 -0
  34. package/package.json +7 -7
  35. package/web/favicon.png +0 -0
package/dist/bundle.d.ts CHANGED
File without changes
package/dist/bundle.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Canvas = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const player_1 = require("@remotion/player");
6
- const calculate_scale_1 = require("@remotion/player/src/calculate-scale");
7
6
  const react_1 = require("react");
8
7
  const smooth_zoom_1 = require("../../smooth-zoom");
9
8
  const colors_1 = require("../helpers/colors");
@@ -53,7 +52,7 @@ const Canvas = () => {
53
52
  }
54
53
  e.preventDefault();
55
54
  setSize((prevSize) => {
56
- const scale = (0, calculate_scale_1.calculateScale)({
55
+ const scale = player_1.PlayerInternals.calculateScale({
57
56
  canvasSize: size,
58
57
  compositionHeight: dimensions.height,
59
58
  compositionWidth: dimensions.width,
@@ -145,7 +144,7 @@ const Canvas = () => {
145
144
  return;
146
145
  }
147
146
  setSize((prevSize) => {
148
- const scale = (0, calculate_scale_1.calculateScale)({
147
+ const scale = player_1.PlayerInternals.calculateScale({
149
148
  canvasSize: size,
150
149
  compositionHeight: dimensions.height,
151
150
  compositionWidth: dimensions.width,
@@ -168,7 +167,7 @@ const Canvas = () => {
168
167
  return;
169
168
  }
170
169
  setSize((prevSize) => {
171
- const scale = (0, calculate_scale_1.calculateScale)({
170
+ const scale = player_1.PlayerInternals.calculateScale({
172
171
  canvasSize: size,
173
172
  compositionHeight: dimensions.height,
174
173
  compositionWidth: dimensions.width,
File without changes
File without changes
@@ -33,7 +33,7 @@ const Inner = ({ canvasSize }) => {
33
33
  canvasSize,
34
34
  compositionHeight: config.height,
35
35
  compositionWidth: config.width,
36
- previewSize,
36
+ previewSize: previewSize.size,
37
37
  });
38
38
  const outer = (0, react_1.useMemo)(() => {
39
39
  return {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -5,7 +5,7 @@ export declare const getCliOptions: (options: {
5
5
  type: 'still' | 'series' | 'get-compositions';
6
6
  }) => Promise<{
7
7
  puppeteerTimeout: number;
8
- parallelism: number | null;
8
+ concurrency: number | null;
9
9
  frameRange: FrameRange | null;
10
10
  shouldOutputImageSequence: boolean;
11
11
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
@@ -152,11 +152,11 @@ const getCliOptions = async (options) => {
152
152
  };
153
153
  const everyNthFrame = config_1.ConfigInternals.getAndValidateEveryNthFrame(codec);
154
154
  const numberOfGifLoops = config_1.ConfigInternals.getAndValidateNumberOfGifLoops(codec);
155
- const parallelism = config_1.ConfigInternals.getConcurrency();
156
- renderer_1.RenderInternals.validateConcurrency(parallelism, 'concurrency');
155
+ const concurrency = config_1.ConfigInternals.getConcurrency();
156
+ renderer_1.RenderInternals.validateConcurrency(concurrency, 'concurrency');
157
157
  return {
158
158
  puppeteerTimeout: config_1.ConfigInternals.getCurrentPuppeteerTimeout(),
159
- parallelism,
159
+ concurrency,
160
160
  frameRange,
161
161
  shouldOutputImageSequence,
162
162
  codec,
package/dist/index.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare const CliInternals: {
72
72
  type: "still" | "series" | "get-compositions";
73
73
  }) => Promise<{
74
74
  puppeteerTimeout: number;
75
- parallelism: number | null;
75
+ concurrency: number | null;
76
76
  frameRange: import("@remotion/renderer").FrameRange | null;
77
77
  shouldOutputImageSequence: boolean;
78
78
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "gif";
File without changes
File without changes
File without changes
File without changes
package/dist/render.js CHANGED
@@ -36,7 +36,7 @@ const render = async (remotionRoot) => {
36
36
  const downloadMap = renderer_1.RenderInternals.makeDownloadMap();
37
37
  await (0, initialize_render_cli_1.initializeRenderCli)(remotionRoot, 'sequence');
38
38
  log_1.Log.verbose('Asset dirs', downloadMap.assetDir);
39
- const { codec, proResProfile, parallelism, frameRange, shouldOutputImageSequence, overwrite, inputProps, envVariables, quality, browser, crf, pixelFormat, imageFormat, browserExecutable, ffmpegExecutable, ffprobeExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, puppeteerTimeout, muted, enforceAudioTrack, publicDir, } = await (0, get_cli_options_1.getCliOptions)({
39
+ const { codec, proResProfile, concurrency, frameRange, shouldOutputImageSequence, overwrite, inputProps, envVariables, quality, browser, crf, pixelFormat, imageFormat, browserExecutable, ffmpegExecutable, ffprobeExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, puppeteerTimeout, muted, enforceAudioTrack, publicDir, } = await (0, get_cli_options_1.getCliOptions)({
40
40
  isLambda: false,
41
41
  type: 'series',
42
42
  });
@@ -129,7 +129,7 @@ const render = async (remotionRoot) => {
129
129
  rendering: {
130
130
  frames: renderedFrames,
131
131
  totalFrames: totalFrames.length,
132
- concurrency: renderer_1.RenderInternals.getActualConcurrency(parallelism),
132
+ concurrency: renderer_1.RenderInternals.getActualConcurrency(concurrency),
133
133
  doneIn: renderedDoneIn,
134
134
  steps,
135
135
  },
@@ -178,7 +178,7 @@ const render = async (remotionRoot) => {
178
178
  everyNthFrame,
179
179
  envVariables,
180
180
  frameRange,
181
- parallelism,
181
+ concurrency,
182
182
  puppeteerInstance,
183
183
  quality,
184
184
  timeoutInMilliseconds: puppeteerTimeout,
@@ -218,7 +218,7 @@ const render = async (remotionRoot) => {
218
218
  },
219
219
  puppeteerInstance,
220
220
  overwrite,
221
- parallelism,
221
+ concurrency,
222
222
  pixelFormat,
223
223
  proResProfile,
224
224
  quality,
@@ -40,7 +40,7 @@ const bundleOnCli = async ({ fullPath, steps, remotionRoot, publicDir, }) => {
40
40
  const [hash] = bundler_1.BundlerInternals.getConfig({
41
41
  outDir: '',
42
42
  entryPoint: fullPath,
43
- onProgressUpdate: onProgress,
43
+ onProgress,
44
44
  options,
45
45
  resolvedRemotionRoot: remotionRoot,
46
46
  });
@@ -55,13 +55,17 @@ const bundleOnCli = async ({ fullPath, steps, remotionRoot, publicDir, }) => {
55
55
  }
56
56
  const bundleStartTime = Date.now();
57
57
  const bundlingProgress = (0, progress_bar_1.createOverwriteableCliOutput)((0, parse_command_line_1.quietFlagProvided)());
58
- const bundled = await (0, bundler_1.bundle)(fullPath, (progress) => {
59
- bundlingProgress.update((0, progress_bar_1.makeBundlingProgress)({
60
- progress: progress / 100,
61
- steps,
62
- doneIn: null,
63
- }));
64
- }, options);
58
+ const bundled = await (0, bundler_1.bundle)({
59
+ entryPoint: fullPath,
60
+ onProgress: (progress) => {
61
+ bundlingProgress.update((0, progress_bar_1.makeBundlingProgress)({
62
+ progress: progress / 100,
63
+ steps,
64
+ doneIn: null,
65
+ }));
66
+ },
67
+ ...options,
68
+ });
65
69
  bundlingProgress.update((0, progress_bar_1.makeBundlingProgress)({
66
70
  progress: 1,
67
71
  steps,
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "3.2.15",
3
+ "version": "3.2.20",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -23,15 +23,15 @@
23
23
  "author": "Jonny Burger <jonny@remotion.dev>",
24
24
  "license": "SEE LICENSE IN LICENSE.md",
25
25
  "dependencies": {
26
- "@remotion/bundler": "3.2.15",
27
- "@remotion/media-utils": "3.2.15",
28
- "@remotion/player": "3.2.15",
29
- "@remotion/renderer": "3.2.15",
26
+ "@remotion/bundler": "3.2.20",
27
+ "@remotion/media-utils": "3.2.20",
28
+ "@remotion/player": "3.2.20",
29
+ "@remotion/renderer": "3.2.20",
30
30
  "better-opn": "2.1.1",
31
31
  "dotenv": "9.0.2",
32
32
  "memfs": "3.4.3",
33
33
  "minimist": "1.2.6",
34
- "remotion": "3.2.15",
34
+ "remotion": "3.2.20",
35
35
  "semver": "7.3.5",
36
36
  "source-map": "0.6.1"
37
37
  },
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "7346704683815d274733cb3d280157b9ff570773"
74
+ "gitHead": "640f36c0c2d9fb1b7768925bf9d64840cbc31bc6"
75
75
  }
package/web/favicon.png CHANGED
Binary file