QuicktimeDCOMLookup example

$CompressedFileData = substr($atom_data, 4);
                    if ($UncompressedHeader = @gzuncompress($CompressedFileData)) {
                        $atom_structure['subatoms'] = $this->QuicktimeParseContainerAtom($UncompressedHeader, 0, $atomHierarchy$ParseAllPossibleAtoms);
                    } else {
                        $this->warning('Error decompressing compressed MOV atom at offset '.$atom_structure['offset']);
                    }
                    break;


                case 'dcom': // Data COMpression atom                     $atom_structure['compression_id']   = $atom_data;
                    $atom_structure['compression_text'] = $this->QuicktimeDCOMLookup($atom_data);
                    break;


                case 'rdrf': // Reference movie Data ReFerence atom                     $atom_structure['version']                = getid3_lib::BigEndian2Int(substr($atom_data,  0, 1));
                    $atom_structure['flags_raw']              = getid3_lib::BigEndian2Int(substr($atom_data,  1, 3));
                    $atom_structure['flags']['internal_data'] = (bool) ($atom_structure['flags_raw'] & 0x000001);

                    $atom_structure['reference_type_name']    =                           substr($atom_data,  4, 4);
                    $atom_structure['reference_length']       = getid3_lib::BigEndian2Int(substr($atom_data,  8, 4));
                    switch ($atom_structure['reference_type_name']) {
                        
Home | Imprint | This part of the site doesn't use cookies.