@remotion/cli 3.2.28 → 3.2.30

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.
File without changes
package/dist/benchmark.js CHANGED
File without changes
@@ -0,0 +1,4 @@
1
+ export declare const setAudioBitrate: (bitrate: string) => void;
2
+ export declare const getAudioBitrate: () => string | null;
3
+ export declare const setVideoBitrate: (bitrate: string) => void;
4
+ export declare const getVideoBitrate: () => string | null;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getVideoBitrate = exports.setVideoBitrate = exports.getAudioBitrate = exports.setAudioBitrate = void 0;
4
+ let audioBitrate;
5
+ const setAudioBitrate = (bitrate) => {
6
+ audioBitrate = bitrate;
7
+ };
8
+ exports.setAudioBitrate = setAudioBitrate;
9
+ const getAudioBitrate = () => {
10
+ return audioBitrate;
11
+ };
12
+ exports.getAudioBitrate = getAudioBitrate;
13
+ let videoBitrate;
14
+ const setVideoBitrate = (bitrate) => {
15
+ videoBitrate = bitrate;
16
+ };
17
+ exports.setVideoBitrate = setVideoBitrate;
18
+ const getVideoBitrate = () => {
19
+ return videoBitrate;
20
+ };
21
+ exports.getVideoBitrate = getVideoBitrate;
File without changes
File without changes
File without changes
File without changes
package/dist/render.js CHANGED
@@ -227,6 +227,13 @@ const render = async (remotionRoot) => {
227
227
  puppeteerInstance,
228
228
  onDownload,
229
229
  downloadMap,
230
+ onSlowestFrames: (slowestFrames) => {
231
+ log_1.Log.verbose();
232
+ log_1.Log.verbose(`Slowest frames:`);
233
+ slowestFrames.forEach(({ frame, time }) => {
234
+ log_1.Log.verbose(`Frame ${frame} (${time.toFixed(3)}ms)`);
235
+ });
236
+ },
230
237
  });
231
238
  log_1.Log.info();
232
239
  log_1.Log.info();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "3.2.28",
3
+ "version": "3.2.30",
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.28",
27
- "@remotion/media-utils": "3.2.28",
28
- "@remotion/player": "3.2.28",
29
- "@remotion/renderer": "3.2.28",
26
+ "@remotion/bundler": "3.2.30",
27
+ "@remotion/media-utils": "3.2.30",
28
+ "@remotion/player": "3.2.30",
29
+ "@remotion/renderer": "3.2.30",
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.28",
34
+ "remotion": "3.2.30",
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": "49bb70afa503bfb0c89ee51d8bf3386ad1b91ac4"
74
+ "gitHead": "5dc5f4c010c47186c7911b575998296d6a65f7cb"
75
75
  }