@remotion/renderer 3.0.0-debug.11 → 3.0.0-eslint.6
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/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +21 -0
- package/.turbo/turbo-test.log +40 -0
- package/dist/assets/sanitize-filepath.d.ts.map +1 -1
- package/dist/assets/sanitize-filepath.js +2 -1
- package/dist/assets/sanitize-filepath.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/stitcher.d.ts.map +1 -1
- package/dist/stitcher.js +0 -2
- package/dist/stitcher.js.map +1 -1
- package/package.json +15 -4
- package/dist/convert-mp3-to-pcm.d.ts +0 -7
- package/dist/convert-mp3-to-pcm.d.ts.map +0 -1
- package/dist/convert-mp3-to-pcm.js +0 -41
- package/dist/convert-mp3-to-pcm.js.map +0 -1
- package/dist/handle-null-audio.d.ts +0 -1
- package/dist/handle-null-audio.d.ts.map +0 -1
- package/dist/handle-null-audio.js +0 -2
- package/dist/handle-null-audio.js.map +0 -1
- package/dist/is-local-file.d.ts +0 -2
- package/dist/is-local-file.d.ts.map +0 -1
- package/dist/is-local-file.js +0 -13
- package/dist/is-local-file.js.map +0 -1
- package/dist/render-video.d.ts +0 -38
- package/dist/render-video.d.ts.map +0 -1
- package/dist/render-video.js +0 -169
- package/dist/render-video.js.map +0 -1
- package/dist/validate-frame.d.ts +0 -2
- package/dist/validate-frame.d.ts.map +0 -1
- package/dist/validate-frame.js +0 -25
- package/dist/validate-frame.js.map +0 -1
- package/dist/validate-quality.d.ts +0 -1
- package/dist/validate-quality.d.ts.map +0 -1
- package/dist/validate-quality.js +0 -2
- package/dist/validate-quality.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[35m@remotion/renderer:build: [0mcache hit, replaying output [
|
|
1
|
+
[35m@remotion/renderer:build: [0mcache hit, replaying output [2m90630046a047b253[0m
|
|
2
2
|
[35m@remotion/renderer:build: [0m
|
|
3
|
-
[35m@remotion/renderer:build: [0m> @remotion/renderer@2.6.
|
|
3
|
+
[35m@remotion/renderer:build: [0m> @remotion/renderer@2.6.14 build /Users/jonathanburger/remotion/packages/renderer
|
|
4
4
|
[35m@remotion/renderer:build: [0m> tsc -d
|
|
5
5
|
[35m@remotion/renderer:build: [0m
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[34m@remotion/renderer:lint: [0mcache hit, replaying output [2m039a3ea7d5fb2d3b[0m
|
|
2
|
+
[34m@remotion/renderer:lint: [0m
|
|
3
|
+
[34m@remotion/renderer:lint: [0m> @remotion/renderer@2.6.14 lint /Users/jonathanburger/remotion/packages/renderer
|
|
4
|
+
[34m@remotion/renderer:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[34m@remotion/renderer:lint: [0m
|
|
6
|
+
[34m@remotion/renderer:lint: [0m
|
|
7
|
+
[34m@remotion/renderer:lint: [0m/Users/jonathanburger/remotion/packages/renderer/src/assets/ffmpeg-volume-expression.ts
|
|
8
|
+
[34m@remotion/renderer:lint: [0m 76:1 warning Unexpected 'todo' comment: 'TODO: Should remove irrelevant frames' no-warning-comments
|
|
9
|
+
[34m@remotion/renderer:lint: [0m
|
|
10
|
+
[34m@remotion/renderer:lint: [0m/Users/jonathanburger/remotion/packages/renderer/src/ensure-frames-in-order.ts
|
|
11
|
+
[34m@remotion/renderer:lint: [0m 21:72 warning Async arrow function has no 'await' expression require-await
|
|
12
|
+
[34m@remotion/renderer:lint: [0m
|
|
13
|
+
[34m@remotion/renderer:lint: [0m/Users/jonathanburger/remotion/packages/renderer/src/provide-screenshot.ts
|
|
14
|
+
[34m@remotion/renderer:lint: [0m 18:21 warning Async arrow function has no 'await' expression require-await
|
|
15
|
+
[34m@remotion/renderer:lint: [0m
|
|
16
|
+
[34m@remotion/renderer:lint: [0m/Users/jonathanburger/remotion/packages/renderer/src/test/validate-config-stitcher.test.ts
|
|
17
|
+
[34m@remotion/renderer:lint: [0m 17:34 warning Async arrow function has no 'await' expression require-await
|
|
18
|
+
[34m@remotion/renderer:lint: [0m 29:33 warning Async arrow function has no 'await' expression require-await
|
|
19
|
+
[34m@remotion/renderer:lint: [0m
|
|
20
|
+
[34m@remotion/renderer:lint: [0m✖ 5 problems (0 errors, 5 warnings)
|
|
21
|
+
[34m@remotion/renderer:lint: [0m
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
[35m@remotion/renderer:test: [0mcache hit, replaying output [2m21f71927c0503c53[0m
|
|
2
|
+
[35m@remotion/renderer:test: [0m
|
|
3
|
+
[35m@remotion/renderer:test: [0m> @remotion/renderer@2.6.14 test /Users/jonathanburger/remotion/packages/renderer
|
|
4
|
+
[35m@remotion/renderer:test: [0m> jest
|
|
5
|
+
[35m@remotion/renderer:test: [0m
|
|
6
|
+
[35m@remotion/renderer:test: [0mwatchman warning: Recrawled this watch 109 times, most recently because:
|
|
7
|
+
[35m@remotion/renderer:test: [0mMustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
8
|
+
[35m@remotion/renderer:test: [0mhttps://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
9
|
+
[35m@remotion/renderer:test: [0mTo clear this warning, run:
|
|
10
|
+
[35m@remotion/renderer:test: [0m`watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
|
|
11
|
+
[35m@remotion/renderer:test: [0m
|
|
12
|
+
[35m@remotion/renderer:test: [0mPASS src/test/ffmpeg-filters.test.ts (9.806 s)
|
|
13
|
+
[35m@remotion/renderer:test: [0mPASS src/test/ffmpeg-volume-expression.test.ts (9.204 s)
|
|
14
|
+
[35m@remotion/renderer:test: [0mPASS src/test/split-assets-into-segments.test.tsx (9.892 s)
|
|
15
|
+
[35m@remotion/renderer:test: [0mPASS src/test/parse-ffmpeg-version.test.ts (10.099 s)
|
|
16
|
+
[35m@remotion/renderer:test: [0mPASS src/test/dont-skip-assets.test.ts (10.173 s)
|
|
17
|
+
[35m@remotion/renderer:test: [0mPASS src/test/serve-url.test.js
|
|
18
|
+
[35m@remotion/renderer:test: [0mPASS src/test/avoid-asset-zero-length.test.ts
|
|
19
|
+
[35m@remotion/renderer:test: [0mPASS src/test/asset-compression.test.ts
|
|
20
|
+
[35m@remotion/renderer:test: [0mPASS src/test/handle-weird-file-names.test.ts
|
|
21
|
+
[35m@remotion/renderer:test: [0mPASS src/test/asset-is-used-at-time.test.ts
|
|
22
|
+
[35m@remotion/renderer:test: [0mPASS src/test/serve-url.test.ts
|
|
23
|
+
[35m@remotion/renderer:test: [0mPASS src/test/calculate-atempo.test.ts
|
|
24
|
+
[35m@remotion/renderer:test: [0mPASS src/test/get-audio-channels.test.ts
|
|
25
|
+
[35m@remotion/renderer:test: [0mPASS src/test/parse-ffmpeg-progress.test.ts
|
|
26
|
+
[35m@remotion/renderer:test: [0mPASS src/test/sanitize-file-path.test.ts
|
|
27
|
+
[35m@remotion/renderer:test: [0mPASS src/test/avoid-ffmpeg-stackoverflow.test.ts
|
|
28
|
+
[35m@remotion/renderer:test: [0mPASS src/test/download-file.test.ts
|
|
29
|
+
[35m@remotion/renderer:test: [0mPASS src/test/flatten-volume-array.test.tsx
|
|
30
|
+
[35m@remotion/renderer:test: [0mPASS src/test/validate-config-stitcher.test.ts
|
|
31
|
+
[35m@remotion/renderer:test: [0mPASS src/test/render-still.test.ts
|
|
32
|
+
[35m@remotion/renderer:test: [0mPASS src/test/webpack-to-serve-url.test.ts
|
|
33
|
+
[35m@remotion/renderer:test: [0mPASS src/test/validate-config.test.ts (13.034 s)
|
|
34
|
+
[35m@remotion/renderer:test: [0mPASS src/test/asset-calculation.test.tsx (19.103 s)
|
|
35
|
+
[35m@remotion/renderer:test: [0m
|
|
36
|
+
[35m@remotion/renderer:test: [0mTest Suites: 23 passed, 23 total
|
|
37
|
+
[35m@remotion/renderer:test: [0mTests: 63 passed, 63 total
|
|
38
|
+
[35m@remotion/renderer:test: [0mSnapshots: 0 total
|
|
39
|
+
[35m@remotion/renderer:test: [0mTime: 21.783 s
|
|
40
|
+
[35m@remotion/renderer:test: [0mRan all test suites.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitize-filepath.d.ts","sourceRoot":"","sources":["../../src/assets/sanitize-filepath.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sanitize-filepath.d.ts","sourceRoot":"","sources":["../../src/assets/sanitize-filepath.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,mBAAoB,MAAM,WAKtD,CAAC"}
|
|
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.sanitizeFilePath = void 0;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
8
|
const sanitize_filename_1 = require("./sanitize-filename");
|
|
9
|
+
const pathSeparators = /[/\\]/;
|
|
9
10
|
const sanitizeFilePath = (pathToSanitize) => {
|
|
10
11
|
return pathToSanitize
|
|
11
|
-
.split(
|
|
12
|
+
.split(pathSeparators)
|
|
12
13
|
.map((s) => (0, sanitize_filename_1.sanitizeFilename)(s))
|
|
13
14
|
.join(path_1.default.sep);
|
|
14
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitize-filepath.js","sourceRoot":"","sources":["../../src/assets/sanitize-filepath.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,2DAAqD;
|
|
1
|
+
{"version":3,"file":"sanitize-filepath.js","sourceRoot":"","sources":["../../src/assets/sanitize-filepath.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,2DAAqD;AAErD,MAAM,cAAc,GAAG,OAAO,CAAC;AAExB,MAAM,gBAAgB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC1D,OAAO,cAAc;SACnB,KAAK,CAAC,cAAc,CAAC;SACrB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,oCAAgB,EAAC,CAAC,CAAC,CAAC;SAC/B,IAAI,CAAC,cAAI,CAAC,GAAG,CAAC,CAAC;AAClB,CAAC,CAAC;AALW,QAAA,gBAAgB,oBAK3B"}
|
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;
|
|
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;
|
|
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"}
|
package/dist/stitcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stitcher.d.ts","sourceRoot":"","sources":["../src/stitcher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stitcher.d.ts","sourceRoot":"","sources":["../src/stitcher.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,EACL,gBAAgB,EAChB,WAAW,EAEX,WAAW,EACX,aAAa,EACb,eAAe,EACf,MAAM,UAAU,CAAC;AAiBlB,eAAO,MAAM,mBAAmB;SAC1B,MAAM;SACN,MAAM;WACJ,MAAM;YACL,MAAM;oBACE,MAAM;WACf,OAAO;gBACF,eAAe;;;;;;6BAQH,MAAM,KAAK,IAAI;wBACpB,MAAM,KAAK,IAAI;;;;MAI/B,QAAQ,IAAI,CAwJf,CAAC"}
|
package/dist/stitcher.js
CHANGED
|
@@ -69,8 +69,6 @@ const stitchFramesToVideo = async (options) => {
|
|
|
69
69
|
onDownload: (_g = options.onDownload) !== null && _g !== void 0 ? _g : (() => undefined),
|
|
70
70
|
}),
|
|
71
71
|
]);
|
|
72
|
-
console.log('File URL Assets:');
|
|
73
|
-
console.log(JSON.stringify(fileUrlAssets));
|
|
74
72
|
(0, download_and_map_assets_to_file_1.markAllAssetsAsDownloaded)();
|
|
75
73
|
const assetPositions = (0, calculate_asset_positions_1.calculateAssetPositions)(fileUrlAssets);
|
|
76
74
|
const assetAudioDetails = await (0, get_asset_audio_details_1.getAssetAudioDetails)({
|
package/dist/stitcher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stitcher.js","sourceRoot":"","sources":["../src/stitcher.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"stitcher.js","sourceRoot":"","sources":["../src/stitcher.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,uCAQkB;AAClB,uEAA+D;AAC/D,kFAA2E;AAC3E,sFAA6E;AAC7E,8FAAmF;AACnF,8EAAsE;AACtE,yEAAkE;AAClE,iFAAyE;AACzE,iEAAyD;AACzD,qDAA8C;AAC9C,uEAAuD;AACvD,uEAA+D;AAC/D,iDAAoD;AACpD,mEAA4D;AAC5D,+FAAsF;AACtF,uDAAiD;AAE1C,MAAM,mBAAmB,GAAG,KAAK,EAAE,OAoBzC,EAAiB,EAAE;;IACnB,oBAAS,CAAC,iBAAiB,CAC1B,OAAO,CAAC,MAAM,EAC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AAC,CAAC,IAAI;QAC3B,OAAO,CAAC,cAAc;KACtB,CAAC;IAEF,IAAI,OAAO,CAAC,OAAO,EAAE;QACpB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAC;QACzC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;KACxB;IAED,MAAM,YAAY,GAAG,UAAU;SAC7B,MAAM,CAAoB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;SAC5D,MAAM,CAAC,OAAO,CAAa,CAAC;IAE9B,MAAM,IAAI,GAAG,IAAA,eAAK,EAAC,MAAA,OAAO,CAAC,gBAAgB,mCAAI,QAAQ,EAAE,YAAY,EAAE;QACtE,GAAG,EAAE,OAAO,CAAC,GAAG;KAChB,CAAC,CAAC;IAEH,MAAA,IAAI,CAAC,MAAM,0CAAE,EAAE,CAAC,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;QACxC,IAAI,OAAO,CAAC,UAAU,EAAE;YACvB,MAAM,MAAM,GAAG,IAAA,2CAAmB,EAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YACpD,IAAI,MAAM,KAAK,SAAS,EAAE;gBACzB,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;aAC3B;SACD;IACF,CAAC,CAAC,CAAC;IACH,MAAM,IAAI,CAAC;IACX,OAAO,EAAE,CAAC;AACX,CAAC,CAAC;AA5KW,QAAA,mBAAmB,uBA4K9B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-eslint.6+4bb89116f",
|
|
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": "3.0.0-
|
|
23
|
+
"@remotion/bundler": "3.0.0-eslint.6+4bb89116f",
|
|
21
24
|
"execa": "5.1.1",
|
|
22
25
|
"p-limit": "3.1.0",
|
|
23
26
|
"puppeteer-core": "13.1.2",
|
|
24
|
-
"remotion": "3.0.0-
|
|
27
|
+
"remotion": "3.0.0-eslint.6+4bb89116f",
|
|
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": "
|
|
61
|
+
"gitHead": "4bb89116fd71d0e03d92e1442a5e47b85bb3b8ae"
|
|
51
62
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const getPcmOutputName: (inputName: string) => string;
|
|
2
|
-
export declare const conversionStarted: {
|
|
3
|
-
[key: string]: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const convertMp3ToPcm: (source: string) => Promise<string>;
|
|
6
|
-
export declare const clearMp3Conversions: () => void;
|
|
7
|
-
//# sourceMappingURL=convert-mp3-to-pcm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convert-mp3-to-pcm.d.ts","sourceRoot":"","sources":["../src/convert-mp3-to-pcm.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB,cAAe,MAAM,WAMjD,CAAC;AAQF,eAAO,MAAM,iBAAiB,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAM,CAAC;AAE9D,eAAO,MAAM,eAAe,WAAkB,MAAM,oBAcnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,YAI/B,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// For the h264-mkv format, we need to convert an MP3 file to PCM first
|
|
3
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.clearMp3Conversions = exports.convertMp3ToPcm = exports.conversionStarted = exports.getPcmOutputName = void 0;
|
|
8
|
-
const execa_1 = __importDefault(require("execa"));
|
|
9
|
-
const path_1 = __importDefault(require("path"));
|
|
10
|
-
const getPcmOutputName = (inputName) => {
|
|
11
|
-
const dirname = path_1.default.dirname(inputName);
|
|
12
|
-
const extension = path_1.default.extname(inputName);
|
|
13
|
-
const filename = path_1.default.basename(inputName, extension);
|
|
14
|
-
return path_1.default.join(dirname, `${filename}-converted.wav`);
|
|
15
|
-
};
|
|
16
|
-
exports.getPcmOutputName = getPcmOutputName;
|
|
17
|
-
const isMp3 = async (source) => {
|
|
18
|
-
const { stderr } = await (0, execa_1.default)('ffprobe', [source]);
|
|
19
|
-
return stderr.includes('Audio: mp3');
|
|
20
|
-
};
|
|
21
|
-
exports.conversionStarted = {};
|
|
22
|
-
const convertMp3ToPcm = async (source) => {
|
|
23
|
-
const outname = (0, exports.getPcmOutputName)(source);
|
|
24
|
-
if (!(await isMp3(source))) {
|
|
25
|
-
return source;
|
|
26
|
-
}
|
|
27
|
-
if (exports.conversionStarted[source]) {
|
|
28
|
-
return outname;
|
|
29
|
-
}
|
|
30
|
-
exports.conversionStarted[source] = true;
|
|
31
|
-
await (0, execa_1.default)('ffmpeg', ['-y', '-i', source, (0, exports.getPcmOutputName)(source)]);
|
|
32
|
-
return outname;
|
|
33
|
-
};
|
|
34
|
-
exports.convertMp3ToPcm = convertMp3ToPcm;
|
|
35
|
-
const clearMp3Conversions = () => {
|
|
36
|
-
Object.keys(exports.conversionStarted).forEach((key) => {
|
|
37
|
-
delete exports.conversionStarted[key];
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
exports.clearMp3Conversions = clearMp3Conversions;
|
|
41
|
-
//# sourceMappingURL=convert-mp3-to-pcm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convert-mp3-to-pcm.js","sourceRoot":"","sources":["../src/convert-mp3-to-pcm.ts"],"names":[],"mappings":";AAAA,uEAAuE;;;;;;AAEvE,kDAA0B;AAC1B,gDAAwB;AAEjB,MAAM,gBAAgB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACrD,MAAM,OAAO,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACxC,MAAM,SAAS,GAAG,cAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC1C,MAAM,QAAQ,GAAG,cAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAErD,OAAO,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,QAAQ,gBAAgB,CAAC,CAAC;AACxD,CAAC,CAAC;AANW,QAAA,gBAAgB,oBAM3B;AAEF,MAAM,KAAK,GAAG,KAAK,EAAE,MAAc,EAAE,EAAE;IACtC,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAA,eAAK,EAAC,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAElD,OAAO,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AACtC,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAA6B,EAAE,CAAC;AAEvD,MAAM,eAAe,GAAG,KAAK,EAAE,MAAc,EAAE,EAAE;IACvD,MAAM,OAAO,GAAG,IAAA,wBAAgB,EAAC,MAAM,CAAC,CAAC;IACzC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE;QAC3B,OAAO,MAAM,CAAC;KACd;IAED,IAAI,yBAAiB,CAAC,MAAM,CAAC,EAAE;QAC9B,OAAO,OAAO,CAAC;KACf;IAED,yBAAiB,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEjC,MAAM,IAAA,eAAK,EAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAA,wBAAgB,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACtE,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAdW,QAAA,eAAe,mBAc1B;AAEK,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACvC,MAAM,CAAC,IAAI,CAAC,yBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC9C,OAAO,yBAAiB,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,mBAAmB,uBAI9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=handle-null-audio.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-null-audio.d.ts","sourceRoot":"","sources":["../src/handle-null-audio.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-null-audio.js","sourceRoot":"","sources":["../src/handle-null-audio.ts"],"names":[],"mappings":""}
|
package/dist/is-local-file.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-local-file.d.ts","sourceRoot":"","sources":["../src/is-local-file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,iBAAkB,MAAM,YAY9C,CAAC"}
|
package/dist/is-local-file.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isServeUrl = void 0;
|
|
4
|
-
const isServeUrl = (potentialUrl) => {
|
|
5
|
-
// Theoretically not a valid URL but handle the most basic cases of forgetting protocol in front
|
|
6
|
-
if (potentialUrl.startsWith('www.') ||
|
|
7
|
-
potentialUrl.includes('amazonaws.com')) {
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
return (potentialUrl.startsWith('https://') || !potentialUrl.startsWith('http://'));
|
|
11
|
-
};
|
|
12
|
-
exports.isServeUrl = isServeUrl;
|
|
13
|
-
//# sourceMappingURL=is-local-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-local-file.js","sourceRoot":"","sources":["../src/is-local-file.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,CAAC,YAAoB,EAAE,EAAE;IAClD,gGAAgG;IAChG,IACC,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC;QAC/B,YAAY,CAAC,QAAQ,CAAC,eAAe,CAAC,EACrC;QACD,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,CACN,YAAY,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAC1E,CAAC;AACH,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
|
package/dist/render-video.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Browser as PuppeteerBrowser } from 'puppeteer-core';
|
|
2
|
-
import { Browser, Codec, FfmpegExecutable, FrameRange, PixelFormat, ProResProfile, TCompMetadata } from 'remotion';
|
|
3
|
-
export declare type RenderVideoOnDownload = (src: string) => void;
|
|
4
|
-
export declare type RenderVideoOnProgress = (progress: {
|
|
5
|
-
renderedFrames: number;
|
|
6
|
-
encodedFrames: number;
|
|
7
|
-
encodedDoneIn: number | null;
|
|
8
|
-
renderedDoneIn: number | null;
|
|
9
|
-
stitchStage: 'encoding' | 'muxing';
|
|
10
|
-
}) => void;
|
|
11
|
-
export declare type RenderVideoOptions = {
|
|
12
|
-
proResProfile: ProResProfile | undefined;
|
|
13
|
-
parallelism: number | null;
|
|
14
|
-
parallelEncoding: boolean;
|
|
15
|
-
crf: number | null;
|
|
16
|
-
outputDir: string;
|
|
17
|
-
config: TCompMetadata;
|
|
18
|
-
imageFormat: 'png' | 'jpeg' | 'none';
|
|
19
|
-
ffmpegExecutable: FfmpegExecutable;
|
|
20
|
-
inputProps: object;
|
|
21
|
-
pixelFormat: PixelFormat;
|
|
22
|
-
codec: Codec;
|
|
23
|
-
envVariables: Record<string, string>;
|
|
24
|
-
quality: number | undefined;
|
|
25
|
-
frameRange: FrameRange | null;
|
|
26
|
-
browser: Browser;
|
|
27
|
-
serveUrl: string;
|
|
28
|
-
openedBrowser: PuppeteerBrowser;
|
|
29
|
-
overwrite: boolean;
|
|
30
|
-
absoluteOutputFile: string;
|
|
31
|
-
onProgress: RenderVideoOnProgress;
|
|
32
|
-
shouldOutputImageSequence: boolean;
|
|
33
|
-
fileExtension: string | null;
|
|
34
|
-
bundled: string;
|
|
35
|
-
onDownload: (src: string) => void;
|
|
36
|
-
};
|
|
37
|
-
export declare const renderVideo: ({ parallelism, proResProfile, parallelEncoding, crf, outputDir, config, imageFormat, ffmpegExecutable, inputProps, pixelFormat, codec, envVariables, quality, frameRange, browser, serveUrl, openedBrowser, absoluteOutputFile, onProgress, overwrite, shouldOutputImageSequence, fileExtension, bundled, onDownload, }: RenderVideoOptions) => Promise<void>;
|
|
38
|
-
//# sourceMappingURL=render-video.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-video.d.ts","sourceRoot":"","sources":["../src/render-video.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,O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,UAAU,EAAE,qBAAqB,CAAC;IAClC,yBAAyB,EAAE,OAAO,CAAC;IACnC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,WAAW,4TAyBrB,kBAAkB,kBAuKpB,CAAC"}
|
package/dist/render-video.js
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.renderVideo = void 0;
|
|
7
|
-
const fs_1 = __importDefault(require("fs"));
|
|
8
|
-
const path_1 = __importDefault(require("path"));
|
|
9
|
-
const remotion_1 = require("remotion");
|
|
10
|
-
const stitcher_1 = require("./stitcher");
|
|
11
|
-
const render_1 = require("./render");
|
|
12
|
-
const renderVideo = async ({ parallelism, proResProfile, parallelEncoding, crf, outputDir, config, imageFormat, ffmpegExecutable, inputProps, pixelFormat, codec, envVariables, quality, frameRange, browser, serveUrl, openedBrowser, absoluteOutputFile, onProgress, overwrite, shouldOutputImageSequence, fileExtension, bundled, onDownload, }) => {
|
|
13
|
-
var _a, _b;
|
|
14
|
-
let stitcherFfmpeg;
|
|
15
|
-
let preStitcher;
|
|
16
|
-
let encodedFrames = 0;
|
|
17
|
-
let renderedFrames = 0;
|
|
18
|
-
let preEncodedFileLocation;
|
|
19
|
-
let renderedDoneIn = null;
|
|
20
|
-
let encodedDoneIn = null;
|
|
21
|
-
const renderStart = Date.now();
|
|
22
|
-
if (parallelEncoding) {
|
|
23
|
-
if (typeof crf !== 'number') {
|
|
24
|
-
throw new TypeError('CRF is unexpectedly not a number');
|
|
25
|
-
}
|
|
26
|
-
preEncodedFileLocation = path_1.default.join(outputDir, 'pre-encode.' + fileExtension);
|
|
27
|
-
preStitcher = await (0, stitcher_1.spawnFfmpeg)({
|
|
28
|
-
dir: outputDir,
|
|
29
|
-
width: config.width,
|
|
30
|
-
height: config.height,
|
|
31
|
-
fps: config.fps,
|
|
32
|
-
outputLocation: preEncodedFileLocation,
|
|
33
|
-
force: true,
|
|
34
|
-
imageFormat,
|
|
35
|
-
pixelFormat,
|
|
36
|
-
codec,
|
|
37
|
-
proResProfile,
|
|
38
|
-
crf,
|
|
39
|
-
parallelism,
|
|
40
|
-
onProgress: (frame) => {
|
|
41
|
-
encodedFrames = frame;
|
|
42
|
-
onProgress({
|
|
43
|
-
encodedFrames,
|
|
44
|
-
renderedFrames,
|
|
45
|
-
encodedDoneIn: null,
|
|
46
|
-
renderedDoneIn: null,
|
|
47
|
-
stitchStage: 'encoding',
|
|
48
|
-
});
|
|
49
|
-
},
|
|
50
|
-
verbose: remotion_1.Internals.Logging.isEqualOrBelowLogLevel('verbose'),
|
|
51
|
-
parallelEncoding,
|
|
52
|
-
webpackBundle: bundled,
|
|
53
|
-
ffmpegExecutable,
|
|
54
|
-
assetsInfo: { assets: [] },
|
|
55
|
-
});
|
|
56
|
-
stitcherFfmpeg = preStitcher.task;
|
|
57
|
-
}
|
|
58
|
-
const renderer = (0, render_1.renderFrames)({
|
|
59
|
-
config,
|
|
60
|
-
onFrameUpdate: (frame) => {
|
|
61
|
-
renderedFrames = frame;
|
|
62
|
-
onProgress({
|
|
63
|
-
encodedFrames,
|
|
64
|
-
renderedFrames,
|
|
65
|
-
encodedDoneIn,
|
|
66
|
-
renderedDoneIn,
|
|
67
|
-
stitchStage: 'encoding',
|
|
68
|
-
});
|
|
69
|
-
},
|
|
70
|
-
parallelism,
|
|
71
|
-
parallelEncoding,
|
|
72
|
-
outputDir,
|
|
73
|
-
onStart: () => {
|
|
74
|
-
renderedFrames = 0;
|
|
75
|
-
onProgress({
|
|
76
|
-
encodedDoneIn,
|
|
77
|
-
encodedFrames,
|
|
78
|
-
renderedDoneIn,
|
|
79
|
-
renderedFrames,
|
|
80
|
-
// TODO: Keep a state
|
|
81
|
-
stitchStage: 'encoding',
|
|
82
|
-
});
|
|
83
|
-
},
|
|
84
|
-
inputProps,
|
|
85
|
-
envVariables,
|
|
86
|
-
imageFormat,
|
|
87
|
-
quality,
|
|
88
|
-
browser,
|
|
89
|
-
frameRange: frameRange !== null && frameRange !== void 0 ? frameRange : null,
|
|
90
|
-
puppeteerInstance: openedBrowser,
|
|
91
|
-
writeFrame: async (buffer) => {
|
|
92
|
-
var _a;
|
|
93
|
-
(_a = stitcherFfmpeg === null || stitcherFfmpeg === void 0 ? void 0 : stitcherFfmpeg.stdin) === null || _a === void 0 ? void 0 : _a.write(buffer);
|
|
94
|
-
},
|
|
95
|
-
serveUrl,
|
|
96
|
-
});
|
|
97
|
-
const { assetsInfo } = await renderer;
|
|
98
|
-
if (stitcherFfmpeg) {
|
|
99
|
-
(_a = stitcherFfmpeg === null || stitcherFfmpeg === void 0 ? void 0 : stitcherFfmpeg.stdin) === null || _a === void 0 ? void 0 : _a.end();
|
|
100
|
-
await stitcherFfmpeg;
|
|
101
|
-
(_b = preStitcher === null || preStitcher === void 0 ? void 0 : preStitcher.cleanup) === null || _b === void 0 ? void 0 : _b.call(preStitcher);
|
|
102
|
-
}
|
|
103
|
-
const closeBrowserPromise = openedBrowser.close();
|
|
104
|
-
renderedDoneIn = Date.now() - renderStart;
|
|
105
|
-
onProgress({
|
|
106
|
-
encodedFrames,
|
|
107
|
-
renderedFrames,
|
|
108
|
-
renderedDoneIn,
|
|
109
|
-
encodedDoneIn,
|
|
110
|
-
stitchStage: 'encoding',
|
|
111
|
-
});
|
|
112
|
-
if (process.env.DEBUG) {
|
|
113
|
-
remotion_1.Internals.perf.logPerf();
|
|
114
|
-
}
|
|
115
|
-
if (shouldOutputImageSequence) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
if (typeof crf !== 'number') {
|
|
119
|
-
throw new TypeError('CRF is unexpectedly not a number');
|
|
120
|
-
}
|
|
121
|
-
const dirName = path_1.default.dirname(absoluteOutputFile);
|
|
122
|
-
if (!fs_1.default.existsSync(dirName)) {
|
|
123
|
-
fs_1.default.mkdirSync(dirName, {
|
|
124
|
-
recursive: true,
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
const stitchStart = Date.now();
|
|
128
|
-
await (0, stitcher_1.stitchFramesToVideo)({
|
|
129
|
-
dir: outputDir,
|
|
130
|
-
width: config.width,
|
|
131
|
-
height: config.height,
|
|
132
|
-
fps: config.fps,
|
|
133
|
-
outputLocation: absoluteOutputFile,
|
|
134
|
-
preEncodedFileLocation,
|
|
135
|
-
force: overwrite,
|
|
136
|
-
imageFormat,
|
|
137
|
-
pixelFormat,
|
|
138
|
-
codec,
|
|
139
|
-
proResProfile,
|
|
140
|
-
crf,
|
|
141
|
-
assetsInfo,
|
|
142
|
-
parallelism,
|
|
143
|
-
ffmpegExecutable,
|
|
144
|
-
onProgress: (frame) => {
|
|
145
|
-
onProgress({
|
|
146
|
-
encodedFrames: frame,
|
|
147
|
-
renderedFrames,
|
|
148
|
-
renderedDoneIn,
|
|
149
|
-
encodedDoneIn,
|
|
150
|
-
stitchStage: 'muxing',
|
|
151
|
-
});
|
|
152
|
-
},
|
|
153
|
-
// TODO: Optimization, Now can download before!
|
|
154
|
-
onDownload,
|
|
155
|
-
webpackBundle: bundled,
|
|
156
|
-
verbose: remotion_1.Internals.Logging.isEqualOrBelowLogLevel('verbose'),
|
|
157
|
-
});
|
|
158
|
-
encodedDoneIn = Date.now() - stitchStart;
|
|
159
|
-
onProgress({
|
|
160
|
-
encodedDoneIn,
|
|
161
|
-
encodedFrames,
|
|
162
|
-
renderedDoneIn,
|
|
163
|
-
renderedFrames,
|
|
164
|
-
stitchStage: 'muxing',
|
|
165
|
-
});
|
|
166
|
-
await closeBrowserPromise;
|
|
167
|
-
};
|
|
168
|
-
exports.renderVideo = renderVideo;
|
|
169
|
-
//# sourceMappingURL=render-video.js.map
|
package/dist/render-video.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"render-video.js","sourceRoot":"","sources":["../src/render-video.ts"],"names":[],"mappings":";;;;;;AACA,4CAAoB;AACpB,gDAAwB;AAExB,uCASkB;AAClB,yCAA4D;AAC5D,qCAAsC;AAuC/B,MAAM,WAAW,GAAG,KAAK,EAAE,EACjC,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,MAAM,EACN,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,KAAK,EACL,YAAY,EACZ,OAAO,EACP,UAAU,EACV,OAAO,EACP,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,UAAU,EACV,SAAS,EACT,yBAAyB,EACzB,aAAa,EACb,OAAO,EACP,UAAU,GACU,EAAE,EAAE;;IACxB,IAAI,cAAqD,CAAC;IAC1D,IAAI,WAAW,CAAC;IAChB,IAAI,aAAa,GAAG,CAAC,CAAC;IACtB,IAAI,cAAc,GAAG,CAAC,CAAC;IACvB,IAAI,sBAA0C,CAAC;IAC/C,IAAI,cAAc,GAAkB,IAAI,CAAC;IACzC,IAAI,aAAa,GAAkB,IAAI,CAAC;IACxC,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE/B,IAAI,gBAAgB,EAAE;QACrB,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC5B,MAAM,IAAI,SAAS,CAAC,kCAAkC,CAAC,CAAC;SACxD;QAED,sBAAsB,GAAG,cAAI,CAAC,IAAI,CACjC,SAAS,EACT,aAAa,GAAG,aAAa,CAC7B,CAAC;QAEF,WAAW,GAAG,MAAM,IAAA,sBAAW,EAAC;YAC/B,GAAG,EAAE,SAAS;YACd,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,cAAc,EAAE,s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AAM,EAAE,MAAM,CAAC,MAAM;QACrB,GAAG,EAAE,MAAM,CAAC,GAAG;QACf,cAAc,EAAE,kBAAkB;QAClC,sBAAsB;QACtB,KAAK,EAAE,SAAS;QAChB,WAAW;QACX,WAAW;QACX,KAAK;QACL,aAAa;QACb,GAAG;QACH,UAAU;QACV,WAAW;QACX,gBAAgB;QAChB,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE;YAC7B,UAAU,CAAC;gBACV,aAAa,EAAE,KAAK;gBACpB,cAAc;gBACd,cAAc;gBACd,aAAa;gBACb,WAAW,EAAE,QAAQ;aACrB,CAAC,CAAC;QACJ,CAAC;QACD,+CAA+C;QAC/C,UAAU;QACV,aAAa,EAAE,OAAO;QACtB,OAAO,EAAE,oBAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,CAAC;KAC5D,CAAC,CAAC;IACH,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,WAAW,CAAC;IACzC,UAAU,CAAC;QACV,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,WAAW,EAAE,QAAQ;KACrB,CAAC,CAAC;IAEH,MAAM,mBAAmB,CAAC;AAC3B,CAAC,CAAC;AAhMW,QAAA,WAAW,eAgMtB"}
|
package/dist/validate-frame.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-frame.d.ts","sourceRoot":"","sources":["../src/validate-frame.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UAAW,MAAM,oBAAoB,MAAM,SAgCpE,CAAC"}
|
package/dist/validate-frame.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateFrame = void 0;
|
|
4
|
-
const validateFrame = (frame, durationInFrames) => {
|
|
5
|
-
if (typeof frame === 'undefined') {
|
|
6
|
-
throw new TypeError(`Argument missing for parameter "frame"`);
|
|
7
|
-
}
|
|
8
|
-
if (typeof frame !== 'number') {
|
|
9
|
-
throw new TypeError(`Argument passed for "frame" is not a number: ${frame}`);
|
|
10
|
-
}
|
|
11
|
-
if (frame < 0) {
|
|
12
|
-
throw new RangeError(`Frame ${frame} cannot be negative`);
|
|
13
|
-
}
|
|
14
|
-
if (!Number.isFinite(frame)) {
|
|
15
|
-
throw new RangeError(`Frame ${frame} is not finite`);
|
|
16
|
-
}
|
|
17
|
-
if (frame % 1 !== 0) {
|
|
18
|
-
throw new RangeError(`Argument for frame must be an integer, but got ${frame}`);
|
|
19
|
-
}
|
|
20
|
-
if (frame > durationInFrames - 1) {
|
|
21
|
-
throw new RangeError(`Cannot use frame ${frame}: Duration of composition is ${durationInFrames}, therefore the highest frame that can be rendered is ${durationInFrames - 1}`);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.validateFrame = validateFrame;
|
|
25
|
-
//# sourceMappingURL=validate-frame.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-frame.js","sourceRoot":"","sources":["../src/validate-frame.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,gBAAwB,EAAE,EAAE;IACxE,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QACjC,MAAM,IAAI,SAAS,CAAC,wCAAwC,CAAC,CAAC;KAC9D;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC9B,MAAM,IAAI,SAAS,CAClB,gDAAgD,KAAK,EAAE,CACvD,CAAC;KACF;IAED,IAAI,KAAK,GAAG,CAAC,EAAE;QACd,MAAM,IAAI,UAAU,CAAC,SAAS,KAAK,qBAAqB,CAAC,CAAC;KAC1D;IAED,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;QAC5B,MAAM,IAAI,UAAU,CAAC,SAAS,KAAK,gBAAgB,CAAC,CAAC;KACrD;IAED,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,EAAE;QACpB,MAAM,IAAI,UAAU,CACnB,kDAAkD,KAAK,EAAE,CACzD,CAAC;KACF;IAED,IAAI,KAAK,GAAG,gBAAgB,GAAG,CAAC,EAAE;QACjC,MAAM,IAAI,UAAU,CACnB,oBAAoB,KAAK,gCAAgC,gBAAgB,yDACxE,gBAAgB,GAAG,CACpB,EAAE,CACF,CAAC;KACF;AACF,CAAC,CAAC;AAhCW,QAAA,aAAa,iBAgCxB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=validate-quality.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-quality.d.ts","sourceRoot":"","sources":["../src/validate-quality.ts"],"names":[],"mappings":""}
|
package/dist/validate-quality.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validate-quality.js","sourceRoot":"","sources":["../src/validate-quality.ts"],"names":[],"mappings":""}
|