@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Mp4Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Mp4Settings() |
Modifier and Type | Method and Description |
---|---|
Mp4Settings |
clone() |
boolean |
equals(Object obj) |
String |
getAudioDuration()
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio.
|
String |
getCslgAtom()
When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to
sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included
per 14496-1 amendment 1.
|
Integer |
getCttsVersion()
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
String |
getFreeSpaceBox()
Inserts a free-space box immediately after the moov box.
|
String |
getMoovPlacement()
To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank
or choose Progressive download.
|
String |
getMp4MajorBrand()
Overrides the "Major Brand" field in the output file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioDuration(String audioDuration)
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio.
|
void |
setCslgAtom(String cslgAtom)
When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to
sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included
per 14496-1 amendment 1.
|
void |
setCttsVersion(Integer cttsVersion)
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
void |
setFreeSpaceBox(String freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
void |
setMoovPlacement(String moovPlacement)
To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank
or choose Progressive download.
|
void |
setMp4MajorBrand(String mp4MajorBrand)
Overrides the "Major Brand" field in the output file.
|
String |
toString()
Returns a string representation of this object.
|
Mp4Settings |
withAudioDuration(CmfcAudioDuration audioDuration)
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio.
|
Mp4Settings |
withAudioDuration(String audioDuration)
Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio.
|
Mp4Settings |
withCslgAtom(Mp4CslgAtom cslgAtom)
When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to
sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included
per 14496-1 amendment 1.
|
Mp4Settings |
withCslgAtom(String cslgAtom)
When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time to
sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be included
per 14496-1 amendment 1.
|
Mp4Settings |
withCttsVersion(Integer cttsVersion)
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
Mp4Settings |
withFreeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings |
withFreeSpaceBox(String freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings |
withMoovPlacement(Mp4MoovPlacement moovPlacement)
To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank
or choose Progressive download.
|
Mp4Settings |
withMoovPlacement(String moovPlacement)
To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank
or choose Progressive download.
|
Mp4Settings |
withMp4MajorBrand(String mp4MajorBrand)
Overrides the "Major Brand" field in the output file.
|
public void setAudioDuration(String audioDuration)
audioDuration
- Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio. For this situation, choose Match
video duration. In all other cases, keep the default value, Default codec duration. When you choose Match
video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the
total duration of each audio stream is at least as long as the total duration of the video stream. After
padding or trimming, the audio stream duration is no more than one frame longer than the video stream.
MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For
unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default
value, any minor discrepancies between audio and video duration will depend on your output audio codec.CmfcAudioDuration
public String getAudioDuration()
CmfcAudioDuration
public Mp4Settings withAudioDuration(String audioDuration)
audioDuration
- Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio. For this situation, choose Match
video duration. In all other cases, keep the default value, Default codec duration. When you choose Match
video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the
total duration of each audio stream is at least as long as the total duration of the video stream. After
padding or trimming, the audio stream duration is no more than one frame longer than the video stream.
MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For
unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default
value, any minor discrepancies between audio and video duration will depend on your output audio codec.CmfcAudioDuration
public Mp4Settings withAudioDuration(CmfcAudioDuration audioDuration)
audioDuration
- Specify this setting only when your output will be consumed by a downstream repackaging workflow that is
sensitive to very small duration differences between video and audio. For this situation, choose Match
video duration. In all other cases, keep the default value, Default codec duration. When you choose Match
video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the
total duration of each audio stream is at least as long as the total duration of the video stream. After
padding or trimming, the audio stream duration is no more than one frame longer than the video stream.
MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For
unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default
value, any minor discrepancies between audio and video duration will depend on your output audio codec.CmfcAudioDuration
public void setCslgAtom(String cslgAtom)
cslgAtom
- When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time
to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be
included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.Mp4CslgAtom
public String getCslgAtom()
Mp4CslgAtom
public Mp4Settings withCslgAtom(String cslgAtom)
cslgAtom
- When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time
to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be
included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.Mp4CslgAtom
public Mp4Settings withCslgAtom(Mp4CslgAtom cslgAtom)
cslgAtom
- When enabled, file composition times will start at zero, composition times in the 'ctts' (composition time
to sample) box for B-frames will be negative, and a 'cslg' (composition shift least greatest) box will be
included per 14496-1 amendment 1. This improves compatibility with Apple players and tools.Mp4CslgAtom
public void setCttsVersion(Integer cttsVersion)
cttsVersion
- Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
Specify a value of 1 to set your CTTS box version to 1 and make your output compliant with the
specification. When you specify a value of 1, you must also set CSLG atom to the value INCLUDE. Keep the
default value 0 to set your CTTS box version to 0. This can provide backward compatibility for some
players and packagers.public Integer getCttsVersion()
public Mp4Settings withCttsVersion(Integer cttsVersion)
cttsVersion
- Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
Specify a value of 1 to set your CTTS box version to 1 and make your output compliant with the
specification. When you specify a value of 1, you must also set CSLG atom to the value INCLUDE. Keep the
default value 0 to set your CTTS box version to 0. This can provide backward compatibility for some
players and packagers.public void setFreeSpaceBox(String freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public String getFreeSpaceBox()
Mp4FreeSpaceBox
public Mp4Settings withFreeSpaceBox(String freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public Mp4Settings withFreeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public void setMoovPlacement(String moovPlacement)
moovPlacement
- To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave
blank or choose Progressive download. To place the MOOV at the end of your output: Choose Normal.Mp4MoovPlacement
public String getMoovPlacement()
Mp4MoovPlacement
public Mp4Settings withMoovPlacement(String moovPlacement)
moovPlacement
- To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave
blank or choose Progressive download. To place the MOOV at the end of your output: Choose Normal.Mp4MoovPlacement
public Mp4Settings withMoovPlacement(Mp4MoovPlacement moovPlacement)
moovPlacement
- To place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave
blank or choose Progressive download. To place the MOOV at the end of your output: Choose Normal.Mp4MoovPlacement
public void setMp4MajorBrand(String mp4MajorBrand)
mp4MajorBrand
- Overrides the "Major Brand" field in the output file. Usually not necessary to specify.public String getMp4MajorBrand()
public Mp4Settings withMp4MajorBrand(String mp4MajorBrand)
mp4MajorBrand
- Overrides the "Major Brand" field in the output file. Usually not necessary to specify.public String toString()
toString
in class Object
Object.toString()
public Mp4Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.