@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()
Specifies a time delta in seconds to offset the captions from the source file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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)
Specifies a time delta in seconds to offset the captions from the source file.
|
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)
Specifies a time delta in seconds to offset the captions from the source file.
|
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.FileSourceConvert608To708
public String getConvert608To708()
FileSourceConvert608To708
public 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.FileSourceConvert608To708
public 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.FileSourceConvert608To708
public 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, using the settings Framerate numerator (framerateNumerator) and
Framerate denominator (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, using the settings Framerate numerator (framerateNumerator) and
Framerate denominator (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', and 'smi'.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', and 'smi'.public void setTimeDelta(Integer timeDelta)
timeDelta
- Specifies a time delta in seconds to offset the captions from the source file.public Integer getTimeDelta()
public FileSourceSettings withTimeDelta(Integer timeDelta)
timeDelta
- Specifies a time delta in seconds to offset the captions from the source file.public String toString()
toString
in class Object
Object.toString()
public FileSourceSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.