Smart Crop with AWS Elemental Inference: the AWS Management Console way
Use Smart Crop in AWS Elemental Inference to turn a landscape AWS Elemental MediaLive channel into vertical video that follows the action, set up entirely in the AWS Management Console with no code.
Series: Building with AWS Elemental Inference (4 articles)
- 1Smart Crop with AWS Elemental Inference: the AWS Management Console way This article
Placeholders in angle brackets (for example<CHANNEL_ID>) stand in for your own values.
Prefer a different approach? This article covers the console method, for setting Smart Crop up by hand in the AWS Management Console. If you'd rather build it programmatically, with the AWS CLI, Python (Boto3), or AWS CloudFormation, see Smart Crop with AWS Elemental Inference: the programmatic way. If you'd rather have an AI coding assistant build it for you, see Smart Crop with AWS Elemental Inference: building it with AI (Kiro).
The challenge
Live sports, news, and entertainment are produced in landscape 16:9. A growing share of the audience watches on phones, in vertical 9:16 feeds on short-form social video platforms.
Getting a broadcast into that format has usually meant one of two things:
- A fixed center crop. It's cheap and fast, but the action is rarely in the center. A winger on the touchline or a player driving to the basket leaves the frame.
- Manual reframing. An editor follows the action by hand. The result looks good, but it's slow and expensive, and by the time the clip is out the moment has passed.
Smart Crop in AWS Elemental Inference solves this by moving the crop to follow the subject in real time, on the live stream.
This article is for anyone who runs an AWS Elemental MediaLive channel and wants to enable Smart Crop without writing any code. Everything here is done in the AWS Management Console. You'll turn on Smart Crop for a vertical output on an existing channel and confirm it's working.
How Smart Crop works
AWS Elemental Inference is a managed AI service that works with AWS Elemental MediaLive . It applies AI in parallel with encoding to automatically transform live and on-demand video into ready-to-use outputs and real-time contextual metadata, enabling broadcasters, streamers, and enterprises to reach audiences on any platform, monetize content intelligently, and automate workflows without manual work, reprocessing, or AI expertise. For Smart Crop, the flow is:
- MediaLive sends the video from the channel to an Elemental Inference feed.
- Elemental Inference analyzes the frames and works out where the main subject is, producing a crop center point for each moment of video.
- MediaLive uses those center points to render any output whose scaling is set to
SMART_CROP, for example a 720×1280 vertical rendition.
- Your other outputs, such as the normal 16:9 ladder, are unaffected.
The following diagram shows this flow.

