How to create blurred background of the same video input with AWS MediaConvert?

137 Views Asked by At

Is it possible to create a secondary layer for a portrait video with AWS MediaConvert, of the same video but blurred, and that fills the frame?

I'm trying to achieve this result.

enter image description here

1

There are 1 best solutions below

2
aws-robclem On

There is no blur effect within the service at this time, so it would require a separate operation on the source file. This could be automated with AWS Lambda.

One method to generate the desired background image could use the Image magick Lamba layer found here: https://serverlessrepo.aws.amazon.com/applications/us-east-1/145266761615/image-magick-lambda-layer

The Lambda described above would generate a background image which you can then use as an additional input to your MediaConvert job. This process could be automated and triggered via Lambda and S3 File Events (new file arrival event).