You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MediaConvert::Types::Mp4Settings
- Inherits:
-
Struct
- Object
- Struct
- Aws::MediaConvert::Types::Mp4Settings
- Defined in:
- (unknown)
Overview
When passing Mp4Settings as input to an Aws::Client method, you can use a vanilla Hash:
{
cslg_atom: "INCLUDE", # accepts INCLUDE, EXCLUDE
ctts_version: 1,
free_space_box: "INCLUDE", # accepts INCLUDE, EXCLUDE
moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
mp_4_major_brand: "__string",
}
Settings for MP4 container. You can create audio-only AAC outputs with this container.
Returned by:
Instance Attribute Summary collapse
-
#cslg_atom ⇒ String
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.
-
#ctts_version ⇒ Integer
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
-
#free_space_box ⇒ String
Inserts a free-space box immediately after the moov box.
-
#moov_placement ⇒ String
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for progressive downloading.
-
#mp_4_major_brand ⇒ String
Overrides the \"Major Brand\" field in the output file.
Instance Attribute Details
#cslg_atom ⇒ String
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.
Possible values:
- INCLUDE
- EXCLUDE
#ctts_version ⇒ Integer
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.
#free_space_box ⇒ String
Inserts a free-space box immediately after the moov box.
Possible values:
- INCLUDE
- EXCLUDE
#moov_placement ⇒ String
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.
Possible values:
- PROGRESSIVE_DOWNLOAD
- NORMAL
#mp_4_major_brand ⇒ String
Overrides the \"Major Brand\" field in the output file. Usually not necessary to specify.