@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 to respond to the AFD values in the input stream.
|
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 to respond to the AFD values in the input stream.
|
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 to respond to the AFD values in the input stream.
|
VideoDescription |
withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
Indicates how to respond to the AFD values in the input stream.
|
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 to respond to the AFD values in the input stream. RESPOND causes input video to be clipped,
depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for
FRAME_CAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAME_CAPTURE
codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE
ignores the AFD values and does not include the values through to the output, so input video is not
clipped.VideoDescriptionRespondToAfd
public String getRespondToAfd()
VideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(String respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. RESPOND causes input video to be clipped,
depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for
FRAME_CAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAME_CAPTURE
codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE
ignores the AFD values and does not include the values through to the output, so input video is not
clipped.VideoDescriptionRespondToAfd
public VideoDescription withRespondToAfd(VideoDescriptionRespondToAfd respondToAfd)
respondToAfd
- Indicates how to respond to the AFD values in the input stream. RESPOND causes input video to be clipped,
depending on the AFD value, input display aspect ratio, and output display aspect ratio, and (except for
FRAME_CAPTURE codec) includes the values in the output. PASSTHROUGH (does not apply to FRAME_CAPTURE
codec) ignores the AFD values and includes the values in the output, so input video is not clipped. NONE
ignores the AFD values and does not include the values through to the output, so input video is not
clipped.VideoDescriptionRespondToAfd
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.