@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSourceSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
FileSourceSettings() |
| Modifier and Type | Method and Description |
|---|---|
FileSourceSettings |
clone() |
boolean |
equals(Object obj) |
String |
getConvert608To708()
Specify whether this set of input captions appears in your outputs in both 608 and 708 format.
|
CaptionSourceFramerate |
getFramerate()
Ignore this setting unless your input captions format is SCC.
|
String |
getSourceFile()
External caption file used for loading captions.
|
Integer |
getTimeDelta()
Optional.
|
String |
getTimeDeltaUnits()
When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your video,
use this setting to specify the units for the delta that you specify.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConvert608To708(String convert608To708)
Specify whether this set of input captions appears in your outputs in both 608 and 708 format.
|
void |
setFramerate(CaptionSourceFramerate framerate)
Ignore this setting unless your input captions format is SCC.
|
void |
setSourceFile(String sourceFile)
External caption file used for loading captions.
|
void |
setTimeDelta(Integer timeDelta)
Optional.
|
void |
setTimeDeltaUnits(String timeDeltaUnits)
When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your video,
use this setting to specify the units for the delta that you specify.
|
String |
toString()
Returns a string representation of this object.
|
FileSourceSettings |
withConvert608To708(FileSourceConvert608To708 convert608To708)
Specify whether this set of input captions appears in your outputs in both 608 and 708 format.
|
FileSourceSettings |
withConvert608To708(String convert608To708)
Specify whether this set of input captions appears in your outputs in both 608 and 708 format.
|
FileSourceSettings |
withFramerate(CaptionSourceFramerate framerate)
Ignore this setting unless your input captions format is SCC.
|
FileSourceSettings |
withSourceFile(String sourceFile)
External caption file used for loading captions.
|
FileSourceSettings |
withTimeDelta(Integer timeDelta)
Optional.
|
FileSourceSettings |
withTimeDeltaUnits(FileSourceTimeDeltaUnits timeDeltaUnits)
When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your video,
use this setting to specify the units for the delta that you specify.
|
FileSourceSettings |
withTimeDeltaUnits(String timeDeltaUnits)
When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your video,
use this setting to specify the units for the delta that you specify.
|
public void setConvert608To708(String convert608To708)
convert608To708 - Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you
choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data
through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data
into 708.FileSourceConvert608To708public String getConvert608To708()
FileSourceConvert608To708public FileSourceSettings withConvert608To708(String convert608To708)
convert608To708 - Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you
choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data
through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data
into 708.FileSourceConvert608To708public FileSourceSettings withConvert608To708(FileSourceConvert608To708 convert608To708)
convert608To708 - Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you
choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data
through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data
into 708.FileSourceConvert608To708public void setFramerate(CaptionSourceFramerate framerate)
framerate - Ignore this setting unless your input captions format is SCC. To have the service compensate for differing
frame rates between your input captions and input video, specify the frame rate of the captions file.
Specify this value as a fraction. When you work directly in your JSON job specification, use the settings
framerateNumerator and framerateDenominator. For example, you might specify 24 / 1 for 24 fps, 25 / 1 for
25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.public CaptionSourceFramerate getFramerate()
public FileSourceSettings withFramerate(CaptionSourceFramerate framerate)
framerate - Ignore this setting unless your input captions format is SCC. To have the service compensate for differing
frame rates between your input captions and input video, specify the frame rate of the captions file.
Specify this value as a fraction. When you work directly in your JSON job specification, use the settings
framerateNumerator and framerateDenominator. For example, you might specify 24 / 1 for 24 fps, 25 / 1 for
25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.public void setSourceFile(String sourceFile)
sourceFile - External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp',
'stl', 'srt', 'xml', 'smi', 'webvtt', and 'vtt'.public String getSourceFile()
public FileSourceSettings withSourceFile(String sourceFile)
sourceFile - External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp',
'stl', 'srt', 'xml', 'smi', 'webvtt', and 'vtt'.public void setTimeDelta(Integer timeDelta)
timeDelta - Optional. Use this setting when you need to adjust the sync between your sidecar captions and your video.
For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/time-delta-use-cases.html.
Enter a positive or negative number to modify the times in the captions file. For example, type 15 to add
15 seconds to all the times in the captions file. Type -5 to subtract 5 seconds from the times in the
captions file. You can optionally specify your time delta in milliseconds instead of seconds. When you do
so, set the related setting, Time delta units (TimeDeltaUnits) to Milliseconds (MILLISECONDS). Note that,
when you specify a time delta for timecode-based caption sources, such as SCC and STL, and your time delta
isn't a multiple of the input frame rate, MediaConvert snaps the captions to the nearest frame. For
example, when your input video frame rate is 25 fps and you specify 1010ms for time delta, MediaConvert
delays your captions by 1000 ms.public Integer getTimeDelta()
public FileSourceSettings withTimeDelta(Integer timeDelta)
timeDelta - Optional. Use this setting when you need to adjust the sync between your sidecar captions and your video.
For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/time-delta-use-cases.html.
Enter a positive or negative number to modify the times in the captions file. For example, type 15 to add
15 seconds to all the times in the captions file. Type -5 to subtract 5 seconds from the times in the
captions file. You can optionally specify your time delta in milliseconds instead of seconds. When you do
so, set the related setting, Time delta units (TimeDeltaUnits) to Milliseconds (MILLISECONDS). Note that,
when you specify a time delta for timecode-based caption sources, such as SCC and STL, and your time delta
isn't a multiple of the input frame rate, MediaConvert snaps the captions to the nearest frame. For
example, when your input video frame rate is 25 fps and you specify 1010ms for time delta, MediaConvert
delays your captions by 1000 ms.public void setTimeDeltaUnits(String timeDeltaUnits)
timeDeltaUnits - When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your
video, use this setting to specify the units for the delta that you specify. When you don't specify a
value for Time delta units (TimeDeltaUnits), MediaConvert uses seconds by default.FileSourceTimeDeltaUnitspublic String getTimeDeltaUnits()
FileSourceTimeDeltaUnitspublic FileSourceSettings withTimeDeltaUnits(String timeDeltaUnits)
timeDeltaUnits - When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your
video, use this setting to specify the units for the delta that you specify. When you don't specify a
value for Time delta units (TimeDeltaUnits), MediaConvert uses seconds by default.FileSourceTimeDeltaUnitspublic FileSourceSettings withTimeDeltaUnits(FileSourceTimeDeltaUnits timeDeltaUnits)
timeDeltaUnits - When you use the setting Time delta (TimeDelta) to adjust the sync between your sidecar captions and your
video, use this setting to specify the units for the delta that you specify. When you don't specify a
value for Time delta units (TimeDeltaUnits), MediaConvert uses seconds by default.FileSourceTimeDeltaUnitspublic String toString()
toString in class ObjectObject.toString()public FileSourceSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.