Connecting FFmpeg Using RTP to AWS Media Services in the Cloud
In this third installment of a five-part blog series, you are learning how to configure and connect various encoders to AWS Media Services. AWS Media Services enable you to deliver highly scalable over-the-top (OTT) video experiences to customers. In order to stream a live channel or event, video signals from a camera or other source must be encoded and then sent to the cloud for further processing, packaging, and delivery.
Create a channel using FFmpeg with RTP and AWS Media Services
In this example, step-by-step instructions show you how to set up a stream using FFmpeg as an RTP (Real-Time Transport Protocol) contribution encoder, and configure AWS Media Services for video processing and packaging in the cloud. FFmpeg is a complete, cross-platform software solution to record, convert, and stream audio and video.
In this example, you will learn how to:
- Set up FFmpeg as a contribution encoder using RTP;
- Configure AWS Elemental MediaLive to receive an incoming contribution stream and encode it into a set of adaptive bitrate (ABR) streams;
- Configure AWS Elemental MediaPackage to connect to AWS Elemental MediaLive outputs, for further processing and packaging, to create a channel that can be viewed on connected devices.
In order to use this guide, you must download, install, and have some experience using FFmpeg. You must also have all of the required information for your particular source, and have an AWS account to access AWS Elemental MediaLive and AWS Elemental MediaPackage services. Finally, to use this workflow in production, we highly recommended you use the AWS Elemental MediaPackage endpoint as an origin for a CDN such as Amazon CloudFront.
About AWS Media Services
AWS Elemental MediaLive is a broadcast-grade live video processing service. It lets you create high-quality video streams for delivery to broadcast televisions and internet-connected multiscreen devices, like connected TVs, tablets, smartphones, and set-top boxes.
AWS Elemental MediaPackage reliably prepares and protects your video for delivery over the Internet. From a single video input, AWS Elemental MediaPackage creates video streams formatted to play on connected TVs, mobile phones, computers, tablets, and game consoles.
Part 1: Connecting AWS Elemental Live On-Premises to AWS Media Services in the Cloud
Part 2: Connecting OBS Studio to AWS Media Services in the Cloud
Part 3: Connecting FFmpeg Using RTP to AWS Media Services in the Cloud (this post)
Part 4: Connecting FFmpeg Using RTMP to AWS Media Services in the Cloud
Part 5: Connecting VLC Media Player Using RTP to AWS Media Services in the Cloud