@remotion/renderer 2.6.11 → 2.6.12

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.
@@ -1,5 +1,5 @@
1
- @remotion/renderer:build: cache hit, replaying output 404feee9682f226a
1
+ @remotion/renderer:build: cache hit, replaying output 658d8ae71b8f9788
2
2
  @remotion/renderer:build: 
3
- @remotion/renderer:build: > @remotion/renderer@2.6.10 build /Users/jonathanburger/remotion/packages/renderer
3
+ @remotion/renderer:build: > @remotion/renderer@2.6.11 build /Users/jonathanburger/remotion/packages/renderer
4
4
  @remotion/renderer:build: > tsc -d
5
5
  @remotion/renderer:build: 
@@ -1,9 +1,6 @@
1
1
  import { FfmpegFilterCalculation } from './calculate-ffmpeg-filters';
2
2
  export declare const createFfmpegComplexFilter: (filters: FfmpegFilterCalculation[]) => Promise<{
3
- complexFilterFlag: [
4
- string,
5
- string
6
- ] | null;
3
+ complexFilterFlag: [string, string] | null;
7
4
  cleanup: () => void;
8
5
  }>;
9
6
  //# sourceMappingURL=create-ffmpeg-complex-filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-ffmpeg-complex-filter.d.ts","sourceRoot":"","sources":["../src/create-ffmpeg-complex-filter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAmBnE,eAAO,MAAM,yBAAyB,YAC5B,uBAAuB,EAAE,KAChC,QAAQ;IACV,iBAAiB,EAAE;QAAC,MAAM;QAAE,MAAM;KAAC,GAAG,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CA2BA,CAAC"}
1
+ {"version":3,"file":"create-ffmpeg-complex-filter.d.ts","sourceRoot":"","sources":["../src/create-ffmpeg-complex-filter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAmBnE,eAAO,MAAM,yBAAyB,YAC5B,uBAAuB,EAAE,KAChC,QAAQ;IACV,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CA2BA,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { Codec } from 'remotion';
2
- export declare const getFileExtensionFromCodec: (codec: Codec, type: 'chunk' | 'final') => "mp3" | "aac" | "wav" | "webm" | "mp4" | "mkv" | "mov";
2
+ export declare const getFileExtensionFromCodec: (codec: Codec, type: 'chunk' | 'final') => "mp3" | "aac" | "wav" | "mp4" | "mkv" | "mov" | "webm";
3
3
  //# sourceMappingURL=get-extension-from-codec.d.ts.map
package/dist/index.d.ts CHANGED
@@ -36,5 +36,7 @@ export declare const RenderInternals: {
36
36
  scale: number;
37
37
  codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv";
38
38
  }) => void;
39
+ min: (arr: number[]) => number;
40
+ max: (arr: number[]) => number;
39
41
  };
40
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAY/C,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,KAAK,EAAE,OAAO,CAAC;QACf,qBAAqB,EAAE,MAAM,aAAa,EAAE,CAAC;QAC7C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAC3C,sBAAsB,EAAE,MAAM,MAAM,EAAE,CAAC;KACvC;CACD;AAED,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAC,MAAM,SAAS,CAAC;AACrE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;CAU3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,UAAU,CAAC;AAa/C,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,KAAK,EAAE,OAAO,CAAC;QACf,qBAAqB,EAAE,MAAM,aAAa,EAAE,CAAC;QAC7C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAC3C,sBAAsB,EAAE,MAAM,MAAM,EAAE,CAAC;KACvC;CACD;AAED,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,WAAW,EAAE,WAAW,EAAE,kBAAkB,EAAC,MAAM,SAAS,CAAC;AACrE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAY3B,CAAC"}
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ exports.RenderInternals = exports.stitchFramesToVideo = exports.renderStill = ex
4
4
  const ffmpeg_flags_1 = require("./ffmpeg-flags");
5
5
  const get_concurrency_1 = require("./get-concurrency");
6
6
  const get_local_browser_executable_1 = require("./get-local-browser-executable");
7
+ const min_max_1 = require("./min-max");
7
8
  const open_browser_1 = require("./open-browser");
