Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data XavcSettings = XavcSettings' {
- temporalAdaptiveQuantization :: Maybe XavcTemporalAdaptiveQuantization
- slowPal :: Maybe XavcSlowPal
- xavc4kProfileSettings :: Maybe Xavc4kProfileSettings
- xavcHdIntraCbgProfileSettings :: Maybe XavcHdIntraCbgProfileSettings
- xavc4kIntraVbrProfileSettings :: Maybe Xavc4kIntraVbrProfileSettings
- xavc4kIntraCbgProfileSettings :: Maybe Xavc4kIntraCbgProfileSettings
- profile :: Maybe XavcProfile
- softness :: Maybe Natural
- framerateDenominator :: Maybe Natural
- framerateConversionAlgorithm :: Maybe XavcFramerateConversionAlgorithm
- entropyEncoding :: Maybe XavcEntropyEncoding
- framerateControl :: Maybe XavcFramerateControl
- adaptiveQuantization :: Maybe XavcAdaptiveQuantization
- framerateNumerator :: Maybe Natural
- xavcHdProfileSettings :: Maybe XavcHdProfileSettings
- spatialAdaptiveQuantization :: Maybe XavcSpatialAdaptiveQuantization
- newXavcSettings :: XavcSettings
- xavcSettings_temporalAdaptiveQuantization :: Lens' XavcSettings (Maybe XavcTemporalAdaptiveQuantization)
- xavcSettings_slowPal :: Lens' XavcSettings (Maybe XavcSlowPal)
- xavcSettings_xavc4kProfileSettings :: Lens' XavcSettings (Maybe Xavc4kProfileSettings)
- xavcSettings_xavcHdIntraCbgProfileSettings :: Lens' XavcSettings (Maybe XavcHdIntraCbgProfileSettings)
- xavcSettings_xavc4kIntraVbrProfileSettings :: Lens' XavcSettings (Maybe Xavc4kIntraVbrProfileSettings)
- xavcSettings_xavc4kIntraCbgProfileSettings :: Lens' XavcSettings (Maybe Xavc4kIntraCbgProfileSettings)
- xavcSettings_profile :: Lens' XavcSettings (Maybe XavcProfile)
- xavcSettings_softness :: Lens' XavcSettings (Maybe Natural)
- xavcSettings_framerateDenominator :: Lens' XavcSettings (Maybe Natural)
- xavcSettings_framerateConversionAlgorithm :: Lens' XavcSettings (Maybe XavcFramerateConversionAlgorithm)
- xavcSettings_entropyEncoding :: Lens' XavcSettings (Maybe XavcEntropyEncoding)
- xavcSettings_framerateControl :: Lens' XavcSettings (Maybe XavcFramerateControl)
- xavcSettings_adaptiveQuantization :: Lens' XavcSettings (Maybe XavcAdaptiveQuantization)
- xavcSettings_framerateNumerator :: Lens' XavcSettings (Maybe Natural)
- xavcSettings_xavcHdProfileSettings :: Lens' XavcSettings (Maybe XavcHdProfileSettings)
- xavcSettings_spatialAdaptiveQuantization :: Lens' XavcSettings (Maybe XavcSpatialAdaptiveQuantization)
Documentation
data XavcSettings Source #
Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value XAVC.
See: newXavcSettings
smart constructor.
XavcSettings' | |
|
Instances
newXavcSettings :: XavcSettings Source #
Create a value of XavcSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:temporalAdaptiveQuantization:XavcSettings'
, xavcSettings_temporalAdaptiveQuantization
- The best way to set up adaptive quantization is to keep the default
value, Auto (AUTO), for the setting Adaptive quantization
(adaptiveQuantization). When you do so, MediaConvert automatically
applies the best types of quantization for your video content. Include
this setting in your JSON job specification only when you choose to
change the default value for Adaptive quantization. For this setting,
keep the default value, Enabled (ENABLED), to adjust quantization within
each frame based on temporal variation of content complexity. When you
enable this feature, the encoder uses fewer bits on areas of the frame
that aren't moving and uses more bits on complex objects with sharp
edges that move a lot. For example, this feature improves the
readability of text tickers on newscasts and scoreboards on sports
matches. Enabling this feature will almost always improve your video
quality. Note, though, that this feature doesn't take into account
where the viewer's attention is likely to be. If viewers are likely to
be focusing their attention on a part of the screen that doesn't have
moving objects with sharp edges, such as sports athletes' faces, you
might choose to disable this feature. Related setting: When you enable
temporal adaptive quantization, adjust the strength of the filter with
the setting Adaptive quantization (adaptiveQuantization).
$sel:slowPal:XavcSettings'
, xavcSettings_slowPal
- Ignore this setting unless your input frame rate is 23.976 or 24 frames
per second (fps). Enable slow PAL to create a 25 fps output by
relabeling the video frames and resampling your audio. Note that
enabling this setting will slightly reduce the duration of your video.
Related settings: You must also set Frame rate to 25. In your JSON job
specification, set (framerateControl) to (SPECIFIED),
(framerateNumerator) to 25 and (framerateDenominator) to 1.
$sel:xavc4kProfileSettings:XavcSettings'
, xavcSettings_xavc4kProfileSettings
- Required when you set (Profile) under
(VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_4K.
$sel:xavcHdIntraCbgProfileSettings:XavcSettings'
, xavcSettings_xavcHdIntraCbgProfileSettings
- Required when you set (Profile) under
(VideoDescription)>(CodecSettings)>(XavcSettings) to the value
XAVC_HD_INTRA_CBG.
$sel:xavc4kIntraVbrProfileSettings:XavcSettings'
, xavcSettings_xavc4kIntraVbrProfileSettings
- Required when you set (Profile) under
(VideoDescription)>(CodecSettings)>(XavcSettings) to the value
XAVC_4K_INTRA_VBR.
$sel:xavc4kIntraCbgProfileSettings:XavcSettings'
, xavcSettings_xavc4kIntraCbgProfileSettings
- Required when you set (Profile) under
(VideoDescription)>(CodecSettings)>(XavcSettings) to the value
XAVC_4K_INTRA_CBG.
$sel:profile:XavcSettings'
, xavcSettings_profile
- Specify the XAVC profile for this output. For more information, see the
Sony documentation at https://www.xavc-info.org/. Note that
MediaConvert doesn't support the interlaced video XAVC operating points
for XAVC_HD_INTRA_CBG. To create an interlaced XAVC output, choose the
profile XAVC_HD.
$sel:softness:XavcSettings'
, xavcSettings_softness
- Ignore this setting unless your downstream workflow requires that you
specify it explicitly. Otherwise, we recommend that you adjust the
softness of your output by using a lower value for the setting Sharpness
(sharpness) or by enabling a noise reducer filter (noiseReducerFilter).
The Softness (softness) setting specifies the quantization matrices that
the encoder uses. Keep the default value, 0, for flat quantization.
Choose the value 1 or 16 to use the default JVT softening quantization
matricies from the H.264 specification. Choose a value from 17 to 128 to
use planar interpolation. Increasing values from 17 to 128 result in
increasing reduction of high-frequency data. The value 128 results in
the softest video.
$sel:framerateDenominator:XavcSettings'
, xavcSettings_framerateDenominator
- When you use the API for transcode jobs that use frame rate conversion,
specify the frame rate as a fraction. For example, 24000 / 1001 =
23.976 fps. Use FramerateDenominator to specify the denominator of this
fraction. In this example, use 1001 for the value of
FramerateDenominator. When you use the console for transcode jobs that
use frame rate conversion, provide the value as a decimal number for
Frame rate. In this example, specify 23.976.
$sel:framerateConversionAlgorithm:XavcSettings'
, xavcSettings_framerateConversionAlgorithm
- Choose the method that you want MediaConvert to use when increasing or
decreasing the frame rate. We recommend using drop duplicate
(DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to
30 fps. For numerically complex conversions, you can use interpolate
(INTERPOLATE) to avoid stutter. This results in a smooth picture, but
might introduce undesirable video artifacts. For complex frame rate
conversions, especially if your source video has already been converted
from its original cadence, use FrameFormer (FRAMEFORMER) to do
motion-compensated interpolation. FrameFormer chooses the best
conversion method frame by frame. Note that using FrameFormer increases
the transcoding time and incurs a significant add-on cost.
$sel:entropyEncoding:XavcSettings'
, xavcSettings_entropyEncoding
- Optional. Choose a specific entropy encoding mode only when you want to
override XAVC recommendations. If you choose the value auto,
MediaConvert uses the mode that the XAVC file format specifies given
this output's operating point.
$sel:framerateControl:XavcSettings'
, xavcSettings_framerateControl
- If you are using the console, use the Frame rate setting to specify the
frame rate for this output. If you want to keep the same frame rate as
the input video, choose Follow source. If you want to do frame rate
conversion, choose a frame rate from the dropdown list. The framerates
shown in the dropdown list are decimal approximations of fractions. If
you are creating your transcoding job specification as a JSON file
without the console, use FramerateControl to specify which value the
service uses for the frame rate for this output. Choose
INITIALIZE_FROM_SOURCE if you want the service to use the frame rate
from the input. Choose SPECIFIED if you want the service to use the
frame rate that you specify in the settings FramerateNumerator and
FramerateDenominator.
$sel:adaptiveQuantization:XavcSettings'
, xavcSettings_adaptiveQuantization
- Keep the default value, Auto (AUTO), for this setting to have
MediaConvert automatically apply the best types of quantization for your
video content. When you want to apply your quantization settings
manually, you must set Adaptive quantization (adaptiveQuantization) to a
value other than Auto (AUTO). Use this setting to specify the strength
of any adaptive quantization filters that you enable. If you don't want
MediaConvert to do any adaptive quantization in this transcode, set
Adaptive quantization to Off (OFF). Related settings: The value that you
choose here applies to the following settings: Flicker adaptive
quantization (flickerAdaptiveQuantization), Spatial adaptive
quantization (spatialAdaptiveQuantization), and Temporal adaptive
quantization (temporalAdaptiveQuantization).
$sel:framerateNumerator:XavcSettings'
, xavcSettings_framerateNumerator
- When you use the API for transcode jobs that use frame rate conversion,
specify the frame rate as a fraction. For example, 24000 / 1001 =
23.976 fps. Use FramerateNumerator to specify the numerator of this
fraction. In this example, use 24000 for the value of
FramerateNumerator. When you use the console for transcode jobs that use
frame rate conversion, provide the value as a decimal number for
Framerate. In this example, specify 23.976.
$sel:xavcHdProfileSettings:XavcSettings'
, xavcSettings_xavcHdProfileSettings
- Required when you set (Profile) under
(VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_HD.
$sel:spatialAdaptiveQuantization:XavcSettings'
, xavcSettings_spatialAdaptiveQuantization
- The best way to set up adaptive quantization is to keep the default
value, Auto (AUTO), for the setting Adaptive quantization
(adaptiveQuantization). When you do so, MediaConvert automatically
applies the best types of quantization for your video content. Include
this setting in your JSON job specification only when you choose to
change the default value for Adaptive quantization. For this setting,
keep the default value, Enabled (ENABLED), to adjust quantization within
each frame based on spatial variation of content complexity. When you
enable this feature, the encoder uses fewer bits on areas that can
sustain more distortion with no noticeable visual degradation and uses
more bits on areas where any small distortion will be noticeable. For
example, complex textured blocks are encoded with fewer bits and smooth
textured blocks are encoded with more bits. Enabling this feature will
almost always improve your video quality. Note, though, that this
feature doesn't take into account where the viewer's attention is
likely to be. If viewers are likely to be focusing their attention on a
part of the screen with a lot of complex texture, you might choose to
disable this feature. Related setting: When you enable spatial adaptive
quantization, set the value for Adaptive quantization
(adaptiveQuantization) depending on your content. For homogeneous
content, such as cartoons and video games, set it to Low. For content
with a wider variety of textures, set it to High or Higher.
xavcSettings_temporalAdaptiveQuantization :: Lens' XavcSettings (Maybe XavcTemporalAdaptiveQuantization) Source #
The best way to set up adaptive quantization is to keep the default value, Auto (AUTO), for the setting Adaptive quantization (adaptiveQuantization). When you do so, MediaConvert automatically applies the best types of quantization for your video content. Include this setting in your JSON job specification only when you choose to change the default value for Adaptive quantization. For this setting, keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on temporal variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas of the frame that aren't moving and uses more bits on complex objects with sharp edges that move a lot. For example, this feature improves the readability of text tickers on newscasts and scoreboards on sports matches. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen that doesn't have moving objects with sharp edges, such as sports athletes' faces, you might choose to disable this feature. Related setting: When you enable temporal adaptive quantization, adjust the strength of the filter with the setting Adaptive quantization (adaptiveQuantization).
xavcSettings_slowPal :: Lens' XavcSettings (Maybe XavcSlowPal) Source #
Ignore this setting unless your input frame rate is 23.976 or 24 frames per second (fps). Enable slow PAL to create a 25 fps output by relabeling the video frames and resampling your audio. Note that enabling this setting will slightly reduce the duration of your video. Related settings: You must also set Frame rate to 25. In your JSON job specification, set (framerateControl) to (SPECIFIED), (framerateNumerator) to 25 and (framerateDenominator) to 1.
xavcSettings_xavc4kProfileSettings :: Lens' XavcSettings (Maybe Xavc4kProfileSettings) Source #
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_4K.
xavcSettings_xavcHdIntraCbgProfileSettings :: Lens' XavcSettings (Maybe XavcHdIntraCbgProfileSettings) Source #
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_HD_INTRA_CBG.
xavcSettings_xavc4kIntraVbrProfileSettings :: Lens' XavcSettings (Maybe Xavc4kIntraVbrProfileSettings) Source #
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_4K_INTRA_VBR.
xavcSettings_xavc4kIntraCbgProfileSettings :: Lens' XavcSettings (Maybe Xavc4kIntraCbgProfileSettings) Source #
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_4K_INTRA_CBG.
xavcSettings_profile :: Lens' XavcSettings (Maybe XavcProfile) Source #
Specify the XAVC profile for this output. For more information, see the Sony documentation at https://www.xavc-info.org/. Note that MediaConvert doesn't support the interlaced video XAVC operating points for XAVC_HD_INTRA_CBG. To create an interlaced XAVC output, choose the profile XAVC_HD.
xavcSettings_softness :: Lens' XavcSettings (Maybe Natural) Source #
Ignore this setting unless your downstream workflow requires that you specify it explicitly. Otherwise, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.
xavcSettings_framerateDenominator :: Lens' XavcSettings (Maybe Natural) Source #
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Frame rate. In this example, specify 23.976.
xavcSettings_framerateConversionAlgorithm :: Lens' XavcSettings (Maybe XavcFramerateConversionAlgorithm) Source #
Choose the method that you want MediaConvert to use when increasing or decreasing the frame rate. We recommend using drop duplicate (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to 30 fps. For numerically complex conversions, you can use interpolate (INTERPOLATE) to avoid stutter. This results in a smooth picture, but might introduce undesirable video artifacts. For complex frame rate conversions, especially if your source video has already been converted from its original cadence, use FrameFormer (FRAMEFORMER) to do motion-compensated interpolation. FrameFormer chooses the best conversion method frame by frame. Note that using FrameFormer increases the transcoding time and incurs a significant add-on cost.
xavcSettings_entropyEncoding :: Lens' XavcSettings (Maybe XavcEntropyEncoding) Source #
Optional. Choose a specific entropy encoding mode only when you want to override XAVC recommendations. If you choose the value auto, MediaConvert uses the mode that the XAVC file format specifies given this output's operating point.
xavcSettings_framerateControl :: Lens' XavcSettings (Maybe XavcFramerateControl) Source #
If you are using the console, use the Frame rate setting to specify the frame rate for this output. If you want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate conversion, choose a frame rate from the dropdown list. The framerates shown in the dropdown list are decimal approximations of fractions. If you are creating your transcoding job specification as a JSON file without the console, use FramerateControl to specify which value the service uses for the frame rate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if you want the service to use the frame rate that you specify in the settings FramerateNumerator and FramerateDenominator.
xavcSettings_adaptiveQuantization :: Lens' XavcSettings (Maybe XavcAdaptiveQuantization) Source #
Keep the default value, Auto (AUTO), for this setting to have MediaConvert automatically apply the best types of quantization for your video content. When you want to apply your quantization settings manually, you must set Adaptive quantization (adaptiveQuantization) to a value other than Auto (AUTO). Use this setting to specify the strength of any adaptive quantization filters that you enable. If you don't want MediaConvert to do any adaptive quantization in this transcode, set Adaptive quantization to Off (OFF). Related settings: The value that you choose here applies to the following settings: Flicker adaptive quantization (flickerAdaptiveQuantization), Spatial adaptive quantization (spatialAdaptiveQuantization), and Temporal adaptive quantization (temporalAdaptiveQuantization).
xavcSettings_framerateNumerator :: Lens' XavcSettings (Maybe Natural) Source #
When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.
xavcSettings_xavcHdProfileSettings :: Lens' XavcSettings (Maybe XavcHdProfileSettings) Source #
Required when you set (Profile) under (VideoDescription)>(CodecSettings)>(XavcSettings) to the value XAVC_HD.
xavcSettings_spatialAdaptiveQuantization :: Lens' XavcSettings (Maybe XavcSpatialAdaptiveQuantization) Source #
The best way to set up adaptive quantization is to keep the default value, Auto (AUTO), for the setting Adaptive quantization (adaptiveQuantization). When you do so, MediaConvert automatically applies the best types of quantization for your video content. Include this setting in your JSON job specification only when you choose to change the default value for Adaptive quantization. For this setting, keep the default value, Enabled (ENABLED), to adjust quantization within each frame based on spatial variation of content complexity. When you enable this feature, the encoder uses fewer bits on areas that can sustain more distortion with no noticeable visual degradation and uses more bits on areas where any small distortion will be noticeable. For example, complex textured blocks are encoded with fewer bits and smooth textured blocks are encoded with more bits. Enabling this feature will almost always improve your video quality. Note, though, that this feature doesn't take into account where the viewer's attention is likely to be. If viewers are likely to be focusing their attention on a part of the screen with a lot of complex texture, you might choose to disable this feature. Related setting: When you enable spatial adaptive quantization, set the value for Adaptive quantization (adaptiveQuantization) depending on your content. For homogeneous content, such as cartoons and video games, set it to Low. For content with a wider variety of textures, set it to High or Higher.