|
@@ 1623-1632 (lines=10) @@
|
| 1620 |
|
$atom_structure['data'] = $atom_data; |
| 1621 |
|
break; |
| 1622 |
|
|
| 1623 |
|
case "\x00\x00\x00\x00": |
| 1624 |
|
// some kind of metacontainer, may contain a big data dump such as: |
| 1625 |
|
// mdta keys \005 mdtacom.apple.quicktime.make (mdtacom.apple.quicktime.creationdate ,mdtacom.apple.quicktime.location.ISO6709 $mdtacom.apple.quicktime.software !mdtacom.apple.quicktime.model ilst \01D \001 \015data \001DE\010Apple 0 \002 (data \001DE\0102011-05-11T17:54:04+0200 2 \003 *data \001DE\010+52.4936+013.3897+040.247/ \01D \004 \015data \001DE\0104.3.1 \005 \018data \001DE\010iPhone 4 |
| 1626 |
|
// http://www.geocities.com/xhelmboyx/quicktime/formats/qti-layout.txt |
| 1627 |
|
|
| 1628 |
|
$atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1)); |
| 1629 |
|
$atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3)); |
| 1630 |
|
$atom_structure['subatoms'] = $this->QuicktimeParseContainerAtom(substr($atom_data, 4), $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms); |
| 1631 |
|
//$atom_structure['subatoms'] = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms); |
| 1632 |
|
break; |
| 1633 |
|
|
| 1634 |
|
case 'meta': // METAdata atom |
| 1635 |
|
// https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/Metadata/Metadata.html |
|
@@ 1634-1640 (lines=7) @@
|
| 1631 |
|
//$atom_structure['subatoms'] = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms); |
| 1632 |
|
break; |
| 1633 |
|
|
| 1634 |
|
case 'meta': // METAdata atom |
| 1635 |
|
// https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/Metadata/Metadata.html |
| 1636 |
|
|
| 1637 |
|
$atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1)); |
| 1638 |
|
$atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3)); |
| 1639 |
|
$atom_structure['subatoms'] = $this->QuicktimeParseContainerAtom($atom_data, $baseoffset + 8, $atomHierarchy, $ParseAllPossibleAtoms); |
| 1640 |
|
break; |
| 1641 |
|
|
| 1642 |
|
case 'data': // metaDATA atom |
| 1643 |
|
static $metaDATAkey = 1; // real ugly, but so is the QuickTime structure that stores keys and values in different multinested locations that are hard to relate to each other |