@remotion/renderer 4.0.107 → 4.0.108
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/assets/download-and-map-assets-to-file.js +1 -1
- package/dist/call-ffmpeg.d.ts +1 -0
- package/dist/client.d.ts +1 -1
- package/dist/create-ffmpeg-complex-filter.d.ts +1 -4
- package/dist/index.d.ts +4 -2
- package/dist/options/gl.d.ts +1 -1
- package/dist/options/index.d.ts +1 -1
- package/dist/screenshot-task.js +1 -1
- package/dist/take-frame-and-compose.d.ts +1 -0
- package/package.json +9 -9
|
@@ -232,7 +232,7 @@ const getSanitizedFilenameForAssetUrl = ({ src, downloadDir, contentDisposition,
|
|
|
232
232
|
const fileExtension = split.length > 1 && split[split.length - 1]
|
|
233
233
|
? `.${split[split.length - 1]}`
|
|
234
234
|
: '';
|
|
235
|
-
const hashedFileName = String((0, no_react_1.random)(`${pathname}${search}`)).replace('0.', '');
|
|
235
|
+
const hashedFileName = String((0, no_react_1.random)(`${src}${pathname}${search}`)).replace('0.', '');
|
|
236
236
|
const filename = hashedFileName + fileExtension;
|
|
237
237
|
return node_path_1.default.join(downloadDir, (0, sanitize_filepath_1.sanitizeFilePath)(filename));
|
|
238
238
|
};
|
package/dist/call-ffmpeg.d.ts
CHANGED
package/dist/client.d.ts
CHANGED
|
@@ -316,7 +316,7 @@ export declare const BrowserSafeApis: {
|
|
|
316
316
|
cliFlag: "gl";
|
|
317
317
|
docLink: string;
|
|
318
318
|
name: string;
|
|
319
|
-
type: "
|
|
319
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
320
320
|
ssrName: string;
|
|
321
321
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
322
322
|
};
|
|
@@ -4,9 +4,6 @@ export declare const createFfmpegComplexFilter: ({ filters, downloadMap, }: {
|
|
|
4
4
|
filters: PreprocessedAudioTrack[];
|
|
5
5
|
downloadMap: DownloadMap;
|
|
6
6
|
}) => Promise<{
|
|
7
|
-
complexFilterFlag: [
|
|
8
|
-
string,
|
|
9
|
-
string
|
|
10
|
-
] | null;
|
|
7
|
+
complexFilterFlag: [string, string] | null;
|
|
11
8
|
cleanup: () => void;
|
|
12
9
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
1
3
|
import execa from 'execa';
|
|
2
4
|
import { HeadlessBrowser } from './browser/Browser';
|
|
3
5
|
import { SymbolicateableError } from './error-handling/symbolicateable-error';
|
|
@@ -135,8 +137,8 @@ export declare const RenderInternals: {
|
|
|
135
137
|
validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
|
|
136
138
|
DEFAULT_BROWSER: "chrome";
|
|
137
139
|
validateFrameRange: (frameRange: import("./frame-range").FrameRange | null) => void;
|
|
138
|
-
DEFAULT_OPENGL_RENDERER: "
|
|
139
|
-
validateOpenGlRenderer: (option: "
|
|
140
|
+
DEFAULT_OPENGL_RENDERER: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
141
|
+
validateOpenGlRenderer: (option: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null) => "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl" | null;
|
|
140
142
|
validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "gif"];
|
|
141
143
|
DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
142
144
|
validateJpegQuality: (q: number | undefined) => void;
|
package/dist/options/gl.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const glOption: {
|
|
|
3
3
|
cliFlag: "gl";
|
|
4
4
|
docLink: string;
|
|
5
5
|
name: string;
|
|
6
|
-
type: "
|
|
6
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
7
7
|
ssrName: string;
|
|
8
8
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
};
|
package/dist/options/index.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export declare const allOptions: {
|
|
|
115
115
|
cliFlag: "gl";
|
|
116
116
|
docLink: string;
|
|
117
117
|
name: string;
|
|
118
|
-
type: "
|
|
118
|
+
type: "angle" | "swangle" | "egl" | "swiftshader" | "vulkan" | "angle-egl";
|
|
119
119
|
ssrName: string;
|
|
120
120
|
description: () => import("react/jsx-runtime").JSX.Element;
|
|
121
121
|
};
|
package/dist/screenshot-task.js
CHANGED
|
@@ -56,7 +56,7 @@ const screenshotTask = async ({ format, height, omitBackground, page, width, pat
|
|
|
56
56
|
width,
|
|
57
57
|
},
|
|
58
58
|
captureBeyondViewport: true,
|
|
59
|
-
optimizeForSpeed:
|
|
59
|
+
optimizeForSpeed: true,
|
|
60
60
|
// We find that there is a 0.1% framedrop when rendering under memory pressure
|
|
61
61
|
// which can be circumvented by disabling this option on Lambda.
|
|
62
62
|
// To be determined: Is this a problem with Lambda, or the Chrome version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.108",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"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.7.0",
|
|
21
|
-
"remotion": "4.0.
|
|
21
|
+
"remotion": "4.0.108"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"vitest": "0.31.1"
|
|
41
41
|
},
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"@remotion/compositor-
|
|
44
|
-
"@remotion/compositor-darwin-
|
|
45
|
-
"@remotion/compositor-linux-
|
|
46
|
-
"@remotion/compositor-
|
|
47
|
-
"@remotion/compositor-
|
|
48
|
-
"@remotion/compositor-linux-x64-
|
|
49
|
-
"@remotion/compositor-
|
|
43
|
+
"@remotion/compositor-darwin-arm64": "4.0.108",
|
|
44
|
+
"@remotion/compositor-darwin-x64": "4.0.108",
|
|
45
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.108",
|
|
46
|
+
"@remotion/compositor-linux-x64-musl": "4.0.108",
|
|
47
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.108",
|
|
48
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.108",
|
|
49
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.108"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"remotion",
|