As per official documentation, Amazon Elastic Transcoder lets you convert media files that you have stored in Amazon Simple Storage Service (Amazon S3) into media files in the formats required by consumer playback devices.
For example: If a video source is in mp4 format, it may not be played on multiple devices like IOS, Android, etc., devices
An input bucket for the files to be transcoded and an output bucket for the transcoded files are required.
Elastic Transcoder gets the input file from the Amazon S3 input bucket that you specified in your pipeline, transcodes the file, and saves the transcoded file or files in the Amazon S3 output bucket that you specified in the pipeline.
In AWS SDK there is a method to fetch presets from AWS Console, you use it and store it in the database.