@remotion/lambda 3.2.12-crf.7 → 3.2.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.
- package/dist/admin/make-layer-public.js +3 -3
- package/dist/api/deploy-function.js +1 -2
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
- package/dist/functions/helpers/concat-videos.d.ts +1 -2
- package/dist/functions/helpers/concat-videos.js +1 -2
- package/dist/functions/launch.js +1 -2
- package/dist/shared/hosted-layers.js +60 -60
- package/package.json +6 -6
- package/remotionlambda.zip +0 -0
- package/dist/shared/chunk.d.ts +0 -1
- package/dist/shared/chunk.js +0 -11
- package/dist/shared/lambda-version-string.d.ts +0 -1
- package/dist/shared/lambda-version-string.js +0 -7
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const client_lambda_1 = require("@aws-sdk/client-lambda");
|
|
4
4
|
const aws_policies_1 = require("aws-policies");
|
|
5
5
|
const version_1 = require("remotion/version");
|
|
6
|
-
const
|
|
6
|
+
const get_regions_1 = require("../api/get-regions");
|
|
7
7
|
const quit_1 = require("../cli/helpers/quit");
|
|
8
8
|
const aws_clients_1 = require("../shared/aws-clients");
|
|
9
9
|
const runtimes = ['nodejs14.x'];
|
|
@@ -37,13 +37,13 @@ const layerInfo = {
|
|
|
37
37
|
const makeLayerPublic = async () => {
|
|
38
38
|
const layers = ['fonts', 'ffmpeg', 'chromium'];
|
|
39
39
|
for (const architecture of archictures) {
|
|
40
|
-
for (const region of (0,
|
|
40
|
+
for (const region of (0, get_regions_1.getRegions)()) {
|
|
41
41
|
for (const layer of layers) {
|
|
42
42
|
const layerName = `remotion-binaries-${layer}-${architecture}`;
|
|
43
43
|
const { Version, LayerArn } = await (0, aws_clients_1.getLambdaClient)(region).send(new client_lambda_1.PublishLayerVersionCommand({
|
|
44
44
|
Content: {
|
|
45
45
|
S3Bucket: 'remotionlambda-binaries-' + region,
|
|
46
|
-
S3Key: `remotion-layer-${layer}-
|
|
46
|
+
S3Key: `remotion-layer-${layer}-v8-${architecture}.zip`,
|
|
47
47
|
},
|
|
48
48
|
LayerName: layerName,
|
|
49
49
|
LicenseInfo: layer === 'chromium'
|
|
@@ -6,7 +6,6 @@ const get_functions_1 = require("../api/get-functions");
|
|
|
6
6
|
const constants_1 = require("../shared/constants");
|
|
7
7
|
const function_zip_path_1 = require("../shared/function-zip-path");
|
|
8
8
|
const get_account_id_1 = require("../shared/get-account-id");
|
|
9
|
-
const lambda_version_string_1 = require("../shared/lambda-version-string");
|
|
10
9
|
const validate_architecture_1 = require("../shared/validate-architecture");
|
|
11
10
|
const validate_aws_region_1 = require("../shared/validate-aws-region");
|
|
12
11
|
const validate_custom_role_arn_1 = require("../shared/validate-custom-role-arn");
|
|
@@ -38,7 +37,7 @@ const deployFunction = async (options) => {
|
|
|
38
37
|
(0, validate_disk_size_in_mb_1.validateDiskSizeInMb)(diskSizeInMb);
|
|
39
38
|
(0, validate_custom_role_arn_1.validateCustomRoleArn)(options.customRoleArn);
|
|
40
39
|
const fnNameRender = [
|
|
41
|
-
`${constants_1.RENDER_FN_PREFIX}${
|
|
40
|
+
`${constants_1.RENDER_FN_PREFIX}${version_1.VERSION.replace(/\./g, '-')}`,
|
|
42
41
|
`mem${options.memorySizeInMb}mb`,
|
|
43
42
|
`disk${diskSizeInMb}mb`,
|
|
44
43
|
`${options.timeoutInSeconds}sec`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AwsRegion } from '../../pricing/aws-regions';
|
|
2
2
|
import type { LambdaCodec } from '../../shared/validate-lambda-codec';
|
|
3
|
-
export declare const concatVideosS3: ({ bucket, expectedFiles, onProgress, numberOfFrames, renderId, region, codec, expectedBucketOwner, fps, numberOfGifLoops,
|
|
3
|
+
export declare const concatVideosS3: ({ bucket, expectedFiles, onProgress, numberOfFrames, renderId, region, codec, expectedBucketOwner, fps, numberOfGifLoops, }: {
|
|
4
4
|
bucket: string;
|
|
5
5
|
expectedFiles: number;
|
|
6
6
|
onProgress: (frames: number, encodingStart: number) => void;
|
|
@@ -11,7 +11,6 @@ export declare const concatVideosS3: ({ bucket, expectedFiles, onProgress, numbe
|
|
|
11
11
|
expectedBucketOwner: string;
|
|
12
12
|
fps: number;
|
|
13
13
|
numberOfGifLoops: number | null;
|
|
14
|
-
crf: number | null;
|
|
15
14
|
}) => Promise<{
|
|
16
15
|
outfile: string;
|
|
17
16
|
cleanupChunksProm: Promise<void>;
|
|
@@ -112,7 +112,7 @@ const getAllFilesS3 = ({ bucket, expectedFiles, outdir, renderId, region, expect
|
|
|
112
112
|
loop();
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
|
-
const concatVideosS3 = async ({ bucket, expectedFiles, onProgress, numberOfFrames, renderId, region, codec, expectedBucketOwner, fps, numberOfGifLoops,
|
|
115
|
+
const concatVideosS3 = async ({ bucket, expectedFiles, onProgress, numberOfFrames, renderId, region, codec, expectedBucketOwner, fps, numberOfGifLoops, }) => {
|
|
116
116
|
var _a;
|
|
117
117
|
const outdir = (0, path_1.join)(renderer_1.RenderInternals.tmpDir(constants_1.CONCAT_FOLDER_TOKEN), 'bucket');
|
|
118
118
|
if ((0, fs_1.existsSync)(outdir)) {
|
|
@@ -143,7 +143,6 @@ const concatVideosS3 = async ({ bucket, expectedFiles, onProgress, numberOfFrame
|
|
|
143
143
|
codec: codecForCombining,
|
|
144
144
|
fps,
|
|
145
145
|
numberOfGifLoops,
|
|
146
|
-
crf,
|
|
147
146
|
});
|
|
148
147
|
combine.end();
|
|
149
148
|
const cleanupChunksProm = ((_a = fs_1.default.promises.rm) !== null && _a !== void 0 ? _a : fs_1.default.promises.rmdir)(outdir, {
|
package/dist/functions/launch.js
CHANGED
|
@@ -62,7 +62,7 @@ const callFunctionWithRetry = async (payload, retries = 0) => {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
const innerLaunchHandler = async (params, options) => {
|
|
65
|
-
var _a, _b
|
|
65
|
+
var _a, _b;
|
|
66
66
|
if (params.type !== constants_1.LambdaRoutines.launch) {
|
|
67
67
|
throw new Error('Expected launch type');
|
|
68
68
|
}
|
|
@@ -253,7 +253,6 @@ const innerLaunchHandler = async (params, options) => {
|
|
|
253
253
|
expectedBucketOwner: options.expectedBucketOwner,
|
|
254
254
|
fps,
|
|
255
255
|
numberOfGifLoops: params.numberOfGifLoops,
|
|
256
|
-
crf: (_c = params.crf) !== null && _c !== void 0 ? _c : null,
|
|
257
256
|
});
|
|
258
257
|
if (!encodingStop) {
|
|
259
258
|
encodingStop = Date.now();
|
|
@@ -7,141 +7,141 @@ exports.hostedLayers = {
|
|
|
7
7
|
'ap-northeast-1': [
|
|
8
8
|
{
|
|
9
9
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
10
|
-
version:
|
|
10
|
+
version: 3,
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
14
|
-
version:
|
|
14
|
+
version: 7,
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
18
|
-
version:
|
|
18
|
+
version: 7,
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
21
|
'ap-south-1': [
|
|
22
22
|
{
|
|
23
23
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
24
|
-
version:
|
|
24
|
+
version: 3,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
28
|
-
version:
|
|
28
|
+
version: 7,
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
32
|
-
version:
|
|
32
|
+
version: 7,
|
|
33
33
|
},
|
|
34
34
|
],
|
|
35
35
|
'ap-southeast-1': [
|
|
36
36
|
{
|
|
37
37
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
38
|
-
version:
|
|
38
|
+
version: 3,
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
42
|
-
version:
|
|
42
|
+
version: 7,
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
46
|
-
version:
|
|
46
|
+
version: 7,
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
49
|
'ap-southeast-2': [
|
|
50
50
|
{
|
|
51
51
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
52
|
-
version:
|
|
52
|
+
version: 3,
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
56
|
-
version:
|
|
56
|
+
version: 7,
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
60
|
-
version:
|
|
60
|
+
version: 7,
|
|
61
61
|
},
|
|
62
62
|
],
|
|
63
63
|
'eu-central-1': [
|
|
64
64
|
{
|
|
65
65
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
66
|
-
version:
|
|
66
|
+
version: 3,
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
70
|
-
version:
|
|
70
|
+
version: 7,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
74
|
-
version:
|
|
74
|
+
version: 7,
|
|
75
75
|
},
|
|
76
76
|
],
|
|
77
77
|
'eu-west-1': [
|
|
78
78
|
{
|
|
79
79
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
80
|
-
version:
|
|
80
|
+
version: 3,
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
84
|
-
version:
|
|
84
|
+
version: 7,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
88
|
-
version:
|
|
88
|
+
version: 7,
|
|
89
89
|
},
|
|
90
90
|
],
|
|
91
91
|
'eu-west-2': [
|
|
92
92
|
{
|
|
93
93
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
94
|
-
version:
|
|
94
|
+
version: 3,
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
98
|
-
version:
|
|
98
|
+
version: 7,
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
102
|
-
version:
|
|
102
|
+
version: 7,
|
|
103
103
|
},
|
|
104
104
|
],
|
|
105
105
|
'us-east-1': [
|
|
106
106
|
{
|
|
107
107
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
108
|
-
version:
|
|
108
|
+
version: 7,
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
112
|
-
version:
|
|
112
|
+
version: 15,
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
116
|
-
version:
|
|
116
|
+
version: 15,
|
|
117
117
|
},
|
|
118
118
|
],
|
|
119
119
|
'us-east-2': [
|
|
120
120
|
{
|
|
121
121
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
122
|
-
version:
|
|
122
|
+
version: 3,
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
126
|
-
version:
|
|
126
|
+
version: 7,
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
130
|
-
version:
|
|
130
|
+
version: 7,
|
|
131
131
|
},
|
|
132
132
|
],
|
|
133
133
|
'us-west-2': [
|
|
134
134
|
{
|
|
135
135
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-arm64',
|
|
136
|
-
version:
|
|
136
|
+
version: 3,
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-arm64',
|
|
140
|
-
version:
|
|
140
|
+
version: 7,
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-arm64',
|
|
144
|
-
version:
|
|
144
|
+
version: 7,
|
|
145
145
|
},
|
|
146
146
|
],
|
|
147
147
|
},
|
|
@@ -149,141 +149,141 @@ exports.hostedLayers = {
|
|
|
149
149
|
'ap-northeast-1': [
|
|
150
150
|
{
|
|
151
151
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
152
|
-
version:
|
|
152
|
+
version: 3,
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
156
|
-
version:
|
|
156
|
+
version: 7,
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
layerArn: 'arn:aws:lambda:ap-northeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
160
|
-
version:
|
|
160
|
+
version: 7,
|
|
161
161
|
},
|
|
162
162
|
],
|
|
163
163
|
'ap-south-1': [
|
|
164
164
|
{
|
|
165
165
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
166
|
-
version:
|
|
166
|
+
version: 3,
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
170
|
-
version:
|
|
170
|
+
version: 7,
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
layerArn: 'arn:aws:lambda:ap-south-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
174
|
-
version:
|
|
174
|
+
version: 7,
|
|
175
175
|
},
|
|
176
176
|
],
|
|
177
177
|
'ap-southeast-1': [
|
|
178
178
|
{
|
|
179
179
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
180
|
-
version:
|
|
180
|
+
version: 3,
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
184
|
-
version:
|
|
184
|
+
version: 7,
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
layerArn: 'arn:aws:lambda:ap-southeast-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
188
|
-
version:
|
|
188
|
+
version: 7,
|
|
189
189
|
},
|
|
190
190
|
],
|
|
191
191
|
'ap-southeast-2': [
|
|
192
192
|
{
|
|
193
193
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
194
|
-
version:
|
|
194
|
+
version: 3,
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
198
|
-
version:
|
|
198
|
+
version: 7,
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
layerArn: 'arn:aws:lambda:ap-southeast-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
202
|
-
version:
|
|
202
|
+
version: 7,
|
|
203
203
|
},
|
|
204
204
|
],
|
|
205
205
|
'eu-central-1': [
|
|
206
206
|
{
|
|
207
207
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
208
|
-
version:
|
|
208
|
+
version: 3,
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
211
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
212
|
-
version:
|
|
212
|
+
version: 7,
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
layerArn: 'arn:aws:lambda:eu-central-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
216
|
-
version:
|
|
216
|
+
version: 7,
|
|
217
217
|
},
|
|
218
218
|
],
|
|
219
219
|
'eu-west-1': [
|
|
220
220
|
{
|
|
221
221
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
222
|
-
version:
|
|
222
|
+
version: 3,
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
226
|
-
version:
|
|
226
|
+
version: 7,
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
layerArn: 'arn:aws:lambda:eu-west-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
230
|
-
version:
|
|
230
|
+
version: 7,
|
|
231
231
|
},
|
|
232
232
|
],
|
|
233
233
|
'eu-west-2': [
|
|
234
234
|
{
|
|
235
235
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
236
|
-
version:
|
|
236
|
+
version: 3,
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
239
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
240
|
-
version:
|
|
240
|
+
version: 7,
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
layerArn: 'arn:aws:lambda:eu-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
244
|
-
version:
|
|
244
|
+
version: 7,
|
|
245
245
|
},
|
|
246
246
|
],
|
|
247
247
|
'us-east-1': [
|
|
248
248
|
{
|
|
249
249
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
250
|
-
version:
|
|
250
|
+
version: 7,
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
253
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
254
|
-
version:
|
|
254
|
+
version: 15,
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
layerArn: 'arn:aws:lambda:us-east-1:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
258
|
-
version:
|
|
258
|
+
version: 15,
|
|
259
259
|
},
|
|
260
260
|
],
|
|
261
261
|
'us-east-2': [
|
|
262
262
|
{
|
|
263
263
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
264
|
-
version:
|
|
264
|
+
version: 3,
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
268
|
-
version:
|
|
268
|
+
version: 7,
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
layerArn: 'arn:aws:lambda:us-east-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
272
|
-
version:
|
|
272
|
+
version: 7,
|
|
273
273
|
},
|
|
274
274
|
],
|
|
275
275
|
'us-west-2': [
|
|
276
276
|
{
|
|
277
277
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-fonts-x86_64',
|
|
278
|
-
version:
|
|
278
|
+
version: 3,
|
|
279
279
|
},
|
|
280
280
|
{
|
|
281
281
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-ffmpeg-x86_64',
|
|
282
|
-
version:
|
|
282
|
+
version: 7,
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
285
|
layerArn: 'arn:aws:lambda:us-west-2:678892195805:layer:remotion-binaries-chromium-x86_64',
|
|
286
|
-
version:
|
|
286
|
+
version: 7,
|
|
287
287
|
},
|
|
288
288
|
],
|
|
289
289
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.2.12
|
|
3
|
+
"version": "3.2.12",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/client-service-quotas": "3.58.0",
|
|
33
33
|
"@aws-sdk/lib-storage": "3.58.0",
|
|
34
34
|
"@aws-sdk/s3-request-presigner": "3.58.0",
|
|
35
|
-
"@remotion/bundler": "3.2.12
|
|
36
|
-
"@remotion/cli": "3.2.12
|
|
37
|
-
"@remotion/renderer": "3.2.12
|
|
35
|
+
"@remotion/bundler": "3.2.12",
|
|
36
|
+
"@remotion/cli": "3.2.12",
|
|
37
|
+
"@remotion/renderer": "3.2.12",
|
|
38
38
|
"aws-policies": "^1.0.1",
|
|
39
39
|
"mime-types": "2.1.34",
|
|
40
|
-
"remotion": "3.2.12
|
|
40
|
+
"remotion": "3.2.12"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=16.8.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "72c9a148cafdd4468fff41bbc7ca70a1776fb15e"
|
|
66
66
|
}
|
package/remotionlambda.zip
CHANGED
|
Binary file
|
package/dist/shared/chunk.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const chunk: <T>(input: T[], size: number) => T[][];
|
package/dist/shared/chunk.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chunk = void 0;
|
|
4
|
-
const chunk = (input, size) => {
|
|
5
|
-
return input.reduce((arr, item, idx) => {
|
|
6
|
-
return idx % size === 0
|
|
7
|
-
? [...arr, [item]]
|
|
8
|
-
: [...arr.slice(0, -1), [...arr.slice(-1)[0], item]];
|
|
9
|
-
}, []);
|
|
10
|
-
};
|
|
11
|
-
exports.chunk = chunk;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LAMBDA_VERSION_STRING: string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LAMBDA_VERSION_STRING = void 0;
|
|
4
|
-
const version_1 = require("remotion/version");
|
|
5
|
-
exports.LAMBDA_VERSION_STRING = version_1.VERSION.replace(/\./g, '-')
|
|
6
|
-
.replace(/\+/g, '-')
|
|
7
|
-
.substring(0, 10);
|