Class Mp4Settings
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Mp4Settings.Builder,Mp4Settings>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal CmfcAudioDurationSpecify 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.final StringSpecify 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.static Mp4Settings.Builderbuilder()final Mp4CslgAtomcslgAtom()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.final StringWhen 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.final IntegerIgnore this setting unless compliance to the CTTS box version specification matters in your workflow.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Mp4FreeSpaceBoxInserts a free-space box immediately after the moov box.final StringInserts a free-space box immediately after the moov box.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Mp4MoovPlacementTo place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or choose Progressive download.final StringTo place the MOOV atom at the beginning of your output, which is useful for progressive downloading: Leave blank or choose Progressive download.final StringOverrides the "Major Brand" field in the output file.static Class<? extends Mp4Settings.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.If the service returns an enum value that is not available in the current SDK version,
audioDurationwill returnCmfcAudioDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDurationAsString().- Returns:
- 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.
- See Also:
-
audioDurationAsString
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.If the service returns an enum value that is not available in the current SDK version,
audioDurationwill returnCmfcAudioDuration.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaudioDurationAsString().- Returns:
- 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.
- See Also:
-
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.If the service returns an enum value that is not available in the current SDK version,
cslgAtomwill returnMp4CslgAtom.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcslgAtomAsString().- Returns:
- 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.
- See Also:
-
cslgAtomAsString
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.If the service returns an enum value that is not available in the current SDK version,
cslgAtomwill returnMp4CslgAtom.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcslgAtomAsString().- Returns:
- 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.
- See Also:
-
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.- Returns:
- 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.
-
freeSpaceBox
Inserts a free-space box immediately after the moov box.If the service returns an enum value that is not available in the current SDK version,
freeSpaceBoxwill returnMp4FreeSpaceBox.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfreeSpaceBoxAsString().- Returns:
- Inserts a free-space box immediately after the moov box.
- See Also:
-
freeSpaceBoxAsString
Inserts a free-space box immediately after the moov box.If the service returns an enum value that is not available in the current SDK version,
freeSpaceBoxwill returnMp4FreeSpaceBox.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfreeSpaceBoxAsString().- Returns:
- Inserts a free-space box immediately after the moov box.
- See Also:
-
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.If the service returns an enum value that is not available in the current SDK version,
moovPlacementwill returnMp4MoovPlacement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommoovPlacementAsString().- Returns:
- 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.
- See Also:
-
moovPlacementAsString
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.If the service returns an enum value that is not available in the current SDK version,
moovPlacementwill returnMp4MoovPlacement.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommoovPlacementAsString().- Returns:
- 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.
- See Also:
-
mp4MajorBrand
Overrides the "Major Brand" field in the output file. Usually not necessary to specify.- Returns:
- Overrides the "Major Brand" field in the output file. Usually not necessary to specify.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Mp4Settings.Builder,Mp4Settings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-