Mp4Settings

public struct Mp4Settings : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let cslgAtom: Mp4CslgAtom?
  • 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.

    Declaration

    Swift

    public let cttsVersion: Int?
  • Inserts a free-space box immediately after the moov box.

    Declaration

    Swift

    public let freeSpaceBox: Mp4FreeSpaceBox?
  • 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.

    Declaration

    Swift

    public let moovPlacement: Mp4MoovPlacement?
  • Overrides the “Major Brand” field in the output file. Usually not necessary to specify.

    Declaration

    Swift

    public let mp4MajorBrand: String?
  • Undocumented

    Declaration

    Swift

    public init(cslgAtom: Mp4CslgAtom? = nil, cttsVersion: Int? = nil, freeSpaceBox: Mp4FreeSpaceBox? = nil, moovPlacement: Mp4MoovPlacement? = nil, mp4MajorBrand: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws