MPEGGroup / FileFormat

MPEG file format discussions
23 stars 0 forks source link

ISOBMFF Clarification to semantics of data_reference_index in SampleEntry #15

Closed lkondrad closed 3 years ago

lkondrad commented 4 years ago

Section 8.5.2.3 of 14496-12 (14496-12-6th-ed-FDIS)

Currently data_reference_index of Sample Entry has the following semantic:

data_reference_index is an integer that contains the index of the data reference to use to retrieve data associated with samples that use this sample description. Data references are stored in DataReferenceBoxes. The index ranges from 1 to the number of data references.

According to Section 8.7.2 there is exactly one DataReferenceBox in DataInformationBox. DataReferenceBox contains number of DataEntryBoxes and indexies of those DataEntryBoxes are signaled by data_reference_index in Sample Entry.

consider making it more clear in the semantics of data_reference_index, e.g.

data_reference_index is an integer that contains the index of the data reference DataEntryBox to use to retrieve data associated with samples that use this sample description. Data references DataEntryBoxes are stored in DataReferenceBoxes. The index ranges from 1 to the number of data references DataEntryBoxes.

Lukasz

dwsinger commented 3 years ago

addressed in the 7th edition