简体   繁体   English

如何在装满视频的存储桶中使用AWS Elastic Transcoder?

[英]How to use AWS Elastic Transcoder on a bucket full of videos?

So I have an S3 bucket full of over 200GB of different videos. 因此,我有一个S3存储桶,其中充满了超过200GB的不同视频。 It would be very time consuming to manually set up jobs to transcode all of these. 手动设置作业以对所有这些代码进行转码将非常耗时。

How can I use either the web UI or aws cli to transcode all videos in this bucket at 1080p, replicating the same output path in a different bucket? 如何使用Web UI或aws cli对1080p的存储桶中的所有视频进行转码,并在不同的存储桶中复制相同的输出路径?

I also want any new videos added to the original bucket to be transcoded automatically immediately after upload. 我还希望添加到原始存储桶中的所有新视频在上传后立即自动进行转码。

I've seen some posts about Lambda functions , but I don't know anything about this. 我看过一些有关Lambda函数的文章 ,但对此一无所知。

A lambda function is just a temporary machine that runs some code. Lambda函数只是运行某些代码的临时计算机。

The sample code in your link is what you are looking for as a solution. 链接中的示例代码是您寻找的解决方案。 You can call your lambda function once for each item in the S3 bucket and kick off concurrent processing of the entire bucket. 您可以为S3存储桶中的每个项目调用一次lambda函数,然后启动整个存储桶的并发处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM