public static interface Mp4Settings.Builder extends SdkPojo, CopyableBuilder<Mp4Settings.Builder,Mp4Settings>
| Modifier and Type | Method and Description |
|---|---|
Mp4Settings.Builder |
audioDuration(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.Builder |
audioDuration(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.Builder |
cslgAtom(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.Builder |
cslgAtom(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.Builder |
cttsVersion(Integer cttsVersion)
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
Mp4Settings.Builder |
freeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings.Builder |
freeSpaceBox(String freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings.Builder |
moovPlacement(Mp4MoovPlacement moovPlacement)
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
Mp4Settings.Builder |
moovPlacement(String moovPlacement)
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
Mp4Settings.Builder |
mp4MajorBrand(String mp4MajorBrand)
Overrides the "Major Brand" field in the output file.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMp4Settings.Builder audioDuration(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,
CmfcAudioDurationMp4Settings.Builder audioDuration(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,
CmfcAudioDurationMp4Settings.Builder cslgAtom(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,
Mp4CslgAtomMp4Settings.Builder cslgAtom(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,
Mp4CslgAtomMp4Settings.Builder cttsVersion(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.Mp4Settings.Builder freeSpaceBox(String freeSpaceBox)
freeSpaceBox - Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox,
Mp4FreeSpaceBoxMp4Settings.Builder freeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
freeSpaceBox - Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox,
Mp4FreeSpaceBoxMp4Settings.Builder moovPlacement(String moovPlacement)
moovPlacement - If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required
for progressive downloading. Otherwise it is placed normally at the end.Mp4MoovPlacement,
Mp4MoovPlacementMp4Settings.Builder moovPlacement(Mp4MoovPlacement moovPlacement)
moovPlacement - If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required
for progressive downloading. Otherwise it is placed normally at the end.Mp4MoovPlacement,
Mp4MoovPlacementMp4Settings.Builder mp4MajorBrand(String mp4MajorBrand)
mp4MajorBrand - Overrides the "Major Brand" field in the output file. Usually not necessary to specify.Copyright © 2023. All rights reserved.