@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
InputTemplate() |
Modifier and Type | Method and Description |
---|---|
InputTemplate |
addAudioSelectorGroupsEntry(String key,
AudioSelectorGroup value)
Add a single AudioSelectorGroups entry
|
InputTemplate |
addAudioSelectorsEntry(String key,
AudioSelector value)
Add a single AudioSelectors entry
|
InputTemplate |
addCaptionSelectorsEntry(String key,
CaptionSelector value)
Add a single CaptionSelectors entry
|
InputTemplate |
clearAudioSelectorGroupsEntries()
Removes all the entries added into AudioSelectorGroups.
|
InputTemplate |
clearAudioSelectorsEntries()
Removes all the entries added into AudioSelectors.
|
InputTemplate |
clearCaptionSelectorsEntries()
Removes all the entries added into CaptionSelectors.
|
InputTemplate |
clone() |
boolean |
equals(Object obj) |
Map<String,AudioSelectorGroup> |
getAudioSelectorGroups()
Specifies set of audio selectors within an input to combine.
|
Map<String,AudioSelector> |
getAudioSelectors()
Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your
outputs.
|
Map<String,CaptionSelector> |
getCaptionSelectors()
Use captions selectors to specify the captions data from your input that you use in your outputs.
|
Rectangle |
getCrop()
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
String |
getDeblockFilter()
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
String |
getDenoiseFilter()
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
String |
getFilterEnable()
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
Integer |
getFilterStrength()
Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise).
|
ImageInserter |
getImageInserter()
Enable the image inserter feature to include a graphic overlay on your video.
|
List<InputClipping> |
getInputClippings()
(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in
the outputs.
|
Rectangle |
getPosition()
Use Selection placement (position) to define the video area in your output frame.
|
Integer |
getProgramNumber()
Use Program (programNumber) to select a specific program from within a multi-program transport stream.
|
String |
getPsiControl()
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans.
|
String |
getTimecodeSource()
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
String |
getTimecodeStart()
Specify the timecode that you want the service to use for this input's initial frame.
|
VideoSelector |
getVideoSelector()
Selector for video.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
Specifies set of audio selectors within an input to combine.
|
void |
setAudioSelectors(Map<String,AudioSelector> audioSelectors)
Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your
outputs.
|
void |
setCaptionSelectors(Map<String,CaptionSelector> captionSelectors)
Use captions selectors to specify the captions data from your input that you use in your outputs.
|
void |
setCrop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
void |
setDeblockFilter(String deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
void |
setDenoiseFilter(String denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
void |
setFilterEnable(String filterEnable)
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
void |
setFilterStrength(Integer filterStrength)
Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise).
|
void |
setImageInserter(ImageInserter imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
void |
setInputClippings(Collection<InputClipping> inputClippings)
(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in
the outputs.
|
void |
setPosition(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
void |
setProgramNumber(Integer programNumber)
Use Program (programNumber) to select a specific program from within a multi-program transport stream.
|
void |
setPsiControl(String psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans.
|
void |
setTimecodeSource(String timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
void |
setTimecodeStart(String timecodeStart)
Specify the timecode that you want the service to use for this input's initial frame.
|
void |
setVideoSelector(VideoSelector videoSelector)
Selector for video.
|
String |
toString()
Returns a string representation of this object.
|
InputTemplate |
withAudioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
Specifies set of audio selectors within an input to combine.
|
InputTemplate |
withAudioSelectors(Map<String,AudioSelector> audioSelectors)
Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use in your
outputs.
|
InputTemplate |
withCaptionSelectors(Map<String,CaptionSelector> captionSelectors)
Use captions selectors to specify the captions data from your input that you use in your outputs.
|
InputTemplate |
withCrop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video frame.
|
InputTemplate |
withDeblockFilter(InputDeblockFilter deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
InputTemplate |
withDeblockFilter(String deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
InputTemplate |
withDenoiseFilter(InputDenoiseFilter denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
InputTemplate |
withDenoiseFilter(String denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
InputTemplate |
withFilterEnable(InputFilterEnable filterEnable)
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
InputTemplate |
withFilterEnable(String filterEnable)
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
InputTemplate |
withFilterStrength(Integer filterStrength)
Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise).
|
InputTemplate |
withImageInserter(ImageInserter imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
InputTemplate |
withInputClippings(Collection<InputClipping> inputClippings)
(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in
the outputs.
|
InputTemplate |
withInputClippings(InputClipping... inputClippings)
(InputClippings) contains sets of start and end times that together specify a portion of the input to be used in
the outputs.
|
InputTemplate |
withPosition(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
InputTemplate |
withProgramNumber(Integer programNumber)
Use Program (programNumber) to select a specific program from within a multi-program transport stream.
|
InputTemplate |
withPsiControl(InputPsiControl psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans.
|
InputTemplate |
withPsiControl(String psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to scans.
|
InputTemplate |
withTimecodeSource(InputTimecodeSource timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
InputTemplate |
withTimecodeSource(String timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
InputTemplate |
withTimecodeStart(String timecodeStart)
Specify the timecode that you want the service to use for this input's initial frame.
|
InputTemplate |
withVideoSelector(VideoSelector videoSelector)
Selector for video.
|
public Map<String,AudioSelectorGroup> getAudioSelectorGroups()
public void setAudioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
audioSelectorGroups
- Specifies set of audio selectors within an input to combine. An input may have multiple audio selector
groups. See "Audio Selector Group":#inputs-audio_selector_group for more information.public InputTemplate withAudioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
audioSelectorGroups
- Specifies set of audio selectors within an input to combine. An input may have multiple audio selector
groups. See "Audio Selector Group":#inputs-audio_selector_group for more information.public InputTemplate addAudioSelectorGroupsEntry(String key, AudioSelectorGroup value)
public InputTemplate clearAudioSelectorGroupsEntries()
public Map<String,AudioSelector> getAudioSelectors()
public void setAudioSelectors(Map<String,AudioSelector> audioSelectors)
audioSelectors
- Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use
in your outputs. You can use multiple Audio selectors per input.public InputTemplate withAudioSelectors(Map<String,AudioSelector> audioSelectors)
audioSelectors
- Use Audio selectors (AudioSelectors) to specify a track or set of tracks from the input that you will use
in your outputs. You can use multiple Audio selectors per input.public InputTemplate addAudioSelectorsEntry(String key, AudioSelector value)
public InputTemplate clearAudioSelectorsEntries()
public Map<String,CaptionSelector> getCaptionSelectors()
public void setCaptionSelectors(Map<String,CaptionSelector> captionSelectors)
captionSelectors
- Use captions selectors to specify the captions data from your input that you use in your outputs. You can
use up to 20 captions selectors per input.public InputTemplate withCaptionSelectors(Map<String,CaptionSelector> captionSelectors)
captionSelectors
- Use captions selectors to specify the captions data from your input that you use in your outputs. You can
use up to 20 captions selectors per input.public InputTemplate addCaptionSelectorsEntry(String key, CaptionSelector value)
public InputTemplate clearCaptionSelectorsEntries()
public void setCrop(Rectangle crop)
crop
- Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame. If you specify a value here, it will override any value that you specify in the output setting
Cropping selection (crop).public Rectangle getCrop()
public InputTemplate withCrop(Rectangle crop)
crop
- Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame. If you specify a value here, it will override any value that you specify in the output setting
Cropping selection (crop).public void setDeblockFilter(String deblockFilter)
deblockFilter
- Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only
manually controllable for MPEG2 and uncompressed video inputs.InputDeblockFilter
public String getDeblockFilter()
InputDeblockFilter
public InputTemplate withDeblockFilter(String deblockFilter)
deblockFilter
- Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only
manually controllable for MPEG2 and uncompressed video inputs.InputDeblockFilter
public InputTemplate withDeblockFilter(InputDeblockFilter deblockFilter)
deblockFilter
- Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled. Only
manually controllable for MPEG2 and uncompressed video inputs.InputDeblockFilter
public void setDenoiseFilter(String denoiseFilter)
denoiseFilter
- Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable
to MPEG2, H.264, H.265, and uncompressed video inputs.InputDenoiseFilter
public String getDenoiseFilter()
InputDenoiseFilter
public InputTemplate withDenoiseFilter(String denoiseFilter)
denoiseFilter
- Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable
to MPEG2, H.264, H.265, and uncompressed video inputs.InputDenoiseFilter
public InputTemplate withDenoiseFilter(InputDenoiseFilter denoiseFilter)
denoiseFilter
- Enable Denoise (InputDenoiseFilter) to filter noise from the input. Default is disabled. Only applicable
to MPEG2, H.264, H.265, and uncompressed video inputs.InputDenoiseFilter
public void setFilterEnable(String filterEnable)
filterEnable
- Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and
deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and
Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering,
depending on input type and quality. * Disable - The input is not filtered. This is true even if you use
the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered
regardless of input type.InputFilterEnable
public String getFilterEnable()
InputFilterEnable
public InputTemplate withFilterEnable(String filterEnable)
filterEnable
- Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and
deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and
Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering,
depending on input type and quality. * Disable - The input is not filtered. This is true even if you use
the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered
regardless of input type.InputFilterEnable
public InputTemplate withFilterEnable(InputFilterEnable filterEnable)
filterEnable
- Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and
deblock filters. You must also enable the filters separately, with Denoise (InputDenoiseFilter) and
Deblock (InputDeblockFilter). * Auto - The transcoding service determines whether to apply filtering,
depending on input type and quality. * Disable - The input is not filtered. This is true even if you use
the API to enable them in (InputDeblockFilter) and (InputDeblockFilter). * Force - The in put is filtered
regardless of input type.InputFilterEnable
public void setFilterStrength(Integer filterStrength)
filterStrength
- Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and
Denoise). The range is -5 to 5. Default is 0.public Integer getFilterStrength()
public InputTemplate withFilterStrength(Integer filterStrength)
filterStrength
- Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and
Denoise). The range is -5 to 5. Default is 0.public void setImageInserter(ImageInserter imageInserter)
imageInserter
- Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this
feature for each input individually. This setting is disabled by default.public ImageInserter getImageInserter()
public InputTemplate withImageInserter(ImageInserter imageInserter)
imageInserter
- Enable the image inserter feature to include a graphic overlay on your video. Enable or disable this
feature for each input individually. This setting is disabled by default.public List<InputClipping> getInputClippings()
public void setInputClippings(Collection<InputClipping> inputClippings)
inputClippings
- (InputClippings) contains sets of start and end times that together specify a portion of the input to be
used in the outputs. If you provide only a start time, the clip will be the entire input from that point
to the end. If you provide only an end time, it will be the entire input up to that point. When you
specify more than one input clip, the transcoding service creates the job outputs by stringing the clips
together in the order you specify them.public InputTemplate withInputClippings(InputClipping... inputClippings)
NOTE: This method appends the values to the existing list (if any). Use
setInputClippings(java.util.Collection)
or withInputClippings(java.util.Collection)
if you want
to override the existing values.
inputClippings
- (InputClippings) contains sets of start and end times that together specify a portion of the input to be
used in the outputs. If you provide only a start time, the clip will be the entire input from that point
to the end. If you provide only an end time, it will be the entire input up to that point. When you
specify more than one input clip, the transcoding service creates the job outputs by stringing the clips
together in the order you specify them.public InputTemplate withInputClippings(Collection<InputClipping> inputClippings)
inputClippings
- (InputClippings) contains sets of start and end times that together specify a portion of the input to be
used in the outputs. If you provide only a start time, the clip will be the entire input from that point
to the end. If you provide only an end time, it will be the entire input up to that point. When you
specify more than one input clip, the transcoding service creates the job outputs by stringing the clips
together in the order you specify them.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. If you specify a value here, it will override any value that you
specify in the output setting Selection placement (position). If you specify a value here, this will
override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND).
If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior
(scalingBehavior).public Rectangle getPosition()
public InputTemplate 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. If you specify a value here, it will override any value that you
specify in the output setting Selection placement (position). If you specify a value here, this will
override any AFD values in your input, even if you set Respond to AFD (RespondToAfd) to Respond (RESPOND).
If you specify a value here, this will ignore anything that you specify for the setting Scaling Behavior
(scalingBehavior).public void setProgramNumber(Integer programNumber)
programNumber
- Use Program (programNumber) to select a specific program from within a multi-program transport stream.
Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If
the program you specify doesn't exist, the transcoding service will use this default.public Integer getProgramNumber()
public InputTemplate withProgramNumber(Integer programNumber)
programNumber
- Use Program (programNumber) to select a specific program from within a multi-program transport stream.
Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If
the program you specify doesn't exist, the transcoding service will use this default.public void setPsiControl(String psiControl)
psiControl
- Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.InputPsiControl
public String getPsiControl()
InputPsiControl
public InputTemplate withPsiControl(String psiControl)
psiControl
- Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.InputPsiControl
public InputTemplate withPsiControl(InputPsiControl psiControl)
psiControl
- Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans. * Ignore PSI - Scan all PIDs for audio and video. * Use PSI - Scan only PSI data.InputPsiControl
public void setTimecodeSource(String timecodeSource)
timecodeSource
- Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how
the service counts input video frames. This input frame count affects only the behavior of features that
apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose
Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start
the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode
that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode
source, the service will use Embedded by default. For more information about timecodes, see
https://docs.aws.amazon.com/console/mediaconvert/timecode.InputTimecodeSource
public String getTimecodeSource()
InputTimecodeSource
public InputTemplate withTimecodeSource(String timecodeSource)
timecodeSource
- Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how
the service counts input video frames. This input frame count affects only the behavior of features that
apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose
Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start
the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode
that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode
source, the service will use Embedded by default. For more information about timecodes, see
https://docs.aws.amazon.com/console/mediaconvert/timecode.InputTimecodeSource
public InputTemplate withTimecodeSource(InputTimecodeSource timecodeSource)
timecodeSource
- Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how
the service counts input video frames. This input frame count affects only the behavior of features that
apply to a single input at a time, such as input clipping and synchronizing some captions formats. Choose
Embedded (EMBEDDED) to use the timecodes in your input video. Choose Start at zero (ZEROBASED) to start
the first frame at zero. Choose Specified start (SPECIFIEDSTART) to start the first frame at the timecode
that you specify in the setting Start timecode (timecodeStart). If you don't specify a value for Timecode
source, the service will use Embedded by default. For more information about timecodes, see
https://docs.aws.amazon.com/console/mediaconvert/timecode.InputTimecodeSource
public void setTimecodeStart(String timecodeStart)
timecodeStart
- Specify the timecode that you want the service to use for this input's initial frame. To use this setting,
you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to
Specified start (SPECIFIEDSTART). For more information about timecodes, see
https://docs.aws.amazon.com/console/mediaconvert/timecode.public String getTimecodeStart()
public InputTemplate withTimecodeStart(String timecodeStart)
timecodeStart
- Specify the timecode that you want the service to use for this input's initial frame. To use this setting,
you must set the Timecode source setting, located under the input settings (InputTimecodeSource), to
Specified start (SPECIFIEDSTART). For more information about timecodes, see
https://docs.aws.amazon.com/console/mediaconvert/timecode.public void setVideoSelector(VideoSelector videoSelector)
videoSelector
- Selector for video.public VideoSelector getVideoSelector()
public InputTemplate withVideoSelector(VideoSelector videoSelector)
videoSelector
- Selector for video.public String toString()
toString
in class Object
Object.toString()
public InputTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.