Class CencSampleAuxiliaryDataFormat
java.lang.Object
org.mp4parser.boxes.iso23001.part7.CencSampleAuxiliaryDataFormat
Each encrypted sample in a protected track shall have an Initialization Vector associated with it. Further, each
encrypted sample in protected AVC video tracks shall conform to ISO/IEC 14496-10 and ISO/IEC 14496-15
and shall use the subsample encryption scheme specified in 9.6.2, which requires subsample encryption data.
Both initialization vectors and subsample encryption data are provided as Sample Auxiliary Information with
aux_info_type equal to ‘cenc’ and aux_info_type_parameter equal to 0. For tracks protected using
the 'cenc' scheme, the default value for aux_info_type is equal to 'cenc' and the default value for the
aux_info_type_parameter is 0 so content may be created omitting these optional fields. Storage of
sample auxiliary information shall conform to ISO/IEC 14496-12.
This class can also be used for PIFF as it has been derived from the PIFF spec.
This class can also be used for PIFF as it has been derived from the PIFF spec.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePair(int clear, long encrypted) booleanintgetSize()inthashCode()toString()
-
Field Details
-
iv
public byte[] iv -
pairs
-
-
Constructor Details
-
CencSampleAuxiliaryDataFormat
public CencSampleAuxiliaryDataFormat()
-
-
Method Details