I used the same title as another person from 2 years ago that links to this github project: https://github.com/aws-samples/aws-media-services-vod-automation/tree/master/MediaConvert-WorkflowWatchFolderAndNotification
It works but is using older media converting codecs, what I need help with his how to add in a newer media encoding for h265 or av1 encoding which is supported. I just can't seem to get the configuration correct.
Does anyone have a more up-todate version of something that will watch a folder and transocde it using more modern codecs? Or help me figure out how to change the conversion algorithm? Right now it creates 3 copies for apple and 1 for mp4. I just want 1 copy using either h265 or av1. Anyone who can help would be amazing or just even giving me bread crumbs.
The 'WatchFolder' S3 bucket is used to store inputs and optional job settings for the conversion workflow. The NotificationConfiguration sets up the lambda trigger whenever an object is uploaded to the
/inputs
folder. MediaCOnvert job settings JSON files with your desired transcoding settings (e.g. codec, resolution etc) can be placed in the/jobs
folder. The workflow will run a job for each settings file it finds there.If no JSON file(s) are included in the
/jobs
folder, the workflow will use the the default job settings (i.e.job.json
) in the lambda zip file.This means that you can either update the Lambda function's job.json file to meet your requirements OR you can upload your own job.json file to the
/jobs
folder in S3.Below is an example
jobs.json
file that creates one 720p HLS output using H.265. As there are many transcoding settings you can specify in the json, consider using the MediaConvert console to create an example job with your required settings. You can then open the job and choose to 'View JSON' and use that JSON output to create your job.json file.