@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VideoDescription extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
VideoDescription() |
| Modifier and Type | Method and Description |
|---|---|
VideoDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAfdSignaling()
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
String |
getAntiAlias()
The anti-alias filter is automatically applied to all outputs.
|
VideoCodecSettings |
getCodecSettings()
Video codec settings, (CodecSettings) under (VideoDescription), contains the group of settings related to video
encoding.
|
String |
getColorMetadata()
Choose Insert (INSERT) for this setting to include color metadata in this output.
|
Rectangle |
getCrop()
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
String |
getDropFrameTimecode()
Applies only to 29.97 fps outputs.
|
Integer |
getFixedAfd()
Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED).
|
Integer |
getHeight()
Use Height to define the video resolution height, in pixels, for this output.
|
Rectangle |
getPosition()
Use Selection placement (position) to define the video area in your output frame.
|
String |
getRespondToAfd()
Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values
in the input.
|
String |
getScalingBehavior()
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
Integer |
getSharpness()
Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing.
|
String |
getTimecodeInsertion()
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
VideoPreprocessor |
getVideoPreprocessors()
Find additional transcoding features under Preprocessors (VideoPreprocessors).
|
Integer |
getWidth()
Use Width to define the video resolution width, in pixels, for this output.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAfdSignaling(String afdSignaling)
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
void |
setAntiAlias(String antiAlias)
The anti-alias filter is automatically applied to all outputs.
|
void |
setCodecSettings(VideoCodecSettings codecSettings)
Video codec settings, (CodecSettings) under (VideoDescription), contains the group of settings related to video
encoding.
|
void |
setColorMetadata(String colorMetadata)
Choose Insert (INSERT) for this setting to include color metadata in this output.
|
void |
setCrop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
void |
setDropFrameTimecode(String dropFrameTimecode)
Applies only to 29.97 fps outputs.
|
void |
setFixedAfd(Integer fixedAfd)
Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED).
|
void |
setHeight(Integer height)
Use Height to define the video resolution height, in pixels, for this output.
|
void |
setPosition(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
void |
setRespondToAfd(String respondToAfd)
Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values
in the input.
|
void |
setScalingBehavior(String scalingBehavior)
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
void |
setSharpness(Integer sharpness)
Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing.
|
void |
setTimecodeInsertion(String timecodeInsertion)
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
void |
setVideoPreprocessors(VideoPreprocessor videoPreprocessors)
Find additional transcoding features under Preprocessors (VideoPreprocessors).
|
void |
setWidth(Integer width)
Use Width to define the video resolution width, in pixels, for this output.
|
String |
toString()
Returns a string representation of this object.
|
VideoDescription |
withAfdSignaling(AfdSignaling afdSignaling)
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
VideoDescription |
withAfdSignaling(String afdSignaling)
This setting only applies to H.264, H.265, and MPEG2 outputs.
|
VideoDescription |
withAntiAlias(AntiAlias antiAlias)
The anti-alias filter is automatically applied to all outputs.
|
VideoDescription |
withAntiAlias(String antiAlias)
The anti-alias filter is automatically applied to all outputs.
|
VideoDescription |
withCodecSettings(VideoCodecSettings codecSettings)
Video codec settings, (CodecSettings) under (VideoDescription), contains the group of settings related to video
encoding.
|
VideoDescription |
withColorMetadata(ColorMetadata colorMetadata)
Choose Insert (INSERT) for this setting to include color metadata in this output.
|
VideoDescription |
withColorMetadata(String colorMetadata)
Choose Insert (INSERT) for this setting to include color metadata in this output.
|
VideoDescription |
withCrop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
VideoDescription |
withDropFrameTimecode(DropFrameTimecode dropFrameTimecode)
Applies only to 29.97 fps outputs.
|
VideoDescription |
withDropFrameTimecode(String dropFrameTimecode)
Applies only to 29.97 fps outputs.
|
VideoDescription |
withFixedAfd(Integer fixedAfd)
Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED).
|
VideoDescription |
withHeight(Integer height)
Use Height to define the video resolution height, in pixels, for this output.
|
VideoDescription |
withPosition(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
VideoDescription |
withRespondToAfd(RespondToAfd respondToAfd)
Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values
in the input.
|
VideoDescription |
withRespondToAfd(String respondToAfd)
Use Respond to AFD (RespondToAfd) to specify how the service changes the video itself in response to AFD values
in the input.
|
VideoDescription |
withScalingBehavior(ScalingBehavior scalingBehavior)
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
VideoDescription |
withScalingBehavior(String scalingBehavior)
Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
|
VideoDescription |
withSharpness(Integer sharpness)
Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing.
|
VideoDescription |
withTimecodeInsertion(String timecodeInsertion)
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
VideoDescription |
withTimecodeInsertion(VideoTimecodeInsertion timecodeInsertion)
Applies only to H.264, H.265, MPEG2, and ProRes outputs.
|
VideoDescription |
withVideoPreprocessors(VideoPreprocessor videoPreprocessors)
Find additional transcoding features under Preprocessors (VideoPreprocessors).
|
VideoDescription |
withWidth(Integer width)
Use Width to define the video resolution width, in pixels, for this output.
|
public void setAfdSignaling(String afdSignaling)
afdSignaling - This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) 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.AfdSignalingpublic String getAfdSignaling()
AfdSignalingpublic VideoDescription withAfdSignaling(String afdSignaling)
afdSignaling - This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) 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.AfdSignalingpublic VideoDescription withAfdSignaling(AfdSignaling afdSignaling)
afdSignaling - This setting only applies to H.264, H.265, and MPEG2 outputs. Use Insert AFD signaling (AfdSignaling) 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.AfdSignalingpublic void setAntiAlias(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.AntiAliaspublic String getAntiAlias()
AntiAliaspublic VideoDescription withAntiAlias(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.AntiAliaspublic VideoDescription withAntiAlias(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.AntiAliaspublic void setCodecSettings(VideoCodecSettings codecSettings)
codecSettings - Video codec settings, (CodecSettings) under (VideoDescription), 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
(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, XavcSettingspublic VideoCodecSettings getCodecSettings()
public VideoDescription withCodecSettings(VideoCodecSettings codecSettings)
codecSettings - Video codec settings, (CodecSettings) under (VideoDescription), 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
(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, XavcSettingspublic void setColorMetadata(String colorMetadata)
colorMetadata - Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE)
to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert
by default.ColorMetadatapublic String getColorMetadata()
ColorMetadatapublic VideoDescription withColorMetadata(String colorMetadata)
colorMetadata - Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE)
to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert
by default.ColorMetadatapublic VideoDescription withColorMetadata(ColorMetadata colorMetadata)
colorMetadata - Choose Insert (INSERT) for this setting to include color metadata in this output. Choose Ignore (IGNORE)
to exclude color metadata from this output. If you don't specify a value, the service sets this to Insert
by default.ColorMetadatapublic void setCrop(Rectangle crop)
crop - Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame.public Rectangle getCrop()
public VideoDescription withCrop(Rectangle crop)
crop - Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame.public void setDropFrameTimecode(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 (TimecodeInsertion) is enabled.DropFrameTimecodepublic String getDropFrameTimecode()
DropFrameTimecodepublic VideoDescription withDropFrameTimecode(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 (TimecodeInsertion) is enabled.DropFrameTimecodepublic VideoDescription withDropFrameTimecode(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 (TimecodeInsertion) is enabled.DropFrameTimecodepublic void setFixedAfd(Integer fixedAfd)
fixedAfd - Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a
four-bit AFD value which the service will write on all frames of this video output.public Integer getFixedAfd()
public VideoDescription withFixedAfd(Integer fixedAfd)
fixedAfd - Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a
four-bit AFD value which the service will write on all frames of this video output.public void setHeight(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.public Integer getHeight()
public VideoDescription withHeight(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.public void setPosition(Rectangle position)
position - Use Selection placement (position) to define the video area in your output frame. The area outside of the
rectangle that you specify here is black.public Rectangle getPosition()
public VideoDescription withPosition(Rectangle position)
position - Use Selection placement (position) to define the video area in your output frame. The area outside of the
rectangle that you specify here is black.public void setRespondToAfd(String respondToAfd)
respondToAfd - Use Respond to AFD (RespondToAfd) 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 (NONE) and set AfdSignaling to (AUTO). * Choose None to remove all input AFD
values from this output.RespondToAfdpublic String getRespondToAfd()
RespondToAfdpublic VideoDescription withRespondToAfd(String respondToAfd)
respondToAfd - Use Respond to AFD (RespondToAfd) 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 (NONE) and set AfdSignaling to (AUTO). * Choose None to remove all input AFD
values from this output.RespondToAfdpublic VideoDescription withRespondToAfd(RespondToAfd respondToAfd)
respondToAfd - Use Respond to AFD (RespondToAfd) 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 (NONE) and set AfdSignaling to (AUTO). * Choose None to remove all input AFD
values from this output.RespondToAfdpublic void setScalingBehavior(String scalingBehavior)
scalingBehavior - Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the
setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any
value that you specify for the setting Selection placement (position) in this output.ScalingBehaviorpublic String getScalingBehavior()
ScalingBehaviorpublic VideoDescription withScalingBehavior(String scalingBehavior)
scalingBehavior - Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the
setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any
value that you specify for the setting Selection placement (position) in this output.ScalingBehaviorpublic VideoDescription withScalingBehavior(ScalingBehavior scalingBehavior)
scalingBehavior - Specify how the service handles outputs that have a different aspect ratio from the input aspect ratio.
Choose Stretch to output (STRETCH_TO_OUTPUT) to have the service stretch your video image to fit. Keep the
setting Default (DEFAULT) to have the service letterbox your video instead. This setting overrides any
value that you specify for the setting Selection placement (position) in this output.ScalingBehaviorpublic void setSharpness(Integer sharpness)
sharpness - Use Sharpness (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.public Integer getSharpness()
public VideoDescription withSharpness(Integer sharpness)
sharpness - Use Sharpness (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.public void setTimecodeInsertion(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 (VideoTimecodeInsertion) 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 (TimecodeConfig). In the
console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode
source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the
output. Source under Job settings > Timecode configuration (TimecodeSource) does.VideoTimecodeInsertionpublic String getTimecodeInsertion()
VideoTimecodeInsertionpublic VideoDescription withTimecodeInsertion(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 (VideoTimecodeInsertion) 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 (TimecodeConfig). In the
console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode
source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the
output. Source under Job settings > Timecode configuration (TimecodeSource) does.VideoTimecodeInsertionpublic VideoDescription withTimecodeInsertion(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 (VideoTimecodeInsertion) 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 (TimecodeConfig). In the
console, these settings are located under Job > Job settings > Timecode configuration. Note - Timecode
source under input settings (InputTimecodeSource) does not affect the timecodes that are inserted in the
output. Source under Job settings > Timecode configuration (TimecodeSource) does.VideoTimecodeInsertionpublic void setVideoPreprocessors(VideoPreprocessor videoPreprocessors)
videoPreprocessors - Find additional transcoding features under Preprocessors (VideoPreprocessors). Enable the features at each
output individually. These features are disabled by default.public VideoPreprocessor getVideoPreprocessors()
public VideoDescription withVideoPreprocessors(VideoPreprocessor videoPreprocessors)
videoPreprocessors - Find additional transcoding features under Preprocessors (VideoPreprocessors). Enable the features at each
output individually. These features are disabled by default.public void setWidth(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.public Integer getWidth()
public VideoDescription withWidth(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.public String toString()
toString in class ObjectObject.toString()public VideoDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.