Integrating AWS Elastic Transcoder With NodeJS Application
Posted By : Vishal Yadav | 13-May-2020
Elastic transcoding is a media transcoding service provided by AWS. It is highly scalable, cost-effective, and easy to use. It is used to convert media into a suitable format which is playable on different devices like smartphones, tablet, PC, smart tv, etc.
Elastic transcoder converts/transcode video into other formats based on PresetId. Before starting video transcoding, you have to set up an Elastic Transcoder on AWS and get PipelineID for it.
PresetId: AWS provides a list of transcoding formats likes HLS streaming, MPEG-DASH, Webm or you can simply transcode it to different resolutions. All these formats have a unique PresetId which can be used to initiate a transcoding job.
- AWS IAM account with access to AWS Elastic transcoder
1. Install the AWS SDK for NodeJs and configure it.
2. Create a new transcoding job.
3. Read the transcoding Job-status.
The above code can be used to transcode any video stored on the s3 bucket into the required format. Basically, transcoding service is used to convert media into streaming formats.