8
9
  const validate_even_dimensions_with_codec_1 = require("./validate-even-dimensions-with-codec");
9
10
  const validate_ffmpeg_1 = require("./validate-ffmpeg");
@@ -25,5 +26,7 @@ exports.RenderInternals = {
25
26
  binaryExists: validate_ffmpeg_1.binaryExists,
26
27
  getFfmpegBuildInfo: ffmpeg_flags_1.getFfmpegBuildInfo,
27
28
  validateEvenDimensionsWithCodec: validate_even_dimensions_with_codec_1.validateEvenDimensionsWithCodec,
29
+ min: min_max_1.min,
30
+ max: min_max_1.max,
28
31
  };
29
32
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,iDAIwB;AACxB,uDAAuD;AACvD,iFAAkE;AAClE,iDAA2C;AAC3C,+FAAsF;AACtF,uDAA+D;AAY/D,uDAAmD;AAA3C,mHAAA,eAAe,OAAA;AACvB,mCAAsC;AAA9B,sGAAA,YAAY,OAAA;AACpB,+CAA2C;AAAnC,2GAAA,WAAW,OAAA;AACnB,uCAA+C;AAAvC,+GAAA,mBAAmB,OAAA;AAEd,QAAA,eAAe,GAAG;IAC9B,kBAAkB,EAAlB,iDAAkB;IAClB,gBAAgB,EAAhB,+BAAgB;IAChB,oBAAoB,EAApB,sCAAoB;IACpB,gBAAgB,EAAhB,+BAAgB;IAChB,WAAW,EAAX,0BAAW;IACX,cAAc,EAAd,gCAAc;IACd,YAAY,EAAZ,8BAAY;IACZ,kBAAkB,EAAlB,iCAAkB;IAClB,+BAA+B,EAA/B,qEAA+B;CAC/B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,iDAIwB;AACxB,uDAAuD;AACvD,iFAAkE;AAClE,uCAAmC;AACnC,iDAA2C;AAC3C,+FAAsF;AACtF,uDAA+D;AAY/D,uDAAmD;AAA3C,mHAAA,eAAe,OAAA;AACvB,mCAAsC;AAA9B,sGAAA,YAAY,OAAA;AACpB,+CAA2C;AAAnC,2GAAA,WAAW,OAAA;AACnB,uCAA+C;AAAvC,+GAAA,mBAAmB,OAAA;AAEd,QAAA,eAAe,GAAG;IAC9B,kBAAkB,EAAlB,iDAAkB;IAClB,gBAAgB,EAAhB,+BAAgB;IAChB,oBAAoB,EAApB,sCAAoB;IACpB,gBAAgB,EAAhB,+BAAgB;IAChB,WAAW,EAAX,0BAAW;IACX,cAAc,EAAd,gCAAc;IACd,YAAY,EAAZ,8BAAY;IACZ,kBAAkB,EAAlB,iCAAkB;IAClB,+BAA+B,EAA/B,qEAA+B;IAC/B,GAAG,EAAH,aAAG;IACH,GAAG,EAAH,aAAG;CACH,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { Page, ScreenshotOptions } from 'puppeteer-core';
2
3
  export declare const screenshot: (page: Page, options?: ScreenshotOptions) => Promise<Buffer | string | void>;
3
4
  //# sourceMappingURL=puppeteer-screenshot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"puppeteer-screenshot.d.ts","sourceRoot":"","sources":["../src/puppeteer-screenshot.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,IAAI,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,UAAU,SAChB,IAAI,YACD,iBAAiB,KACxB,QAAQ,MAAM,GAAG,MAAM,GAAG,IAAI,CAyFhC,CAAC"}
