public static interface Input.Builder extends SdkPojo, CopyableBuilder<Input.Builder,Input>
Modifier and Type | Method and Description |
---|---|
Input.Builder |
audioSelectorGroups(Map<String,AudioSelectorGroup> audioSelectorGroups)
Specifies set of audio selectors within an input to combine.
|
Input.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.
|
Input.Builder |
captionSelectors(Map<String,CaptionSelector> captionSelectors)
Use Captions selectors (CaptionSelectors) to specify the captions data from the input that you will use in
your outputs.
|
default Input.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.
|
Input.Builder |
crop(Rectangle crop)
Use Cropping selection (crop) to specify the video area that the service will include in the output video
frame.
|
Input.Builder |
deblockFilter(InputDeblockFilter deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
Input.Builder |
deblockFilter(String deblockFilter)
Enable Deblock (InputDeblockFilter) to produce smoother motion in the output.
|
default Input.Builder |
decryptionSettings(Consumer<InputDecryptionSettings.Builder> decryptionSettings)
Settings for decrypting any input files that you encrypt before you upload them to Amazon S3.
|
Input.Builder |
decryptionSettings(InputDecryptionSettings decryptionSettings)
Settings for decrypting any input files that you encrypt before you upload them to Amazon S3.
|
Input.Builder |
denoiseFilter(InputDenoiseFilter denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
Input.Builder |
denoiseFilter(String denoiseFilter)
Enable Denoise (InputDenoiseFilter) to filter noise from the input.
|
Input.Builder |
fileInput(String fileInput)
Specify the source file for your transcoding job.
|
Input.Builder |
filterEnable(InputFilterEnable filterEnable)
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
Input.Builder |
filterEnable(String filterEnable)
Use Filter enable (InputFilterEnable) to specify how the transcoding service applies the denoise and deblock
filters.
|
Input.Builder |
filterStrength(Integer filterStrength)
Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise).
|
default Input.Builder |
imageInserter(Consumer<ImageInserter.Builder> imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
Input.Builder |
imageInserter(ImageInserter imageInserter)
Enable the image inserter feature to include a graphic overlay on your video.
|
Input.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.
|
Input.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.
|
Input.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.
|
default Input.Builder |
position(Consumer<Rectangle.Builder> position)
Use Selection placement (position) to define the video area in your output frame.
|
Input.Builder |
position(Rectangle position)
Use Selection placement (position) to define the video area in your output frame.
|
Input.Builder |
programNumber(Integer programNumber)
Use Program (programNumber) to select a specific program from within a multi-program transport stream.
|
Input.Builder |
psiControl(InputPsiControl psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans.
|
Input.Builder |
psiControl(String psiControl)
Set PSI control (InputPsiControl) for transport stream inputs to specify which data the demux process to
scans.
|
Input.Builder |
supplementalImps(Collection<String> supplementalImps)
Provide a list of any necessary supplemental IMPs.
|
Input.Builder |
supplementalImps(String... supplementalImps)
Provide a list of any necessary supplemental IMPs.
|
Input.Builder |
timecodeSource(InputTimecodeSource timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
Input.Builder |
timecodeSource(String timecodeSource)
Use this Timecode source setting, located under the input settings (InputTimecodeSource), to specify how the
service counts input video frames.
|
Input.Builder |
timecodeStart(String timecodeStart)
Specify the timecode that you want the service to use for this input's initial frame.
|
default Input.Builder |
videoSelector(Consumer<VideoSelector.Builder> videoSelector)
Selector for video.
|
Input.Builder |
videoSelector(VideoSelector videoSelector)
Selector for video.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Input.Builder audioSelectorGroups(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.Input.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 mutiple Audio selectors per input.Input.Builder captionSelectors(Map<String,CaptionSelector> captionSelectors)
captionSelectors
- Use Captions selectors (CaptionSelectors) to specify the captions data from the input that you will
use in your outputs. You can use mutiple captions selectors per input.Input.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 Input.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.Builder
crop(Rectangle)
Input.Builder deblockFilter(String deblockFilter)
deblockFilter
- Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled.
Only manaully controllable for MPEG2 and uncompressed video inputs.InputDeblockFilter
,
InputDeblockFilter
Input.Builder deblockFilter(InputDeblockFilter deblockFilter)
deblockFilter
- Enable Deblock (InputDeblockFilter) to produce smoother motion in the output. Default is disabled.
Only manaully controllable for MPEG2 and uncompressed video inputs.InputDeblockFilter
,
InputDeblockFilter
Input.Builder decryptionSettings(InputDecryptionSettings decryptionSettings)
decryptionSettings
- Settings for decrypting any input files that you encrypt before you upload them to Amazon S3.
MediaConvert can decrypt files only when you use AWS Key Management Service (KMS) to encrypt the data
key that you use to encrypt your content.default Input.Builder decryptionSettings(Consumer<InputDecryptionSettings.Builder> decryptionSettings)
InputDecryptionSettings.Builder
avoiding the need to create one manually via
InputDecryptionSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to decryptionSettings(InputDecryptionSettings)
.decryptionSettings
- a consumer that will call methods on InputDecryptionSettings.Builder
decryptionSettings(InputDecryptionSettings)
Input.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
,
InputDenoiseFilter
Input.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
,
InputDenoiseFilter
Input.Builder fileInput(String fileInput)
fileInput
- Specify the source file for your transcoding job. You can use multiple inputs in a single job. The
service concatenates these inputs, in the order that you specify them in the job, to create the
outputs. If your input format is IMF, specify your input by providing the path to your CPL. For
example, "s3://bucket/vf/cpl.xml". If the CPL is in an incomplete IMP, make sure to use *Supplemental
IMPs* (SupplementalImps) to specify any supplemental IMPs that contain assets referenced by the CPL.Input.Builder filterEnable(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
,
InputFilterEnable
Input.Builder filterEnable(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
,
InputFilterEnable
Input.Builder filterStrength(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.Input.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 Input.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.Builder
imageInserter(ImageInserter)
Input.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.Input.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.Input.Builder inputClippings(Consumer<InputClipping.Builder>... inputClippings)
.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #inputClippings(List)
.inputClippings
- a consumer that will call methods on List.Builder
#inputClippings(List)
Input.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 Input.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.Builder
position(Rectangle)
Input.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.Input.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
,
InputPsiControl
Input.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
,
InputPsiControl
Input.Builder supplementalImps(Collection<String> supplementalImps)
supplementalImps
- Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're
using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a
trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/",
"s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL,
because the service automatically detects it.Input.Builder supplementalImps(String... supplementalImps)
supplementalImps
- Provide a list of any necessary supplemental IMPs. You need supplemental IMPs if the CPL that you're
using for your input is in an incomplete IMP. Specify either the supplemental IMP directories with a
trailing slash or the ASSETMAP.xml files. For example ["s3://bucket/ov/",
"s3://bucket/vf2/ASSETMAP.xml"]. You don't need to specify the IMP that contains your input CPL,
because the service automatically detects it.Input.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
,
InputTimecodeSource
Input.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
,
InputTimecodeSource
Input.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.Input.Builder videoSelector(VideoSelector videoSelector)
videoSelector
- Selector for video.default Input.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.Builder
videoSelector(VideoSelector)
Copyright © 2019. All rights reserved.