public static interface InputTemplate.Builder extends SdkPojo, CopyableBuilder<InputTemplate.Builder,InputTemplate>
| Modifier and Type | Method and Description |
|---|---|
InputTemplate.Builder |
advancedInputFilter(AdvancedInputFilter advancedInputFilter)
Use to remove noise, blocking, blurriness, or ringing from your input as a pre-filter step before encoding.
|
InputTemplate.Builder |
advancedInputFilter(String advancedInputFilter)
Use to remove noise, blocking, blurriness, or ringing from your input as a pre-filter step before encoding.
|
InputTemplate.Builder |
advancedInputFilterSettings(AdvancedInputFilterSettings advancedInputFilterSettings)
Optional settings for Advanced input filter when you set Advanced input filter to Enabled.
|
default InputTemplate.Builder |
advancedInputFilterSettings(Consumer<AdvancedInputFilterSettings.Builder> advancedInputFilterSettings)
Optional settings for Advanced input filter when you set Advanced input filter to Enabled.
|
InputTemplate.Builder |
audioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
Use audio selector groups to combine multiple sidecar audio inputs so that you can assign them to a single
output audio tab (AudioDescription).
|
InputTemplate.Builder |
audioSelectors(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.Builder |
captionSelectors(Map<String,CaptionSelector> captionSelectors)
Use captions selectors to specify the captions data from your input that you use in your outputs.
|
default InputTemplate.Builder |
crop(Consumer<Rectangle.Builder> crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame.
|
InputTemplate.Builder |
crop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame.
|
InputTemplate.Builder |
deblockFilter(InputDeblockFilter deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
InputTemplate.Builder |
deblockFilter(String deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
InputTemplate.Builder |
denoiseFilter(InputDenoiseFilter denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
InputTemplate.Builder |
denoiseFilter(String denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
InputTemplate.Builder |
dolbyVisionMetadataXml(String dolbyVisionMetadataXml)
Use this setting only when your video source has Dolby Vision studio mastering metadata that is carried in a
separate XML file.
|
InputTemplate.Builder |
filterEnable(InputFilterEnable filterEnable)
Specify whether to apply input filtering to improve the video quality of your input.
|
InputTemplate.Builder |
filterEnable(String filterEnable)
Specify whether to apply input filtering to improve the video quality of your input.
|
InputTemplate.Builder |
filterStrength(Integer filterStrength)
Specify the strength of the input filter.
|
default InputTemplate.Builder |
imageInserter(Consumer<ImageInserter.Builder> imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
InputTemplate.Builder |
imageInserter(ImageInserter imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
InputTemplate.Builder |
inputClippings(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.Builder |
inputClippings(Consumer<InputClipping.Builder>... inputClippings)
(InputClippings) contains sets of start and end times that together specify a portion of the input to be used
in the outputs.
|
InputTemplate.Builder |
inputClippings(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.Builder |
inputScanType(InputScanType inputScanType)
When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF.
|
InputTemplate.Builder |
inputScanType(String inputScanType)
When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF.
|
default InputTemplate.Builder |
position(Consumer<Rectangle.Builder> position)
Use Selection placement (position) to define the video area in your output frame.
|
InputTemplate.Builder |
position(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
InputTemplate.Builder |
programNumber(Integer programNumber)
Use Program (programNumber) to select a specific program from within a multi-program transport stream.
|
InputTemplate.Builder |
psiControl(InputPsiControl psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans.
|
InputTemplate.Builder |
psiControl(String psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans.
|
InputTemplate.Builder |
timecodeSource(InputTimecodeSource timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
InputTemplate.Builder |
timecodeSource(String timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
InputTemplate.Builder |
timecodeStart(String timecodeStart)
Specify the timecode that you want the service to use for this input's initial frame.
|
default InputTemplate.Builder |
videoSelector(Consumer<VideoSelector.Builder> videoSelector)
Input video selectors contain the video settings for the input.
|
InputTemplate.Builder |
videoSelector(VideoSelector videoSelector)
Input video selectors contain the video settings for the input.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInputTemplate.Builder advancedInputFilter(String advancedInputFilter)
advancedInputFilter - Use to remove noise, blocking, blurriness, or ringing from your input as a pre-filter step before
encoding. The Advanced input filter removes more types of compression artifacts and is an improvement
when compared to basic Deblock and Denoise filters. To remove video compression artifacts from your
input and improve the video quality: Choose Enabled. Additionally, this filter can help increase the
video quality of your output relative to its bitrate, since noisy inputs are more complex and require
more bits to encode. To help restore loss of detail after applying the filter, you can optionally add
texture or sharpening as an additional step. Jobs that use this feature incur pro-tier pricing. To not
apply advanced input filtering: Choose Disabled. Note that you can still apply basic filtering with
Deblock and Denoise.AdvancedInputFilter,
AdvancedInputFilterInputTemplate.Builder advancedInputFilter(AdvancedInputFilter advancedInputFilter)
advancedInputFilter - Use to remove noise, blocking, blurriness, or ringing from your input as a pre-filter step before
encoding. The Advanced input filter removes more types of compression artifacts and is an improvement
when compared to basic Deblock and Denoise filters. To remove video compression artifacts from your
input and improve the video quality: Choose Enabled. Additionally, this filter can help increase the
video quality of your output relative to its bitrate, since noisy inputs are more complex and require
more bits to encode. To help restore loss of detail after applying the filter, you can optionally add
texture or sharpening as an additional step. Jobs that use this feature incur pro-tier pricing. To not
apply advanced input filtering: Choose Disabled. Note that you can still apply basic filtering with
Deblock and Denoise.AdvancedInputFilter,
AdvancedInputFilterInputTemplate.Builder advancedInputFilterSettings(AdvancedInputFilterSettings advancedInputFilterSettings)
advancedInputFilterSettings - Optional settings for Advanced input filter when you set Advanced input filter to Enabled.default InputTemplate.Builder advancedInputFilterSettings(Consumer<AdvancedInputFilterSettings.Builder> advancedInputFilterSettings)
AdvancedInputFilterSettings.Builder avoiding the
need to create one manually via AdvancedInputFilterSettings.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to advancedInputFilterSettings(AdvancedInputFilterSettings).
advancedInputFilterSettings - a consumer that will call methods on AdvancedInputFilterSettings.BuilderadvancedInputFilterSettings(AdvancedInputFilterSettings)InputTemplate.Builder audioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
audioSelectorGroups - Use audio selector groups to combine multiple sidecar audio inputs so that you can assign them to a
single output audio tab (AudioDescription). Note that, if you're working with embedded audio, it's
simpler to assign multiple input tracks into a single audio selector rather than use an audio selector
group.InputTemplate.Builder audioSelectors(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.InputTemplate.Builder captionSelectors(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 100 captions selectors per input.InputTemplate.Builder crop(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).default InputTemplate.Builder crop(Consumer<Rectangle.Builder> crop)
Rectangle.Builder avoiding the need to create one manually via Rectangle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to crop(Rectangle).
crop - a consumer that will call methods on Rectangle.Buildercrop(Rectangle)InputTemplate.Builder deblockFilter(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,
InputDeblockFilterInputTemplate.Builder deblockFilter(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,
InputDeblockFilterInputTemplate.Builder denoiseFilter(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,
InputDenoiseFilterInputTemplate.Builder denoiseFilter(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,
InputDenoiseFilterInputTemplate.Builder dolbyVisionMetadataXml(String dolbyVisionMetadataXml)
dolbyVisionMetadataXml - Use this setting only when your video source has Dolby Vision studio mastering metadata that is
carried in a separate XML file. Specify the Amazon S3 location for the metadata XML file. MediaConvert
uses this file to provide global and frame-level metadata for Dolby Vision preprocessing. When you
specify a file here and your input also has interleaved global and frame level metadata, MediaConvert
ignores the interleaved metadata and uses only the the metadata from this external XML file. Note that
your IAM service role must grant MediaConvert read permissions to this file. For more information, see
https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.InputTemplate.Builder filterEnable(String filterEnable)
filterEnable - Specify whether to apply input filtering to improve the video quality of your input. To apply
filtering depending on your input type and quality: Choose Auto. To apply no filtering: Choose
Disable. To apply filtering regardless of your input type and quality: Choose Force. When you do, you
must also specify a value for Filter strength.InputFilterEnable,
InputFilterEnableInputTemplate.Builder filterEnable(InputFilterEnable filterEnable)
filterEnable - Specify whether to apply input filtering to improve the video quality of your input. To apply
filtering depending on your input type and quality: Choose Auto. To apply no filtering: Choose
Disable. To apply filtering regardless of your input type and quality: Choose Force. When you do, you
must also specify a value for Filter strength.InputFilterEnable,
InputFilterEnableInputTemplate.Builder filterStrength(Integer filterStrength)
filterStrength - Specify the strength of the input filter. To apply an automatic amount of filtering based the
compression artifacts measured in your input: We recommend that you leave Filter strength blank and
set Filter enable to Auto. To manually apply filtering: Enter a value from 1 to 5, where 1 is the
least amount of filtering and 5 is the most. The value that you enter applies to the strength of the
Deblock or Denoise filters, or to the strength of the Advanced input filter.InputTemplate.Builder imageInserter(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.default InputTemplate.Builder imageInserter(Consumer<ImageInserter.Builder> imageInserter)
ImageInserter.Builder avoiding the need to create one manually via
ImageInserter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to imageInserter(ImageInserter).
imageInserter - a consumer that will call methods on ImageInserter.BuilderimageInserter(ImageInserter)InputTemplate.Builder inputClippings(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.InputTemplate.Builder inputClippings(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.InputTemplate.Builder inputClippings(Consumer<InputClipping.Builder>... inputClippings)
InputClipping.Builder avoiding the need to create
one manually via InputClipping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #inputClippings(List.
inputClippings - a consumer that will call methods on
InputClipping.Builder#inputClippings(java.util.Collection) InputTemplate.Builder inputScanType(String inputScanType)
inputScanType - When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF.
MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better
preservation of video quality when you do deinterlacing and frame rate conversion. If you don't
specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not
PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal
interlacing artifacts.InputScanType,
InputScanTypeInputTemplate.Builder inputScanType(InputScanType inputScanType)
inputScanType - When you have a progressive segmented frame (PsF) input, use this setting to flag the input as PsF.
MediaConvert doesn't automatically detect PsF. Therefore, flagging your input as PsF results in better
preservation of video quality when you do deinterlacing and frame rate conversion. If you don't
specify, the default value is Auto (AUTO). Auto is the correct setting for all inputs that are not
PsF. Don't set this value to PsF when your input is interlaced. Doing so creates horizontal
interlacing artifacts.InputScanType,
InputScanTypeInputTemplate.Builder position(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).default InputTemplate.Builder position(Consumer<Rectangle.Builder> position)
Rectangle.Builder
avoiding the need to create one manually via Rectangle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to position(Rectangle).
position - a consumer that will call methods on Rectangle.Builderposition(Rectangle)InputTemplate.Builder programNumber(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.InputTemplate.Builder psiControl(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,
InputPsiControlInputTemplate.Builder psiControl(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,
InputPsiControlInputTemplate.Builder timecodeSource(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,
InputTimecodeSourceInputTemplate.Builder timecodeSource(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,
InputTimecodeSourceInputTemplate.Builder timecodeStart(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.InputTemplate.Builder videoSelector(VideoSelector videoSelector)
videoSelector - Input video selectors contain the video settings for the input. Each of your inputs can have up to one
video selector.default InputTemplate.Builder videoSelector(Consumer<VideoSelector.Builder> videoSelector)
VideoSelector.Builder avoiding
the need to create one manually via VideoSelector.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to videoSelector(VideoSelector).
videoSelector - a consumer that will call methods on VideoSelector.BuildervideoSelector(VideoSelector)Copyright © 2023. All rights reserved.