public static interface VideoDescription.Builder extends SdkPojo, CopyableBuilder<VideoDescription.Builder,VideoDescription>
| Modifier and Type | Method and Description |
|---|---|
VideoDescription.Builder |
afdSignaling(AfdSignaling afdSignaling)
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
VideoDescription.Builder |
afdSignaling(String afdSignaling)
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
VideoDescription.Builder |
antiAlias(AntiAlias antiAlias)
The anti-alias filter is automatically applied to all outputs.
|
VideoDescription.Builder |
antiAlias(String antiAlias)
The anti-alias filter is automatically applied to all outputs.
|
default VideoDescription.Builder |
codecSettings(Consumer<VideoCodecSettings.Builder> codecSettings)
Video codec settings contains the group of settings related to video encoding.
|
VideoDescription.Builder |
codecSettings(VideoCodecSettings codecSettings)
Video codec settings contains the group of settings related to video encoding.
|
VideoDescription.Builder |
colorMetadata(ColorMetadata colorMetadata)
Choose Insert for this setting to include color metadata in this output.
|
VideoDescription.Builder |
colorMetadata(String colorMetadata)
Choose Insert for this setting to include color metadata in this output.
|
default VideoDescription.Builder |
crop(Consumer<Rectangle.Builder> crop)
Use Cropping selection to specify the video area that the service will include in the output video frame.
|
VideoDescription.Builder |
crop(Rectangle crop)
Use Cropping selection to specify the video area that the service will include in the output video frame.
|
VideoDescription.Builder |
dropFrameTimecode(DropFrameTimecode dropFrameTimecode)
Applies only to 29.97 fps outputs.
|
VideoDescription.Builder |
dropFrameTimecode(String dropFrameTimecode)
Applies only to 29.97 fps outputs.
|
VideoDescription.Builder |
fixedAfd(Integer fixedAfd)
Applies only if you set AFD Signaling to Fixed.
|
VideoDescription.Builder |
height(Integer height)
Use Height to define the video resolution height, in pixels, for this output.
|
default VideoDescription.Builder |
position(Consumer<Rectangle.Builder> position)
Use Selection placement to define the video area in your output frame.
|
VideoDescription.Builder |
position(Rectangle position)
Use Selection placement to define the video area in your output frame.
|
VideoDescription.Builder |
respondToAfd(RespondToAfd respondToAfd)
Use Respond to AFD to specify how the service changes the video itself in response to AFD values in the
input.
|
VideoDescription.Builder |
respondToAfd(String respondToAfd)
Use Respond to AFD to specify how the service changes the video itself in response to AFD values in the
input.
|
VideoDescription.Builder |
scalingBehavior(ScalingBehavior scalingBehavior)
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
VideoDescription.Builder |
scalingBehavior(String scalingBehavior)
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
VideoDescription.Builder |
sharpness(Integer sharpness)
Use Sharpness setting to specify the strength of anti-aliasing.
|
VideoDescription.Builder |
timecodeInsertion(String timecodeInsertion)
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
VideoDescription.Builder |
timecodeInsertion(VideoTimecodeInsertion timecodeInsertion)
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
default VideoDescription.Builder |
videoPreprocessors(Consumer<VideoPreprocessor.Builder> videoPreprocessors)
Find additional transcoding features under Preprocessors.
|
VideoDescription.Builder |
videoPreprocessors(VideoPreprocessor videoPreprocessors)
Find additional transcoding features under Preprocessors.
|
VideoDescription.Builder |
width(Integer width)
Use Width to define the video resolution width, in pixels, for this output.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVideoDescription.Builder afdSignaling(String afdSignaling)
afdSignaling - This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling to specify
whether the service includes AFD values in the output video data and what those values are. * Choose
None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead
encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input
AFD scaler data.AfdSignaling,
AfdSignalingVideoDescription.Builder afdSignaling(AfdSignaling afdSignaling)
afdSignaling - This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling to specify
whether the service includes AFD values in the output video data and what those values are. * Choose
None to remove all AFD values from this output. * Choose Fixed to ignore input AFD values and instead
encode the value specified in the job. * Choose Auto to calculate output AFD values based on the input
AFD scaler data.AfdSignaling,
AfdSignalingVideoDescription.Builder antiAlias(String antiAlias)
antiAlias - The anti-alias filter is automatically applied to all outputs. The service no longer accepts the value
DISABLED for AntiAlias. If you specify that in your job, the service will ignore the setting.AntiAlias,
AntiAliasVideoDescription.Builder antiAlias(AntiAlias antiAlias)
antiAlias - The anti-alias filter is automatically applied to all outputs. The service no longer accepts the value
DISABLED for AntiAlias. If you specify that in your job, the service will ignore the setting.AntiAlias,
AntiAliasVideoDescription.Builder codecSettings(VideoCodecSettings codecSettings)
codecSettings - Video codec settings contains the group of settings related to video encoding. The settings in this
group vary depending on the value that you choose for Video codec. For each codec enum that you
choose, define the corresponding settings object. The following lists the codec enum, settings object
pairs. * AV1, Av1Settings * AVC_INTRA, AvcIntraSettings * FRAME_CAPTURE, FrameCaptureSettings * H_264,
H264Settings * H_265, H265Settings * MPEG2, Mpeg2Settings * PRORES, ProresSettings * VC3, Vc3Settings
* VP8, Vp8Settings * VP9, Vp9Settings * XAVC, XavcSettingsdefault 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.BuildercodecSettings(VideoCodecSettings)VideoDescription.Builder colorMetadata(String colorMetadata)
colorMetadata - Choose Insert for this setting to include color metadata in this output. Choose Ignore to exclude
color metadata from this output. If you don't specify a value, the service sets this to Insert by
default.ColorMetadata,
ColorMetadataVideoDescription.Builder colorMetadata(ColorMetadata colorMetadata)
colorMetadata - Choose Insert for this setting to include color metadata in this output. Choose Ignore to exclude
color metadata from this output. If you don't specify a value, the service sets this to Insert by
default.ColorMetadata,
ColorMetadataVideoDescription.Builder crop(Rectangle crop)
crop - Use Cropping selection to specify the video area that the service will include in the output video
frame.default VideoDescription.Builder crop(Consumer<Rectangle.Builder> crop)
Rectangle.Builder avoiding the need to
create one manually via Rectangle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to crop(Rectangle).
crop - a consumer that will call methods on Rectangle.Buildercrop(Rectangle)VideoDescription.Builder dropFrameTimecode(String dropFrameTimecode)
dropFrameTimecode - Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame
timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to
non-drop-frame. This setting is enabled by default when Timecode insertion is enabled.DropFrameTimecode,
DropFrameTimecodeVideoDescription.Builder dropFrameTimecode(DropFrameTimecode dropFrameTimecode)
dropFrameTimecode - Applies only to 29.97 fps outputs. When this feature is enabled, the service will use drop-frame
timecode on outputs. If it is not possible to use drop-frame timecode, the system will fall back to
non-drop-frame. This setting is enabled by default when Timecode insertion is enabled.DropFrameTimecode,
DropFrameTimecodeVideoDescription.Builder fixedAfd(Integer fixedAfd)
fixedAfd - Applies only if you set AFD Signaling to Fixed. Use Fixed to specify a four-bit AFD value which the
service will write on all frames of this video output.VideoDescription.Builder height(Integer height)
height - Use Height to define the video resolution height, in pixels, for this output. To use the same
resolution as your input: Leave both Width and Height blank. To evenly scale from your input
resolution: Leave Height blank and enter a value for Width. For example, if your input is 1920x1080
and you set Width to 1280, your output will be 1280x720.VideoDescription.Builder position(Rectangle position)
position - Use Selection placement to define the video area in your output frame. The area outside of the
rectangle that you specify here is black.default VideoDescription.Builder position(Consumer<Rectangle.Builder> position)
Rectangle.Builder avoiding the need to create one manually via Rectangle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to position(Rectangle).
position - a consumer that will call methods on Rectangle.Builderposition(Rectangle)VideoDescription.Builder respondToAfd(String respondToAfd)
respondToAfd - Use Respond to AFD to specify how the service changes the video itself in response to AFD values in
the input. * Choose Respond to clip the input video frame according to the AFD value, input display
aspect ratio, and output display aspect ratio. * Choose Passthrough to include the input AFD values.
Do not choose this when AfdSignaling is set to NONE. A preferred implementation of this workflow is to
set RespondToAfd to and set AfdSignaling to AUTO. * Choose None to remove all input AFD values from
this output.RespondToAfd,
RespondToAfdVideoDescription.Builder respondToAfd(RespondToAfd respondToAfd)
respondToAfd - Use Respond to AFD to specify how the service changes the video itself in response to AFD values in
the input. * Choose Respond to clip the input video frame according to the AFD value, input display
aspect ratio, and output display aspect ratio. * Choose Passthrough to include the input AFD values.
Do not choose this when AfdSignaling is set to NONE. A preferred implementation of this workflow is to
set RespondToAfd to and set AfdSignaling to AUTO. * Choose None to remove all input AFD values from
this output.RespondToAfd,
RespondToAfdVideoDescription.Builder scalingBehavior(String scalingBehavior)
scalingBehavior - Specify how the service handles outputs that have a different aspect ratio from the input aspect
ratio. Choose Stretch to output to have the service stretch your video image to fit. Keep the setting
Default to have the service letterbox your video instead. This setting overrides any value that you
specify for the setting Selection placement in this output.ScalingBehavior,
ScalingBehaviorVideoDescription.Builder scalingBehavior(ScalingBehavior scalingBehavior)
scalingBehavior - Specify how the service handles outputs that have a different aspect ratio from the input aspect
ratio. Choose Stretch to output to have the service stretch your video image to fit. Keep the setting
Default to have the service letterbox your video instead. This setting overrides any value that you
specify for the setting Selection placement in this output.ScalingBehavior,
ScalingBehaviorVideoDescription.Builder sharpness(Integer sharpness)
sharpness - Use Sharpness setting to specify the strength of anti-aliasing. This setting changes the width of the
anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is
different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended
for most content.VideoDescription.Builder timecodeInsertion(String timecodeInsertion)
timecodeInsertion - Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input
frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode
insertion to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the
service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If
none are present, the service will set the timecode for the first output frame to zero. To change this
default behavior, adjust the settings under Timecode configuration. In the console, these settings are
located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings
does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode
configuration does.VideoTimecodeInsertion,
VideoTimecodeInsertionVideoDescription.Builder timecodeInsertion(VideoTimecodeInsertion timecodeInsertion)
timecodeInsertion - Applies only to H.264, H.265, MPEG2, and ProRes outputs. Only enable Timecode insertion when the input
frame rate is identical to the output frame rate. To include timecodes in this output, set Timecode
insertion to PIC_TIMING_SEI. To leave them out, set it to DISABLED. Default is DISABLED. When the
service inserts timecodes in an output, by default, it uses any embedded timecodes from the input. If
none are present, the service will set the timecode for the first output frame to zero. To change this
default behavior, adjust the settings under Timecode configuration. In the console, these settings are
located under Job > Job settings > Timecode configuration. Note - Timecode source under input settings
does not affect the timecodes that are inserted in the output. Source under Job settings > Timecode
configuration does.VideoTimecodeInsertion,
VideoTimecodeInsertionVideoDescription.Builder videoPreprocessors(VideoPreprocessor videoPreprocessors)
videoPreprocessors - Find additional transcoding features under Preprocessors. Enable the features at each output
individually. These features are disabled by default.default VideoDescription.Builder videoPreprocessors(Consumer<VideoPreprocessor.Builder> videoPreprocessors)
VideoPreprocessor.Builder avoiding the need to create one manually via
VideoPreprocessor.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to videoPreprocessors(VideoPreprocessor).
videoPreprocessors - a consumer that will call methods on VideoPreprocessor.BuildervideoPreprocessors(VideoPreprocessor)VideoDescription.Builder width(Integer width)
width - Use Width to define the video resolution width, in pixels, for this output. To use the same resolution
as your input: Leave both Width and Height blank. To evenly scale from your input resolution: Leave
Width blank and enter a value for Height. For example, if your input is 1920x1080 and you set Height
to 720, your output will be 1280x720.Copyright © 2023. All rights reserved.