@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Mp4Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Mp4Settings() |
Modifier and Type | Method and Description |
---|---|
Mp4Settings |
clone() |
boolean |
equals(Object obj) |
String |
getCslgAtom()
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.
|
Integer |
getCttsVersion()
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
String |
getFreeSpaceBox()
Inserts a free-space box immediately after the moov box.
|
String |
getMoovPlacement()
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
String |
getMp4MajorBrand()
Overrides the "Major Brand" field in the output file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCslgAtom(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.
|
void |
setCttsVersion(Integer cttsVersion)
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
void |
setFreeSpaceBox(String freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
void |
setMoovPlacement(String moovPlacement)
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
void |
setMp4MajorBrand(String mp4MajorBrand)
Overrides the "Major Brand" field in the output file.
|
String |
toString()
Returns a string representation of this object.
|
Mp4Settings |
withCslgAtom(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 |
withCslgAtom(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 |
withCttsVersion(Integer cttsVersion)
Ignore this setting unless compliance to the CTTS box version specification matters in your workflow.
|
Mp4Settings |
withFreeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings |
withFreeSpaceBox(String freeSpaceBox)
Inserts a free-space box immediately after the moov box.
|
Mp4Settings |
withMoovPlacement(Mp4MoovPlacement moovPlacement)
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
Mp4Settings |
withMoovPlacement(String moovPlacement)
If set to PROGRESSIVE_DOWNLOAD, the MOOV atom is relocated to the beginning of the archive as required for
progressive downloading.
|
Mp4Settings |
withMp4MajorBrand(String mp4MajorBrand)
Overrides the "Major Brand" field in the output file.
|
public void setCslgAtom(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
public String getCslgAtom()
Mp4CslgAtom
public Mp4Settings withCslgAtom(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
public Mp4Settings withCslgAtom(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
public void setCttsVersion(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 (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.public Integer getCttsVersion()
public Mp4Settings withCttsVersion(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 (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.public void setFreeSpaceBox(String freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public String getFreeSpaceBox()
Mp4FreeSpaceBox
public Mp4Settings withFreeSpaceBox(String freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public Mp4Settings withFreeSpaceBox(Mp4FreeSpaceBox freeSpaceBox)
freeSpaceBox
- Inserts a free-space box immediately after the moov box.Mp4FreeSpaceBox
public void setMoovPlacement(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
public String getMoovPlacement()
Mp4MoovPlacement
public Mp4Settings withMoovPlacement(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
public Mp4Settings withMoovPlacement(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
public void setMp4MajorBrand(String mp4MajorBrand)
mp4MajorBrand
- Overrides the "Major Brand" field in the output file. Usually not necessary to specify.public String getMp4MajorBrand()
public Mp4Settings withMp4MajorBrand(String mp4MajorBrand)
mp4MajorBrand
- Overrides the "Major Brand" field in the output file. Usually not necessary to specify.public String toString()
toString
in class Object
Object.toString()
public Mp4Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.