public static interface VideoDescription.Builder extends CopyableBuilder<VideoDescription.Builder,VideoDescription>
Modifier and Type | Method and Description |
---|---|
default VideoDescription.Builder |
codecSettings(Consumer<VideoCodecSettings.Builder> codecSettings)
Video codec settings.
|
VideoDescription.Builder |
codecSettings(VideoCodecSettings codecSettings)
Video codec settings.
|
VideoDescription.Builder |
height(Integer height)
Output video height (in pixels).
|
VideoDescription.Builder |
name(String name)
The name of this VideoDescription.
|
VideoDescription.Builder |
respondToAfd(String respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
VideoDescription.Builder |
respondToAfd(VideoDescriptionRespondToAfd respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
VideoDescription.Builder |
scalingBehavior(String scalingBehavior)
When set to "stretchToOutput", automatically configures the output position to stretch the video to the
specified output resolution.
|
VideoDescription.Builder |
scalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
When set to "stretchToOutput", automatically configures the output position to stretch the video to the
specified output resolution.
|
VideoDescription.Builder |
sharpness(Integer sharpness)
Changes the width of the anti-alias filter kernel used for scaling.
|
VideoDescription.Builder |
width(Integer width)
Output video width (in pixels).
|
copy
apply, build
VideoDescription.Builder codecSettings(VideoCodecSettings codecSettings)
codecSettings
- Video codec settings.default VideoDescription.Builder codecSettings(Consumer<VideoCodecSettings.Builder> codecSettings)
VideoCodecSettings.Builder
avoiding the need to create one manually via
VideoCodecSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to codecSettings(VideoCodecSettings)
.codecSettings
- a consumer that will call methods on VideoCodecSettings.Builder
codecSettings(VideoCodecSettings)
VideoDescription.Builder height(Integer height)
height
- Output video height (in pixels). Leave blank to use source video height. If left blank, width must
also be unspecified.VideoDescription.Builder name(String name)
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.VideoDescription.Builder respondToAfd(String respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. Setting to "respond" causes input
video to be clipped, depending on AFD value, input display aspect ratio and output display aspect
ratio.VideoDescriptionRespondToAfd
,
VideoDescriptionRespondToAfd
VideoDescription.Builder respondToAfd(VideoDescriptionRespondToAfd respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. Setting to "respond" causes input
video to be clipped, depending on AFD value, input display aspect ratio and output display aspect
ratio.VideoDescriptionRespondToAfd
,
VideoDescriptionRespondToAfd
VideoDescription.Builder scalingBehavior(String scalingBehavior)
scalingBehavior
- When set to "stretchToOutput", automatically configures the output position to stretch the video to
the specified output resolution. This option will override any position value.VideoDescriptionScalingBehavior
,
VideoDescriptionScalingBehavior
VideoDescription.Builder scalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
scalingBehavior
- When set to "stretchToOutput", automatically configures the output position to stretch the video to
the specified output resolution. This option will override any position value.VideoDescriptionScalingBehavior
,
VideoDescriptionScalingBehavior
VideoDescription.Builder sharpness(Integer sharpness)
sharpness
- Changes the width of the anti-alias filter kernel used for scaling. Only applies if scaling is being
performed and antiAlias is set to true. 0 is the softest setting, 100 the sharpest, and 50 recommended
for most content.VideoDescription.Builder width(Integer width)
width
- Output video width (in pixels). Leave out to use source video width. If left out, height must also be
left out. Display aspect ratio is always preserved by letterboxing or pillarboxing when necessary.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.