AWS SDK for C++  1.9.75
AWS SDK for C++
Public Member Functions | List of all members
Aws::MediaConvert::Model::Mp4Settings Class Reference

#include <Mp4Settings.h>

Public Member Functions

 Mp4Settings ()
 
 Mp4Settings (Aws::Utils::Json::JsonView jsonValue)
 
Mp4Settingsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const CmfcAudioDurationGetAudioDuration () const
 
bool AudioDurationHasBeenSet () const
 
void SetAudioDuration (const CmfcAudioDuration &value)
 
void SetAudioDuration (CmfcAudioDuration &&value)
 
Mp4SettingsWithAudioDuration (const CmfcAudioDuration &value)
 
Mp4SettingsWithAudioDuration (CmfcAudioDuration &&value)
 
const Mp4CslgAtomGetCslgAtom () const
 
bool CslgAtomHasBeenSet () const
 
void SetCslgAtom (const Mp4CslgAtom &value)
 
void SetCslgAtom (Mp4CslgAtom &&value)
 
Mp4SettingsWithCslgAtom (const Mp4CslgAtom &value)
 
Mp4SettingsWithCslgAtom (Mp4CslgAtom &&value)
 
int GetCttsVersion () const
 
bool CttsVersionHasBeenSet () const
 
void SetCttsVersion (int value)
 
Mp4SettingsWithCttsVersion (int value)
 
const Mp4FreeSpaceBoxGetFreeSpaceBox () const
 
bool FreeSpaceBoxHasBeenSet () const
 
void SetFreeSpaceBox (const Mp4FreeSpaceBox &value)
 
void SetFreeSpaceBox (Mp4FreeSpaceBox &&value)
 
Mp4SettingsWithFreeSpaceBox (const Mp4FreeSpaceBox &value)
 
Mp4SettingsWithFreeSpaceBox (Mp4FreeSpaceBox &&value)
 
const Mp4MoovPlacementGetMoovPlacement () const
 
bool MoovPlacementHasBeenSet () const
 
void SetMoovPlacement (const Mp4MoovPlacement &value)
 
void SetMoovPlacement (Mp4MoovPlacement &&value)
 
Mp4SettingsWithMoovPlacement (const Mp4MoovPlacement &value)
 
Mp4SettingsWithMoovPlacement (Mp4MoovPlacement &&value)
 
const Aws::StringGetMp4MajorBrand () const
 
bool Mp4MajorBrandHasBeenSet () const
 
void SetMp4MajorBrand (const Aws::String &value)
 
void SetMp4MajorBrand (Aws::String &&value)
 
void SetMp4MajorBrand (const char *value)
 
Mp4SettingsWithMp4MajorBrand (const Aws::String &value)
 
Mp4SettingsWithMp4MajorBrand (Aws::String &&value)
 
Mp4SettingsWithMp4MajorBrand (const char *value)
 

Detailed Description

These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html#output-codecs-and-containers-supported-for-audio-only.

See Also:

AWS API Reference

Definition at line 38 of file Mp4Settings.h.

Constructor & Destructor Documentation

◆ Mp4Settings() [1/2]

Aws::MediaConvert::Model::Mp4Settings::Mp4Settings ( )

◆ Mp4Settings() [2/2]

Aws::MediaConvert::Model::Mp4Settings::Mp4Settings ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AudioDurationHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::AudioDurationHasBeenSet ( ) const
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 79 of file Mp4Settings.h.

◆ CslgAtomHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::CslgAtomHasBeenSet ( ) const
inline

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.

Definition at line 164 of file Mp4Settings.h.

◆ CttsVersionHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::CttsVersionHasBeenSet ( ) const
inline

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 (cslgAtom) 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.

Definition at line 217 of file Mp4Settings.h.

◆ FreeSpaceBoxHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::FreeSpaceBoxHasBeenSet ( ) const
inline

Inserts a free-space box immediately after the moov box.

Definition at line 248 of file Mp4Settings.h.

◆ GetAudioDuration()

const CmfcAudioDuration& Aws::MediaConvert::Model::Mp4Settings::GetAudioDuration ( ) const
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 62 of file Mp4Settings.h.

◆ GetCslgAtom()

const Mp4CslgAtom& Aws::MediaConvert::Model::Mp4Settings::GetCslgAtom ( ) const
inline

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.

Definition at line 156 of file Mp4Settings.h.

◆ GetCttsVersion()

int Aws::MediaConvert::Model::Mp4Settings::GetCttsVersion ( ) const
inline

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 (cslgAtom) 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.

Definition at line 207 of file Mp4Settings.h.

◆ GetFreeSpaceBox()

const Mp4FreeSpaceBox& Aws::MediaConvert::Model::Mp4Settings::GetFreeSpaceBox ( ) const
inline

Inserts a free-space box immediately after the moov box.

Definition at line 243 of file Mp4Settings.h.

◆ GetMoovPlacement()

const Mp4MoovPlacement& Aws::MediaConvert::Model::Mp4Settings::GetMoovPlacement ( ) const
inline

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.

Definition at line 276 of file Mp4Settings.h.

◆ GetMp4MajorBrand()

const Aws::String& Aws::MediaConvert::Model::Mp4Settings::GetMp4MajorBrand ( ) const
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 318 of file Mp4Settings.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::MediaConvert::Model::Mp4Settings::Jsonize ( ) const

