@remotion/renderer 4.0.183 → 4.0.185
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/compositor/compositor.js +1 -1
- package/dist/example-videos.d.ts +20 -0
- package/dist/example-videos.js +29 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +2 -0
- package/dist/offthread-video-server.js +1 -0
- package/package.json +10 -10
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.startCompositor = exports.startLongRunningCompositor = void 0;
|
|
7
|
+
const streaming_1 = require("@remotion/streaming");
|
|
7
8
|
const node_child_process_1 = require("node:child_process");
|
|
8
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
9
10
|
const get_concurrency_1 = require("../get-concurrency");
|
|
10
11
|
const log_level_1 = require("../log-level");
|
|
11
12
|
const logger_1 = require("../logger");
|
|
12
|
-
const streaming_1 = require("../streaming");
|
|
13
13
|
const compose_1 = require("./compose");
|
|
14
14
|
const get_executable_path_1 = require("./get-executable-path");
|
|
15
15
|
const make_file_executable_1 = require("./make-file-executable");
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const exampleVideos: {
|
|
2
|
+
bigBuckBunny: string;
|
|
3
|
+
transparentWebm: string;
|
|
4
|
+
framerWithoutFileExtension: string;
|
|
5
|
+
corrupted: string;
|
|
6
|
+
customDar: string;
|
|
7
|
+
screenrecording: string;
|
|
8
|
+
nofps: string;
|
|
9
|
+
variablefps: string;
|
|
10
|
+
zerotimestamp: string;
|
|
11
|
+
webcam: string;
|
|
12
|
+
iphonevideo: string;
|
|
13
|
+
av1: string;
|
|
14
|
+
framer24fps: string;
|
|
15
|
+
music: string;
|
|
16
|
+
notavideo: string;
|
|
17
|
+
notafile: string;
|
|
18
|
+
transparentwithdar: string;
|
|
19
|
+
iphonehevc: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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.exampleVideos = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
8
|
+
const examplePackage = node_path_1.default.join(__dirname, '..', '..', 'example');
|
|
9
|
+
const docsPackage = node_path_1.default.join(__dirname, '..', '..', 'docs');
|
|
10
|
+
exports.exampleVideos = {
|
|
11
|
+
bigBuckBunny: node_path_1.default.join(examplePackage, 'public/bigbuckbunny.mp4'),
|
|
12
|
+
transparentWebm: node_path_1.default.join(docsPackage, '/static/img/transparent-video.webm'),
|
|
13
|
+
framerWithoutFileExtension: node_path_1.default.join(examplePackage, 'public', 'framermp4withoutfileextension'),
|
|
14
|
+
corrupted: node_path_1.default.join(examplePackage, 'public', 'corrupted.mp4'),
|
|
15
|
+
customDar: node_path_1.default.join(examplePackage, 'public', 'custom-dar.mp4'),
|
|
16
|
+
screenrecording: node_path_1.default.join(examplePackage, 'public', 'quick.mov'),
|
|
17
|
+
nofps: node_path_1.default.join(examplePackage, 'public', 'nofps.webm'),
|
|
18
|
+
variablefps: node_path_1.default.join(examplePackage, 'public', 'variablefps.webm'),
|
|
19
|
+
zerotimestamp: node_path_1.default.join(examplePackage, 'public', 'zero-timestamp.mp4'),
|
|
20
|
+
webcam: node_path_1.default.join(examplePackage, 'public', 'webcam.webm'),
|
|
21
|
+
iphonevideo: node_path_1.default.join(examplePackage, 'public', 'iphonevideo.mov'),
|
|
22
|
+
av1: node_path_1.default.join(examplePackage, 'public', 'av1.webm'),
|
|
23
|
+
framer24fps: node_path_1.default.join(examplePackage, 'src', 'resources', 'framer-24fps.mp4'),
|
|
24
|
+
music: node_path_1.default.join(examplePackage, 'public', 'music.mp3'),
|
|
25
|
+
notavideo: node_path_1.default.join(examplePackage, 'public', 'giphy.gif'),
|
|
26
|
+
notafile: node_path_1.default.join(examplePackage, 'public', 'doesnotexist'),
|
|
27
|
+
transparentwithdar: node_path_1.default.join(examplePackage, 'public', 'transparent-with-dar.webm'),
|
|
28
|
+
iphonehevc: node_path_1.default.join(examplePackage, 'public', 'iphone-hevc.mov'),
|
|
29
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -958,4 +958,24 @@ export declare const RenderInternals: {
|
|
|
958
958
|
setConfig: () => never;
|
|
959
959
|
};
|
|
960
960
|
}>) => Promise<import("./ensure-browser").BrowserStatus>;
|
|
961
|
+
exampleVideos: {
|
|
962
|
+
bigBuckBunny: string;
|
|
963
|
+
transparentWebm: string;
|
|
964
|
+
framerWithoutFileExtension: string;
|
|
965
|
+
corrupted: string;
|
|
966
|
+
customDar: string;
|
|
967
|
+
screenrecording: string;
|
|
968
|
+
nofps: string;
|
|
969
|
+
variablefps: string;
|
|
970
|
+
zerotimestamp: string;
|
|
971
|
+
webcam: string;
|
|
972
|
+
iphonevideo: string;
|
|
973
|
+
av1: string;
|
|
974
|
+
framer24fps: string;
|
|
975
|
+
music: string;
|
|
976
|
+
notavideo: string;
|
|
977
|
+
notafile: string;
|
|
978
|
+
transparentwithdar: string;
|
|
979
|
+
iphonehevc: string;
|
|
980
|
+
};
|
|
961
981
|
};
|
package/dist/index.js
CHANGED
|
@@ -114,6 +114,7 @@ const browser_instances_1 = require("./browser-instances");
|
|
|
114
114
|
const codec_supports_media_1 = require("./codec-supports-media");
|
|
115
115
|
const make_file_executable_1 = require("./compositor/make-file-executable");
|
|
116
116
|
const ensure_browser_2 = require("./ensure-browser");
|
|
117
|
+
const example_videos_1 = require("./example-videos");
|
|
117
118
|
const audio_codec_1 = require("./options/audio-codec");
|
|
118
119
|
const render_has_audio_1 = require("./render-has-audio");
|
|
119
120
|
const to_megabytes_1 = require("./to-megabytes");
|
|
@@ -206,6 +207,7 @@ exports.RenderInternals = {
|
|
|
206
207
|
codecSupportsMedia: codec_supports_media_1.codecSupportsMedia,
|
|
207
208
|
toMegabytes: to_megabytes_1.toMegabytes,
|
|
208
209
|
internalEnsureBrowser: ensure_browser_2.internalEnsureBrowser,
|
|
210
|
+
exampleVideos: example_videos_1.exampleVideos,
|
|
209
211
|
};
|
|
210
212
|
// Warn of potential performance issues with Apple Silicon (M1 chip under Rosetta)
|
|
211
213
|
(0, check_version_requirements_1.checkRuntimeVersion)('info', false);
|
|
@@ -164,6 +164,7 @@ const startOffthreadVideoServer = ({ downloadMap, concurrency, logLevel, indent,
|
|
|
164
164
|
});
|
|
165
165
|
})
|
|
166
166
|
.catch((err) => {
|
|
167
|
+
logger_1.Log.error({ indent, logLevel }, 'Could not extract frame from compositor', err);
|
|
167
168
|
if (!response.headersSent) {
|
|
168
169
|
response.writeHead(500);
|
|
169
170
|
response.write(JSON.stringify({ error: err.stack }));
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.185",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"extract-zip": "2.0.1",
|
|
19
19
|
"source-map": "^0.8.0-beta.0",
|
|
20
20
|
"ws": "8.17.1",
|
|
21
|
-
"remotion": "4.0.
|
|
21
|
+
"remotion": "4.0.185"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"react": "18.3.1",
|
|
32
32
|
"react-dom": "18.3.1",
|
|
33
33
|
"@types/ws": "8.5.10",
|
|
34
|
-
"@remotion/streaming": "4.0.
|
|
34
|
+
"@remotion/streaming": "4.0.185"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@remotion/compositor-
|
|
38
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
39
|
-
"@remotion/compositor-
|
|
40
|
-
"@remotion/compositor-linux-x64-
|
|
41
|
-
"@remotion/compositor-linux-
|
|
42
|
-
"@remotion/compositor-
|
|
43
|
-
"@remotion/compositor-
|
|
37
|
+
"@remotion/compositor-darwin-arm64": "4.0.185",
|
|
38
|
+
"@remotion/compositor-darwin-x64": "4.0.185",
|
|
39
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.185",
|
|
40
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.185",
|
|
41
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.185",
|
|
42
|
+
"@remotion/compositor-linux-x64-musl": "4.0.185",
|
|
43
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.185"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"remotion",
|