Interface VideoDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VideoDescription.Builder,
,VideoDescription> SdkBuilder<VideoDescription.Builder,
,VideoDescription> SdkPojo
- Enclosing class:
VideoDescription
public static interface VideoDescription.Builder
extends SdkPojo, CopyableBuilder<VideoDescription.Builder,VideoDescription>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VideoDescription.Builder
codecSettings
(Consumer<VideoCodecSettings.Builder> codecSettings) Video codec settings.codecSettings
(VideoCodecSettings codecSettings) Video codec settings.Output video height, in pixels.The name of this VideoDescription.respondToAfd
(String respondToAfd) Indicates how MediaLive will respond to the AFD values that might be in the input video.respondToAfd
(VideoDescriptionRespondToAfd respondToAfd) Indicates how MediaLive will respond to the AFD values that might be in the input video.scalingBehavior
(String scalingBehavior) STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width).scalingBehavior
(VideoDescriptionScalingBehavior scalingBehavior) STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width).Changes the strength of the anti-alias filter used for scaling.Output video width, in pixels.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
codecSettings
Video codec settings.- Parameters:
codecSettings
- Video codec settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codecSettings
Video codec settings. This is a convenience method that creates an instance of theVideoCodecSettings.Builder
avoiding the need to create one manually viaVideoCodecSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodecSettings(VideoCodecSettings)
.- Parameters:
codecSettings
- a consumer that will call methods onVideoCodecSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
height
Output video height, in pixels. Must be an even number. For most codecs, you can leave this field and width blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.- Parameters:
height
- Output video height, in pixels. Must be an even number. For most codecs, you can leave this field and width blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.- Parameters:
name
- The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
respondToAfd
Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH. RESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output. NONE: MediaLive does not clip the input video and does not include the AFD values in the output- Parameters:
respondToAfd
- Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH. RESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output. NONE: MediaLive does not clip the input video and does not include the AFD values in the output- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
respondToAfd
Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH. RESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output. NONE: MediaLive does not clip the input video and does not include the AFD values in the output- Parameters:
respondToAfd
- Indicates how MediaLive will respond to the AFD values that might be in the input video. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose PASSTHROUGH. RESPOND: MediaLive clips the input video using a formula that uses the AFD values (configured in afdSignaling ), the input display aspect ratio, and the output display aspect ratio. MediaLive also includes the AFD values in the output, unless the codec for this encode is FRAME_CAPTURE. PASSTHROUGH: MediaLive ignores the AFD values and does not clip the video. But MediaLive does include the values in the output. NONE: MediaLive does not clip the input video and does not include the AFD values in the output- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scalingBehavior
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.- Parameters:
scalingBehavior
- STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scalingBehavior
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.- Parameters:
scalingBehavior
- STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height and width). This option will override any position value. DEFAULT may insert black boxes (pillar boxes or letter boxes) around the video to provide the specified output resolution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sharpness
Changes the strength of the anti-alias filter used for scaling. 0 is the softest setting, 100 is the sharpest. A setting of 50 is recommended for most content.- Parameters:
sharpness
- Changes the strength of the anti-alias filter used for scaling. 0 is the softest setting, 100 is the sharpest. A setting of 50 is recommended for most content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
width
Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.- Parameters:
width
- Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-