◆ MoovPlacementHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::MoovPlacementHasBeenSet ( ) const
inline

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.

Definition at line 283 of file Mp4Settings.h.

◆ Mp4MajorBrandHasBeenSet()

bool Aws::MediaConvert::Model::Mp4Settings::Mp4MajorBrandHasBeenSet ( ) const
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 324 of file Mp4Settings.h.

◆ operator=()

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetAudioDuration() [1/2]

void Aws::MediaConvert::Model::Mp4Settings::SetAudioDuration ( CmfcAudioDuration &&  value)
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 113 of file Mp4Settings.h.

◆ SetAudioDuration() [2/2]

void Aws::MediaConvert::Model::Mp4Settings::SetAudioDuration ( const CmfcAudioDuration value)
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 96 of file Mp4Settings.h.

◆ SetCslgAtom() [1/2]

void Aws::MediaConvert::Model::Mp4Settings::SetCslgAtom ( const Mp4CslgAtom value)
inline

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.

Definition at line 172 of file Mp4Settings.h.

◆ SetCslgAtom() [2/2]

void Aws::MediaConvert::Model::Mp4Settings::SetCslgAtom ( Mp4CslgAtom &&  value)
inline

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.

Definition at line 180 of file Mp4Settings.h.

◆ SetCttsVersion()

void Aws::MediaConvert::Model::Mp4Settings::SetCttsVersion ( int  value)
inline

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 (cslgAtom) 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.

Definition at line 227 of file Mp4Settings.h.

◆ SetFreeSpaceBox() [1/2]

void Aws::MediaConvert::Model::Mp4Settings::SetFreeSpaceBox ( const Mp4FreeSpaceBox value)
inline

Inserts a free-space box immediately after the moov box.

Definition at line 253 of file Mp4Settings.h.

◆ SetFreeSpaceBox() [2/2]

void Aws::MediaConvert::Model::Mp4Settings::SetFreeSpaceBox ( Mp4FreeSpaceBox &&  value)
inline

Inserts a free-space box immediately after the moov box.

Definition at line 258 of file Mp4Settings.h.

◆ SetMoovPlacement() [1/2]

void Aws::MediaConvert::Model::Mp4Settings::SetMoovPlacement ( const Mp4MoovPlacement value)
inline

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.

Definition at line 290 of file Mp4Settings.h.

◆ SetMoovPlacement() [2/2]

void Aws::MediaConvert::Model::Mp4Settings::SetMoovPlacement ( Mp4MoovPlacement &&  value)
inline

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.

Definition at line 297 of file Mp4Settings.h.

◆ SetMp4MajorBrand() [1/3]

void Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand ( Aws::String &&  value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 336 of file Mp4Settings.h.

◆ SetMp4MajorBrand() [2/3]

void Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand ( const Aws::String value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 330 of file Mp4Settings.h.

◆ SetMp4MajorBrand() [3/3]

void Aws::MediaConvert::Model::Mp4Settings::SetMp4MajorBrand ( const char *  value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 342 of file Mp4Settings.h.

◆ WithAudioDuration() [1/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithAudioDuration ( CmfcAudioDuration &&  value)
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 147 of file Mp4Settings.h.

◆ WithAudioDuration() [2/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithAudioDuration ( const CmfcAudioDuration value)
inline

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 (MATCH_VIDEO_DURATION). In all other cases, keep the default value, Default codec duration (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.

Definition at line 130 of file Mp4Settings.h.

◆ WithCslgAtom() [1/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithCslgAtom ( const Mp4CslgAtom value)
inline

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.

Definition at line 188 of file Mp4Settings.h.

◆ WithCslgAtom() [2/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithCslgAtom ( Mp4CslgAtom &&  value)
inline

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.

Definition at line 196 of file Mp4Settings.h.

◆ WithCttsVersion()

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithCttsVersion ( int  value)
inline

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 (cslgAtom) 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.

Definition at line 237 of file Mp4Settings.h.

◆ WithFreeSpaceBox() [1/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithFreeSpaceBox ( const Mp4FreeSpaceBox value)
inline

Inserts a free-space box immediately after the moov box.

Definition at line 263 of file Mp4Settings.h.

◆ WithFreeSpaceBox() [2/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithFreeSpaceBox ( Mp4FreeSpaceBox &&  value)
inline

Inserts a free-space box immediately after the moov box.

Definition at line 268 of file Mp4Settings.h.

◆ WithMoovPlacement() [1/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithMoovPlacement ( const Mp4MoovPlacement value)
inline

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.

Definition at line 304 of file Mp4Settings.h.

◆ WithMoovPlacement() [2/2]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithMoovPlacement ( Mp4MoovPlacement &&  value)
inline

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.

Definition at line 311 of file Mp4Settings.h.

◆ WithMp4MajorBrand() [1/3]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand ( Aws::String &&  value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 354 of file Mp4Settings.h.

◆ WithMp4MajorBrand() [2/3]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand ( const Aws::String value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 348 of file Mp4Settings.h.

◆ WithMp4MajorBrand() [3/3]

Mp4Settings& Aws::MediaConvert::Model::Mp4Settings::WithMp4MajorBrand ( const char *  value)
inline

Overrides the "Major Brand" field in the output file. Usually not necessary to specify.

Definition at line 360 of file Mp4Settings.h.


The documentation for this class was generated from the following file: