Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event-driven Elastic Transcoder?

Is there a way to setup a transcoding pipeline on AWS such that it automatically transcodes any new files uploaded to a particular S3 bucket, and places them in another bucket?

I know there is a REST API, and that in theory the uploader could also issue a REST request to the transcoder after it has uploaded the file, but for a variety of reasons, this isn't really an option.

like image 851
thinkski Avatar asked Sep 14 '14 01:09

thinkski


1 Answers

This can now be accomplished using AWS Lambda.

Lambda basically allows you to trigger/run scripts based off of events. You could easily create a Lambda script that runs as soon as a new file is uploaded to a designated s3 bucket. The script would then start a transcoding job for that newly uploaded video file.

This is literally one of the example use cases provided in the Lambda documentation.

like image 97
user3344977 Avatar answered Nov 19 '22 18:11

user3344977