1
+ {"version":3,"file":"puppeteer-screenshot.d.ts","sourceRoot":"","sources":["../src/puppeteer-screenshot.ts"],"names":[],"mappings":";AACA,OAAO,EAAC,IAAI,EAAE,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,UAAU,SAChB,IAAI,YACD,iBAAiB,KACxB,QAAQ,MAAM,GAAG,MAAM,GAAG,IAAI,CAyFhC,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import puppeteer from 'puppeteer-core';
2
3
  import { ImageFormat } from 'remotion';
3
4
  export declare const screenshotDOMElement: ({ page, imageFormat, quality, opts, }: {
@@ -1 +1 @@
1
- {"version":3,"file":"screenshot-dom-element.d.ts","sourceRoot":"","sources":["../src/screenshot-dom-element.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAGrC,eAAO,MAAM,oBAAoB;UAM1B,UAAU,IAAI;iBACP,WAAW;aACf,MAAM,GAAG,SAAS;;;;;MAKxB,QAAQ,MAAM,CA2BjB,CAAC"}
1
+ {"version":3,"file":"screenshot-dom-element.d.ts","sourceRoot":"","sources":["../src/screenshot-dom-element.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,UAAU,CAAC;AAGrC,eAAO,MAAM,oBAAoB;UAM1B,UAAU,IAAI;iBACP,WAAW;aACf,MAAM,GAAG,SAAS;;;;;MAKxB,QAAQ,MAAM,CA2BjB,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { Page, ScreenshotOptions } from 'puppeteer-core';
2
3
  export declare const _screenshotTask: (page: Page, format: 'png' | 'jpeg', options: ScreenshotOptions) => Promise<Buffer | string>;
3
4
  //# sourceMappingURL=screenshot-task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"screenshot-task.d.ts","sourceRoot":"","sources":["../src/screenshot-task.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,iBAAiB,EAAS,MAAM,gBAAgB,CAAC;AAG3E,eAAO,MAAM,eAAe,SACrB,IAAI,UACF,KAAK,GAAG,MAAM,WACb,iBAAiB,KACxB,QAAQ,MAAM,GAAG,MAAM,CAqCzB,CAAC"}
1
+ {"version":3,"file":"screenshot-task.d.ts","sourceRoot":"","sources":["../src/screenshot-task.ts"],"names":[],"mappings":";AACA,OAAO,EAAa,IAAI,EAAE,iBAAiB,EAAS,MAAM,gBAAgB,CAAC;AAG3E,eAAO,MAAM,eAAe,SACrB,IAAI,UACF,KAAK,GAAG,MAAM,WACb,iBAAiB,KACxB,QAAQ,MAAM,GAAG,MAAM,CAqCzB,CAAC"}
@@ -7,7 +7,7 @@ export declare const stitchFramesToVideo: (options: {
7
7
  outputLocation: string;
8
8
  force: boolean;
9
9
  assetsInfo: RenderAssetInfo;
10
- imageFormat?: "none" | "png" | "jpeg" | undefined;
10
+ imageFormat?: "png" | "jpeg" | "none" | undefined;
11
11
  pixelFormat?: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le" | undefined;
12
12
  codec?: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | undefined;
13
13
  crf?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/renderer",
3
- "version": "2.6.11",
3
+ "version": "2.6.12",
4
4
  "description": "Renderer for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,12 +16,15 @@
16
16
  "repository": {
17
17
  "url": "https://github.com/remotion-dev/remotion"
18
18
  },
19
+ "bugs": {
20
+ "url": "https://github.com/remotion-dev/remotion/issues"
21
+ },
19
22
  "dependencies": {
20
- "@remotion/bundler": "2.6.11",
23
+ "@remotion/bundler": "2.6.12",
21
24
  "execa": "5.1.1",
22
25
  "p-limit": "3.1.0",
23
26
  "puppeteer-core": "13.1.2",
24
- "remotion": "2.6.11",
27
+ "remotion": "2.6.12",
25
28
  "serve-handler": "6.1.3"
26
29
  },
27
30
  "peerDependencies": {
@@ -44,8 +47,16 @@
44
47
  "ts-jest": "^27.0.5",
45
48
  "typescript": "^4.5.5"
46
49
  },
50
+ "keywords": [
51
+ "remotion",
52
+ "ffmpeg",
53
+ "video",
54
+ "react",
55
+ "puppeteer",
56
+ "player"
57
+ ],
47
58
  "publishConfig": {
48
59
  "access": "public"
49
60
  },
50
- "gitHead": "fc0286013a2997409781caf2f03c1c2ebf595db7"
61
+ "gitHead": "6d76097a98c44dc976cecfa04526d663339cf45c"
51
62
  }