@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VideoSelector extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
VideoSelector() |
Modifier and Type | Method and Description |
---|---|
VideoSelector |
clone() |
boolean |
equals(Object obj) |
String |
getAlphaBehavior()
Ignore this setting unless this input is a QuickTime animation with an alpha channel.
|
String |
getColorSpace()
If your input video has accurate color space metadata, or if you don't know about color space, leave this set to
the default value Follow (FOLLOW).
|
String |
getColorSpaceUsage()
There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and
HDR master display information settings(Hdr10Metadata).
|
String |
getEmbeddedTimecodeOverride()
Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input contains
timecode tag data in the Modified Digital Video Pack Metadata (MDPM).
|
Hdr10Metadata |
getHdr10Metadata()
Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
|
String |
getPadVideo()
Use this setting if your input has video and audio durations that don't align, and your output or player has
strict alignment requirements.
|
Integer |
getPid()
Use PID (Pid) to select specific video data from an input file.
|
Integer |
getProgramNumber()
Selects a specific program from within a multi-program transport stream.
|
String |
getRotate()
Use Rotate (InputRotate) to specify how the service rotates your video.
|
String |
getSampleRange()
If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
default value, Follow (FOLLOW), for this setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlphaBehavior(String alphaBehavior)
Ignore this setting unless this input is a QuickTime animation with an alpha channel.
|
void |
setColorSpace(String colorSpace)
If your input video has accurate color space metadata, or if you don't know about color space, leave this set to
the default value Follow (FOLLOW).
|
void |
setColorSpaceUsage(String colorSpaceUsage)
There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and
HDR master display information settings(Hdr10Metadata).
|
void |
setEmbeddedTimecodeOverride(String embeddedTimecodeOverride)
Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input contains
timecode tag data in the Modified Digital Video Pack Metadata (MDPM).
|
void |
setHdr10Metadata(Hdr10Metadata hdr10Metadata)
Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
|
void |
setPadVideo(String padVideo)
Use this setting if your input has video and audio durations that don't align, and your output or player has
strict alignment requirements.
|
void |
setPid(Integer pid)
Use PID (Pid) to select specific video data from an input file.
|
void |
setProgramNumber(Integer programNumber)
Selects a specific program from within a multi-program transport stream.
|
void |
setRotate(String rotate)
Use Rotate (InputRotate) to specify how the service rotates your video.
|
void |
setSampleRange(String sampleRange)
If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
default value, Follow (FOLLOW), for this setting.
|
String |
toString()
Returns a string representation of this object.
|
VideoSelector |
withAlphaBehavior(AlphaBehavior alphaBehavior)
Ignore this setting unless this input is a QuickTime animation with an alpha channel.
|
VideoSelector |
withAlphaBehavior(String alphaBehavior)
Ignore this setting unless this input is a QuickTime animation with an alpha channel.
|
VideoSelector |
withColorSpace(ColorSpace colorSpace)
If your input video has accurate color space metadata, or if you don't know about color space, leave this set to
the default value Follow (FOLLOW).
|
VideoSelector |
withColorSpace(String colorSpace)
If your input video has accurate color space metadata, or if you don't know about color space, leave this set to
the default value Follow (FOLLOW).
|
VideoSelector |
withColorSpaceUsage(ColorSpaceUsage colorSpaceUsage)
There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and
HDR master display information settings(Hdr10Metadata).
|
VideoSelector |
withColorSpaceUsage(String colorSpaceUsage)
There are two sources for color metadata, the input file and the job input settings Color space (ColorSpace) and
HDR master display information settings(Hdr10Metadata).
|
VideoSelector |
withEmbeddedTimecodeOverride(EmbeddedTimecodeOverride embeddedTimecodeOverride)
Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input contains
timecode tag data in the Modified Digital Video Pack Metadata (MDPM).
|
VideoSelector |
withEmbeddedTimecodeOverride(String embeddedTimecodeOverride)
Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input contains
timecode tag data in the Modified Digital Video Pack Metadata (MDPM).
|
VideoSelector |
withHdr10Metadata(Hdr10Metadata hdr10Metadata)
Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
|
VideoSelector |
withPadVideo(PadVideo padVideo)
Use this setting if your input has video and audio durations that don't align, and your output or player has
strict alignment requirements.
|
VideoSelector |
withPadVideo(String padVideo)
Use this setting if your input has video and audio durations that don't align, and your output or player has
strict alignment requirements.
|
VideoSelector |
withPid(Integer pid)
Use PID (Pid) to select specific video data from an input file.
|
VideoSelector |
withProgramNumber(Integer programNumber)
Selects a specific program from within a multi-program transport stream.
|
VideoSelector |
withRotate(InputRotate rotate)
Use Rotate (InputRotate) to specify how the service rotates your video.
|
VideoSelector |
withRotate(String rotate)
Use Rotate (InputRotate) to specify how the service rotates your video.
|
VideoSelector |
withSampleRange(InputSampleRange sampleRange)
If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
default value, Follow (FOLLOW), for this setting.
|
VideoSelector |
withSampleRange(String sampleRange)
If the sample range metadata in your input video is accurate, or if you don't know about sample range, keep the
default value, Follow (FOLLOW), for this setting.
|
public void setAlphaBehavior(String alphaBehavior)
alphaBehavior
- Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.AlphaBehavior
public String getAlphaBehavior()
AlphaBehavior
public VideoSelector withAlphaBehavior(String alphaBehavior)
alphaBehavior
- Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.AlphaBehavior
public VideoSelector withAlphaBehavior(AlphaBehavior alphaBehavior)
alphaBehavior
- Ignore this setting unless this input is a QuickTime animation with an alpha channel. Use this setting to
create separate Key and Fill outputs. In each output, specify which part of the input MediaConvert uses.
Leave this setting at the default value DISCARD to delete the alpha channel and preserve the video. Set it
to REMAP_TO_LUMA to delete the video and map the alpha channel to the luma channel of your outputs.AlphaBehavior
public void setColorSpace(String colorSpace)
colorSpace
- If your input video has accurate color space metadata, or if you don't know about color space, leave this
set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If
your input video has metadata indicating the wrong color space, specify the accurate color space here. If
your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't
present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10
(FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For
more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.ColorSpace
public String getColorSpace()
ColorSpace
public VideoSelector withColorSpace(String colorSpace)
colorSpace
- If your input video has accurate color space metadata, or if you don't know about color space, leave this
set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If
your input video has metadata indicating the wrong color space, specify the accurate color space here. If
your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't
present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10
(FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For
more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.ColorSpace
public VideoSelector withColorSpace(ColorSpace colorSpace)
colorSpace
- If your input video has accurate color space metadata, or if you don't know about color space, leave this
set to the default value Follow (FOLLOW). The service will automatically detect your input color space. If
your input video has metadata indicating the wrong color space, specify the accurate color space here. If
your input video is HDR 10 and the SMPTE ST 2086 Mastering Display Color Volume static metadata isn't
present in your video stream, or if that metadata is present but not accurate, choose Force HDR 10
(FORCE_HDR10) here and specify correct values in the input HDR 10 metadata (Hdr10Metadata) settings. For
more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.ColorSpace
public void setColorSpaceUsage(String colorSpaceUsage)
colorSpaceUsage
- There are two sources for color metadata, the input file and the job input settings Color space
(ColorSpace) and HDR master display information settings(Hdr10Metadata). The Color space usage setting
determines which takes precedence. Choose Force (FORCE) to use color metadata from the input job settings.
If you don't specify values for those settings, the service defaults to using metadata from your input.
FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the source when it is present. If there's
no color metadata in your input file, the service defaults to using values you specify in the input
settings.ColorSpaceUsage
public String getColorSpaceUsage()
ColorSpaceUsage
public VideoSelector withColorSpaceUsage(String colorSpaceUsage)
colorSpaceUsage
- There are two sources for color metadata, the input file and the job input settings Color space
(ColorSpace) and HDR master display information settings(Hdr10Metadata). The Color space usage setting
determines which takes precedence. Choose Force (FORCE) to use color metadata from the input job settings.
If you don't specify values for those settings, the service defaults to using metadata from your input.
FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the source when it is present. If there's
no color metadata in your input file, the service defaults to using values you specify in the input
settings.ColorSpaceUsage
public VideoSelector withColorSpaceUsage(ColorSpaceUsage colorSpaceUsage)
colorSpaceUsage
- There are two sources for color metadata, the input file and the job input settings Color space
(ColorSpace) and HDR master display information settings(Hdr10Metadata). The Color space usage setting
determines which takes precedence. Choose Force (FORCE) to use color metadata from the input job settings.
If you don't specify values for those settings, the service defaults to using metadata from your input.
FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the source when it is present. If there's
no color metadata in your input file, the service defaults to using values you specify in the input
settings.ColorSpaceUsage
public void setEmbeddedTimecodeOverride(String embeddedTimecodeOverride)
embeddedTimecodeOverride
- Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input
contains timecode tag data in the Modified Digital Video Pack Metadata (MDPM). When you do, we recommend
you also set Timecode source (inputTimecodeSource) to Embedded (EMBEDDED). Leave Embedded timecode
override blank, or set to None (NONE), when your input does not contain MDPM timecode.EmbeddedTimecodeOverride
public String getEmbeddedTimecodeOverride()
EmbeddedTimecodeOverride
public VideoSelector withEmbeddedTimecodeOverride(String embeddedTimecodeOverride)
embeddedTimecodeOverride
- Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input
contains timecode tag data in the Modified Digital Video Pack Metadata (MDPM). When you do, we recommend
you also set Timecode source (inputTimecodeSource) to Embedded (EMBEDDED). Leave Embedded timecode
override blank, or set to None (NONE), when your input does not contain MDPM timecode.EmbeddedTimecodeOverride
public VideoSelector withEmbeddedTimecodeOverride(EmbeddedTimecodeOverride embeddedTimecodeOverride)
embeddedTimecodeOverride
- Set Embedded timecode override (embeddedTimecodeOverride) to Use MDPM (USE_MDPM) when your AVCHD input
contains timecode tag data in the Modified Digital Video Pack Metadata (MDPM). When you do, we recommend
you also set Timecode source (inputTimecodeSource) to Embedded (EMBEDDED). Leave Embedded timecode
override blank, or set to None (NONE), when your input does not contain MDPM timecode.EmbeddedTimecodeOverride
public void setHdr10Metadata(Hdr10Metadata hdr10Metadata)
hdr10Metadata
- Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
Appropriate values vary depending on the input video and must be provided by a color grader. The color
grader generates these values during the HDR 10 mastering process. The valid range for each of these
settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings -
When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify
whether the the values you specify here take precedence over the values in the metadata of your input
file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output,
set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see
https://docs.aws.amazon.com/console/mediaconvert/hdr.public Hdr10Metadata getHdr10Metadata()
public VideoSelector withHdr10Metadata(Hdr10Metadata hdr10Metadata)
hdr10Metadata
- Use these settings to provide HDR 10 metadata that is missing or inaccurate in your input video.
Appropriate values vary depending on the input video and must be provided by a color grader. The color
grader generates these values during the HDR 10 mastering process. The valid range for each of these
settings is 0 to 50,000. Each increment represents 0.00002 in CIE1931 color coordinate. Related settings -
When you specify these values, you must also set Color space (ColorSpace) to HDR 10 (HDR10). To specify
whether the the values you specify here take precedence over the values in the metadata of your input
file, set Color space usage (ColorSpaceUsage). To specify whether color metadata is included in an output,
set Color metadata (ColorMetadata). For more information about MediaConvert HDR jobs, see
https://docs.aws.amazon.com/console/mediaconvert/hdr.public void setPadVideo(String padVideo)
padVideo
- Use this setting if your input has video and audio durations that don't align, and your output or player
has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
before audio ends. When you set Pad video (padVideo) to Black (BLACK), MediaConvert generates black video
frames so that output video and audio durations match. Black video frames are added at the beginning or
end, depending on your input. To keep the default behavior and not generate black video, set Pad video to
Disabled (DISABLED) or leave blank.PadVideo
public String getPadVideo()
PadVideo
public VideoSelector withPadVideo(String padVideo)
padVideo
- Use this setting if your input has video and audio durations that don't align, and your output or player
has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
before audio ends. When you set Pad video (padVideo) to Black (BLACK), MediaConvert generates black video
frames so that output video and audio durations match. Black video frames are added at the beginning or
end, depending on your input. To keep the default behavior and not generate black video, set Pad video to
Disabled (DISABLED) or leave blank.PadVideo
public VideoSelector withPadVideo(PadVideo padVideo)
padVideo
- Use this setting if your input has video and audio durations that don't align, and your output or player
has strict alignment requirements. Examples: Input audio track has a delayed start. Input video track ends
before audio ends. When you set Pad video (padVideo) to Black (BLACK), MediaConvert generates black video
frames so that output video and audio durations match. Black video frames are added at the beginning or
end, depending on your input. To keep the default behavior and not generate black video, set Pad video to
Disabled (DISABLED) or leave blank.PadVideo
public void setPid(Integer pid)
pid
- Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the
system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or
packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container.public Integer getPid()
public VideoSelector withPid(Integer pid)
pid
- Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the
system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or
packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container.public void setProgramNumber(Integer programNumber)
programNumber
- Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not
currently supported.public Integer getProgramNumber()
public VideoSelector withProgramNumber(Integer programNumber)
programNumber
- Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not
currently supported.public void setRotate(String rotate)
rotate
- Use Rotate (InputRotate) to specify how the service rotates your video. You can choose automatic rotation
or specify a rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input
video container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
service rotate your video according to the rotation specified in the metadata. The rotation must be within
one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
will default to no rotation. By default, the service does no rotation, even if your input video has
rotation metadata. The service doesn't pass through rotation metadata.InputRotate
public String getRotate()
InputRotate
public VideoSelector withRotate(String rotate)
rotate
- Use Rotate (InputRotate) to specify how the service rotates your video. You can choose automatic rotation
or specify a rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input
video container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
service rotate your video according to the rotation specified in the metadata. The rotation must be within
one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
will default to no rotation. By default, the service does no rotation, even if your input video has
rotation metadata. The service doesn't pass through rotation metadata.InputRotate
public VideoSelector withRotate(InputRotate rotate)
rotate
- Use Rotate (InputRotate) to specify how the service rotates your video. You can choose automatic rotation
or specify a rotation. You can specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your input
video container is .mov or .mp4 and your input has rotation metadata, you can choose Automatic to have the
service rotate your video according to the rotation specified in the metadata. The rotation must be within
one degree of 90, 180, or 270 degrees. If the rotation metadata specifies any other rotation, the service
will default to no rotation. By default, the service does no rotation, even if your input video has
rotation metadata. The service doesn't pass through rotation metadata.InputRotate
public void setSampleRange(String sampleRange)
sampleRange
- If the sample range metadata in your input video is accurate, or if you don't know about sample range,
keep the default value, Follow (FOLLOW), for this setting. When you do, the service automatically detects
your input sample range. If your input video has metadata indicating the wrong sample range, specify the
accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.InputSampleRange
public String getSampleRange()
InputSampleRange
public VideoSelector withSampleRange(String sampleRange)
sampleRange
- If the sample range metadata in your input video is accurate, or if you don't know about sample range,
keep the default value, Follow (FOLLOW), for this setting. When you do, the service automatically detects
your input sample range. If your input video has metadata indicating the wrong sample range, specify the
accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.InputSampleRange
public VideoSelector withSampleRange(InputSampleRange sampleRange)
sampleRange
- If the sample range metadata in your input video is accurate, or if you don't know about sample range,
keep the default value, Follow (FOLLOW), for this setting. When you do, the service automatically detects
your input sample range. If your input video has metadata indicating the wrong sample range, specify the
accurate sample range here. When you do, MediaConvert ignores any sample range information in the input
metadata. Regardless of whether MediaConvert uses the input sample range or the sample range that you
specify, MediaConvert uses the sample range for transcoding and also writes it to the output metadata.InputSampleRange
public String toString()
toString
in class Object
Object.toString()
public VideoSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.