AWS Media Convert output to S3 - Can i have NO subfolders

0

I have a workflow based on https://github.com/aws-solutions/video-on-demand-on-aws-foundation where i upload a MP4 file to a bucket, it gets converted and put into a folder structure that looks like this <guid>/<OutputGroups/CustomName>/file.xxx. If i remove the CustomName from the job-settings.json file then its <guid>/AppleHLS1/file.xxx or <guid>/FileGroup1/file.xxx.

What i want is all the file group files placed directly in the GUID folder and NOT create a folder under the GUID. Is there a way to override Media Convert wanting to create these sub-folders? I have searched high and low for an answer here.

質問済み 1年前260ビュー
1回答
0

Hi, one way to do that (external to MediaConvert) is to use a S3 Lambda activated on file creation in your S3 bucket. This Lambda will move your files to the place that you want in the bucket.

This tutorial shows how to do it: https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html

Best, Didier

profile pictureAWS
エキスパート
回答済み 1年前
profile picture
エキスパート
レビュー済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