Every article in this series uses three Elemental Inference resources:
Resource | What it is |
|---|---|
Feed | The Elemental Inference resource that receives media and produces metadata. One feed per MediaLive channel. |
Outputs | The features enabled on a feed. Smart Crop uses a cropping output. Other articles in this series cover event clipping, smart subtitling, and contextual metadata. |
Association | The link between a feed and the MediaLive channel that sends it video. |
According to the AWS launch announcement , Elemental Inference typically adds 6–10 seconds of latency.
Prerequisites
To follow along, you need:
- An AWS account with permissions to manage MediaLive and Elemental Inference resources.
- An existing MediaLive channel in a supported AWS Region, with at least one vertical (9:16) output. Use a test channel, not one that's on air.
- A MediaLive channel role with the AWS Identity and Access Management (IAM) permissions that Elemental Inference needs. At runtime the channel role needs just two actions:
PutMedia(to deliver the stream to the feed) andGetMetadata(to read the crop metadata back). For the full list of actions, see Actions, resources, and condition keys for AWS Elemental Inference . Here is an example of the required permissions for the policy that needs to be attached to the MediaLive role:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "elemental-inference:PutMedia", "elemental-inference:GetMetadata" ], "Resource": "*" } ]}This example uses aResourceof*for simplicity. If you want to narrow it, scope it to feeds rather than to a single feed ARN, usingarn:aws:elemental-inference:<region>:<account>:feed/*. A Smart Crop feed is created fresh (and deleted) each time, so its ARN changes on every run, and a policy pinned to one feed ARN would stop working as soon as you recreate the feed. Note: Ensure you are running in an AWS Region where Elemental Inference is available. For the list of supported Regions, see AWS Elemental Inference endpoints and quotas .
Enable Smart Crop in the AWS Management Console
If you prefer to use the console, the post Using AWS Elemental Inference with MediaLive walks through the full setup with screenshots, so we only summarize the main setup points here. In short:
- Ensure you have two output groups defined in MediaLive as described in the blog.
- In the MediaLive channel, enable AWS Elemental Inference settings, then choose Create feed (top right). This opens the Elemental Inference service setup. Create the Inference feed by giving it a name and selecting Smart Cropping under AI features. Go back into your MediaLive setup.
- Refresh the "Use existing" list and select the feed you just created.
- Scroll down to Smart cropping. Toggle the switch to enable smart cropping on the relevant output group (your cropped output). Leave your horizontal video output group unticked (cropping disabled).
- Notice the Star icon added to the video output name indicating cropping has been enabled on your vertical output. Confirm in the Scaling settings that Scaling behavior is now set to Smart crop.
- Create or update the channel. Notice the new AWS Elemental Inference tab on the channel page showing its Amazon Resource Name (ARN) and status.
Select the feed under AWS Elemental Inference settings:

The feed details show the
medialive-cropping-0 output with a Smart crop tag. This is the output MediaLive adds for you:
Under Smart cropping, enable the feature on the vertical output group only, leaving the horizontal output off:

A star icon then appears next to the vertical output in the channel's output list, marking that Smart Crop is enabled on it:

That's all there is to it in the console. MediaLive and Elemental Inference handle the feed, the attachment, and the cropping for you.
Verify Smart Crop is working
You can confirm Smart Crop entirely in the console, by previewing the channel's actual output, with no code needed.
Your vertical output is delivered by whichever output group you configured for it. If that's an AWS Elemental MediaPackage endpoint, you can watch it straight from the MediaPackage console:
- Open AWS Elemental MediaPackage and navigate to the endpoint your vertical output publishes to, for example Channel groups → your group → your channel → your endpoint.
- Open the Manifest preview tab. It shows the manifest for the endpoint; confirm the vertical rendition is there (you'll see the portrait resolution and frame rate in the stream line, e.g.
RESOLUTION=720x1280, FRAME-RATE=50.0).
- Choose Preview to play the output in a browser player.
With live video flowing, a vertical (9:16) stream whose framing follows the action is Smart Crop working. (You can also serve the endpoint through Amazon CloudFront and play it there, but that's more setup than the built-in preview and isn't needed just to confirm the result.)
Common issues
Black bars on the vertical output. If a vertical output is left on
ScalingBehavior: DEFAULT , MediaLive keeps the full 16:9 picture and pads the 9:16 frame with black. It looks as if Smart Crop has failed, but it isn't turned on for that output. Set SMART_CROP on each vertical video description.
Left:
SMART_CROP fills the 9:16 frame, following the subject. Right: DEFAULT keeps the 16:9 source and pads it with black bars. (Sample content: AWS Elemental "Formula 5 Racing" demo.)Smart Crop set, but nothing is being cropped. Setting
SMART_CROP doesn't guarantee cropping is happening. If the MediaLive role is missing the Elemental Inference IAM permissions, MediaLive quietly falls back to its default cropping, with no error and no failed channel, so the output looks configured while the inference never runs. This is the most deceptive failure here: check the role has PutMedia and GetMetadata (see Prerequisites ), and confirm actual crop data as described in Verify Smart Crop is working .A limit on enabled outputs per feed. A feed can have a limited number of enabled outputs at a time. In the AWS Elemental Inference Service Quotas , the "Enabled outputs per feed" quota is 5 (and marked not adjustable), while "Total outputs per feed" is higher. Check the current value for your account, as quotas can change. Outputs can be defined but left disabled without counting against the enabled limit, so plan which features each channel needs.
Practical considerations
- Pricing is consumption-based: you pay for the features you use and the video you process. See the AWS Elemental Inference pricing page .
- On a Standard (two-pipeline) MediaLive channel, Elemental Inference features are charged for both encoding pipelines. A single-pipeline channel is cheaper for testing.
- Keep a note of each channel's output frame rate. You need it for crop queries.
Clean up
The console handles the revert and the detach for you, in the right order:
- Open the channel's AWS Elemental Inference settings.
- Under Smart cropping, turn off the toggle for the output group (and output) you enabled, for example the vertical output group. The panel notes that enabling the toggle sets
Scaling behaviortoSMART_CROP; turning it off reverts that output'sScaling behaviortoDEFAULT.
- In the Elemental Inference feed panel, choose Remove feed to detach the feed from the channel.
- Update the channel to apply the changes.
- The feed is now detached. You can then delete it from the AWS Elemental Inference console without leaving the channel pointing at a missing feed.
Conclusion
In this article, you enabled Smart Crop on an AWS Elemental MediaLive channel using the AWS Management Console, and confirmed the vertical output was following the action. To go further, or to automate the same setup, see the programmatic and AI (Kiro) companion articles in this series. For more detail, see the AWS Elemental Inference User Guide .
Next in the series
This article is one of four on Smart Crop. The companion articles cover the same feature for different audiences:
- Smart Crop with AWS Elemental Inference: the AWS Management Console way (this article): no code, done in the AWS Management Console.
- Smart Crop with AWS Elemental Inference: the programmatic way: the AWS CLI, Python (Boto3), and AWS CloudFormation.
- Smart Crop with AWS Elemental Inference: building it with AI (Kiro): let an AI coding assistant build and run it for you.
- Smart Crop with AWS Elemental Inference: build a live demo viewer: a small web page, built with Python, that plays your channel and draws the crop region over it as it moves.
Smart Crop is the first of the AWS Elemental Inference features this series covers. Each of the others will get the same four articles. Still to come:
- Event Clipping (coming soon): use the same feed to find the key moments in a live broadcast and turn them into clips automatically.
- Smart Subtitling (coming soon)
- Contextual Metadata (coming soon)
#aws-elemental-inference#media-services#aws-elemental-medialive#aws-elemental-mediapackage#media-entertainment-industry
Series: Building with AWS Elemental Inference (4 articles)
- 1Smart Crop with AWS Elemental Inference: the AWS Management Console way This article
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article