@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) |
VideoCodecSettings |
getCodecSettings()
Video codec settings.
|
Integer |
getHeight()
Output video height, in pixels.
|
String |
getName()
The name of this VideoDescription.
|
String |
getRespondToAfd()
Indicates how MediaLive will respond to the AFD values that might be in the input video.
|
String |
getScalingBehavior()
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height
and width).
|
Integer |
getSharpness()
Changes the strength of the anti-alias filter used for scaling.
|
Integer |
getWidth()
Output video width, in pixels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodecSettings(VideoCodecSettings codecSettings)
Video codec settings.
|
void |
setHeight(Integer height)
Output video height, in pixels.
|
void |
setName(String name)
The name of this VideoDescription.
|
void |
setRespondToAfd(String respondToAfd)
Indicates how MediaLive will respond to the AFD values that might be in the input video.
|
void |
setScalingBehavior(String scalingBehavior)
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height
and width).
|
void |
setSharpness(Integer sharpness)
Changes the strength of the anti-alias filter used for scaling.
|
void |
setWidth(Integer width)
Output video width, in pixels.
|
String |
toString()
Returns a string representation of this object.
|
VideoDescription |
withCodecSettings(VideoCodecSettings codecSettings)
Video codec settings.
|
VideoDescription |
withHeight(Integer height)
Output video height, in pixels.
|
VideoDescription |
withName(String name)
The name of this VideoDescription.
|
VideoDescription |
withRespondToAfd(String respondToAfd)
Indicates how MediaLive will respond to the AFD values that might be in the input video.
|
VideoDescription |
withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
Indicates how MediaLive will respond to the AFD values that might be in the input video.
|
VideoDescription |
withScalingBehavior(String scalingBehavior)
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height
and width).
|
VideoDescription |
withScalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
STRETCH_TO_OUTPUT configures the output position to stretch the video to the specified output resolution (height
and width).
|
VideoDescription |
withSharpness(Integer sharpness)
Changes the strength of the anti-alias filter used for scaling.
|
VideoDescription |
withWidth(Integer width)
Output video width, in pixels.
|
public void setCodecSettings(VideoCodecSettings codecSettings)
codecSettings
- Video codec settings.public VideoCodecSettings getCodecSettings()
public VideoDescription withCodecSettings(VideoCodecSettings codecSettings)
codecSettings
- Video codec settings.public void setHeight(Integer height)
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.public Integer getHeight()
public VideoDescription withHeight(Integer height)
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.public void setName(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.public String getName()
public VideoDescription withName(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.public void setRespondToAfd(String respondToAfd)
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 outputVideoDescriptionRespondToAfd
public String getRespondToAfd()
VideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(String respondToAfd)
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 outputVideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
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 outputVideoDescriptionRespondToAfd
public void setScalingBehavior(String scalingBehavior)
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.VideoDescriptionScalingBehavior
public String getScalingBehavior()
VideoDescriptionScalingBehavior
public VideoDescription withScalingBehavior(String scalingBehavior)
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.VideoDescriptionScalingBehavior
public VideoDescription withScalingBehavior(VideoDescriptionScalingBehavior scalingBehavior)
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.VideoDescriptionScalingBehavior
public void setSharpness(Integer sharpness)
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.public Integer getSharpness()
public VideoDescription withSharpness(Integer sharpness)
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.public void setWidth(Integer width)
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.public Integer getWidth()
public VideoDescription withWidth(Integer width)
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.public String toString()
toString
in class Object
Object.toString()
public VideoDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.