Skip to main content

磁盘大小

默认情况下,每个 Lambda 函数都配有一个临时磁盘大小为:

🌐 By default, each Lambda function comes with an ephemereal disk size of:

Remotion 版本默认
<5.0.02048MB
>=5.0.010240MB

增加磁盘空间将允许更长的视频,并加快渲染速度,因为 Chrome 可以访问更多的磁盘缓存。
磁盘。

🌐 Increasing disk space will allow for longer videos, and speeds up renders because Chrome has access to more disk cache.
Disk.

增加更多的磁盘空间几乎不会影响你的渲染成本(增加成本不到1%)。 因此,我们建议将磁盘大小设置为最大值:10240MB。

🌐 Adding more disk space will almost not affect the cost of your renders at all (less than 1% more cost).
Therefore we recommend setting the disk size to the maximum possible value: 10240MB.

视频大致最长时长

🌐 Approximate maximum video length

请注意,我们建议将磁盘大小设置为可能的最大值:10240MB。

🌐 Note that we recommend setting the disk size to the maximum possible value: 10240MB.

磁盘大小约最大视频长度
512 MB8分钟 - 1080p
1024 MB16分钟 - 1080p
2048 MB32分钟 - 1080p
4096 MB1小时4分钟 - 1080p
8192 MB2小时8分钟 - 1080p
10240 MB2小时40分钟 - 1080p

这些是近似值,可能与你的实际情况不完全匹配。视频输出大小取决于视频内容和音频。请测量并找到最适合你的值。

设置磁盘大小

🌐 Setting the disk size

定价

🌐 Pricing

使用更多的磁盘空间会增加边际成本。 将磁盘大小设置为最大可能值:10240MB,成本增加不到1%。 有关定价,请参阅 Lambda 定价页面 的“Lambda 临时存储定价”部分。 estimatePrice() API 也会将磁盘大小纳入考虑。

🌐 Using more disk space costs marginally more.
Setting the disk size to the maximum possible value: 10240MB will cost less than 1% more.
See the Lambda pricing page "Lambda Ephemereal Storage Pricing" section for pricing.
The estimatePrice() API does also factor disk size into account.