Disabling all Elemental Inference features in a channel
Follow this procedure to disable all Elemental Inference features in a MediaLive channel.
In this procedure, you disable a feature in the relevant MediaLive channel outputs. And you disable the output for that feature in the Elemental Inference feed.
Make changes in MediaLive
Use update-channel to make changes in the MediaLive channel.
-
In the
InferenceSettingssection of the JSON, remove thefeedARNline. -
Make changes to remove the special configuration that applies to each feature that is enabled.
To disable
Action
Event clipping
There are no changes to make because there is no special configuration for this feature.
Smart crop You must reconfigure every output that is set up for smart crop.
-
Identify all the video encodes (video descriptions) for the target outputs where smart crop is enabled. For example, one target output might be the video encode (video description) named
high_resolutionin an output namedoutput_Ain the output group namedMy_outputgroup. -
In the JSON for each video description that you identified, change these parameters:
-
WidthandHeight: Set to values that are suitable when there is no Elemental Inference features occurring. -
ScalingBehavior: Set to a value other thanSMART_CROP.
-
-
See Setting up Elemental Inference features for the first time for an example of the JSON as it appears before you make these changes.
Result of changes to the MediaLive channel
When you save the changes to the channel, MediaLive takes these actions, in this order:
-
MediaLive uses
associate-feedin Elemental Inference to disable all the outputs in the feed. It does this because it detects that there is nofeedArnparameter in the channel.After an output is disabled, you can still read the existing metadata in the output for the next 24 hours. After that time, the output remains disabled, but its metadata is deleted.
-
MediaLive uses
disassociate-feedto disassociate the channel (the resource) from the feed. It does this because it detects that there are no enabled outputs in the feed. -
When the resource is disassociated from the feed, Elemental Inference automatically sets the status of the feed to
Archived.
When you start the channel, MediaLive and Elemental Inference behave differently:
-
There is no
feedArnparameter in the channel, so MediaLive stops sending the source video to Elemental Inference. (It doesn't put media.) -
All the outputs are disabled, so Elemental Inference stops generating metadata for each feature.
These changes affect the charges that you incur:
-
You don't incur charges for the feed because all the outputs are disabled.
Re-enabling Elemental Inference features
The feed has been set to Archived, so you can't re-enable any Elemental Inference
features. Instead, you must set up
the features again.