Serverless Video Transcoding with AWS Elemental MediaConvert - HLS Delivery and Thumbnail Generation
Transcode file-based video at broadcast quality and generate multiple formats including HLS, DASH, and MP4 in a single job. Learn how to build large-scale video processing pipelines with job templates and queue priority control.
Overview of MediaConvert
AWS Elemental MediaConvert is a service that transcodes file-based video content at broadcast quality. It converts input files (MP4, MOV, MXF, etc.) into multiple formats such as HLS, DASH, MP4, and CMAF in a single job and outputs them to S3. A single job can simultaneously generate multiple outputs (combinations of resolution, bitrate, and codec), and manifest files for adaptive bitrate streaming are automatically generated. While MediaLive specializes in real-time encoding for live streaming, MediaConvert is optimized for file-based transcoding of VOD (Video on Demand) content.
Job Configuration and Codecs
MediaConvert jobs are structured in three layers: input settings, output groups, and output settings. Input settings specify the source file's S3 path, clipping (start/end times), deinterlacing, and noise reduction. Output groups define delivery formats such as HLS groups, DASH groups, and file groups, with multiple outputs (720p/1080p/4K) configured within each group. Supported codecs include H.264 (AVC), H.265 (HEVC), AV1, and VP9. H.265 achieves equivalent quality to H.264 at approximately 50% lower bitrate. AV1 offers even higher compression efficiency but requires longer encoding times. Job templates let you save frequently used settings and reuse them from the API or console.
Pipeline and Automation
You can build a video processing pipeline that detects file uploads to S3 via EventBridge and automatically triggers MediaConvert jobs from a Lambda function. Job completion and error events are also delivered as EventBridge events, enabling automation of downstream processing (metadata updates, CDN cache invalidation, notification delivery). Queue priority control lets you process urgent jobs first while running batch processing on low-priority queues. Reserved Transcoding Slots (RTS) secure dedicated transcoding capacity at a fixed rate, processing large volumes of jobs at stable throughput. DRM (Digital Rights Management) integration lets you apply Widevine, FairPlay, and PlayReady content protection to outputs. For more on video delivery technology, related books on Amazon can also be helpful.
MediaConvert Pricing
MediaConvert pricing is pay-per-use based on output resolution and codec. SD (480p and below) costs approximately $0.0075 per minute, HD (720p/1080p) costs approximately $0.015, and 4K UHD costs approximately $0.030 (Basic Tier, H.264). Professional Tier applies when using advanced features (Dolby Audio, HDR10+) and costs approximately twice as much. Reserved Transcoding Slots (RTS) offer a fixed monthly rate that is more cost-effective than on-demand for high-volume transcoding jobs.
Summary
AWS Elemental MediaConvert is a service that transcodes file-based video at broadcast quality and generates multiple formats including HLS, DASH, and MP4 in a single job. It lets you build large-scale VOD content processing workflows with EventBridge and Lambda automation pipelines, queue priority control, and DRM integration.