Loaded conditionally when the task involves encoding (MediaLive live encoding OR MediaConvert VOD transcoding). The cross-service rules in service-rules-core.md are always loaded alongside this file.
Settings below apply to both MediaLive and MediaConvert except where marked
[MediaLive only] or [MediaConvert only]. API field names are given
in parentheses.
HEVC: Main profile (or Main 10-bit for HDR/10-bit sources) SHOULD be used.
MediaLive: H265Settings.Profile: MAIN or MAIN_10BIT
MediaConvert: H265Settings.CodecProfile: MAIN_MAIN or MAIN10_MAIN
Adaptive Quantization:
SHOULD be set to Auto.
MediaLive: H264Settings.AdaptiveQuantization: AUTO; FlickerAQ via H264Settings.FlickerAq: ENABLED
MediaConvert: H264Settings.AdaptiveQuantization: AUTO; flicker control via H264Settings.FlickerAdaptiveQuantization
Flicker AQ SHOULD be enabled only for pulsing artifacts on grass/textures (sports) or dark/night content.
Input video filters (content-dependent):
Sports: No filter SHOULD be used (preserve motion detail).
Filter strength: 3-4 is RECOMMENDED for low-bitrate content (below 4 Mbps at 1080p, 2 Mbps at 720p, 1 Mbps at SD).
Noise Reducer:
MediaConvert (NoiseReducer.Filter on the input): for old film content, CONSERVE mode SHOULD be used. For clean sources, the noise reducer SHOULD NOT be applied.
MediaLive uses the Bandwidth Reduction Filter (above) for similar purposes.
Quality/density trade-off [MediaLive only]:
MediaLive sets quality vs. throughput indirectly via LookAheadRateControl and the channel class; there is no numeric “speed” parameter.
Quality tuning [MediaConvert only]:
H264Settings.QualityTuningLevel: SINGLE_PASS_HQ SHOULD be used for live VOD encoding when wall-clock matters.
H264Settings.QualityTuningLevel: MULTI_PASS_HQ MAY be used for non-time-sensitive VOD (slower, higher quality).
HEVC: H265Settings.QualityTuningLevel: SINGLE_PASS_HQ for sub-4K, SINGLE_PASS for 4K when real-time performance matters.
Scaling:
Scaling Sharpness when downscaling SHOULD be 100 (preserve contour detail).
Scaling Sharpness when upscaling SHOULD be 50 or 25 (avoid aliasing artifacts).
Deinterlacing (interlaced sources):
For sports with interlaced source (e.g., 1080i): frame rate SHOULD be doubled to progressive (29.97i to 59.94p or 25i to 50p) using the Interpolation deinterlace algorithm.
If source is interlaced and output is set to progressive WITHOUT enabling the deinterlacer, the output will have combing artifacts. The deinterlacer MUST be enabled.
H.264 Level by resolution (typical, both services):
1080p60: H264_LEVEL_4_2
1080p30: H264_LEVEL_4_1
720p60: H264_LEVEL_4_0
720p30: H264_LEVEL_3_1
480p30: H264_LEVEL_3_1
When in doubt, set Level to AUTO and let the encoder pick.