當前位置: 首頁>>代碼示例>>PHP>>正文


PHP getid3_lib::DateMac2Unix方法代碼示例

本文整理匯總了PHP中getid3_lib::DateMac2Unix方法的典型用法代碼示例。如果您正苦於以下問題:PHP getid3_lib::DateMac2Unix方法的具體用法?PHP getid3_lib::DateMac2Unix怎麽用?PHP getid3_lib::DateMac2Unix使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在getid3_lib的用法示例。


在下文中一共展示了getid3_lib::DateMac2Unix方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getid3_riff


//.........這裏部分代碼省略.........
                                     break;
                             }
                             break;
                         default:
                             $thisfile_audio['codec'] = $thisfile_riff_audio['codec_name'];
                             $thisfile_audio['lossless'] = false;
                             break;
                     }
                 }
                 $thisfile_audio['channels'] = $thisfile_riff_audio['channels'];
                 if ($thisfile_riff_audio['bits_per_sample'] > 0) {
                     $thisfile_audio['bits_per_sample'] = $thisfile_riff_audio['bits_per_sample'];
                 }
                 $thisfile_audio['sample_rate'] = $thisfile_riff_audio['sample_rate'];
                 if ($thisfile_audio['sample_rate'] == 0) {
                     $ThisFileInfo['error'][] = 'Corrupted AIFF file: sample_rate == zero';
                     return false;
                 }
                 $ThisFileInfo['playtime_seconds'] = $thisfile_riff_audio['total_samples'] / $thisfile_audio['sample_rate'];
             }
             if (isset($thisfile_riff[$RIFFsubtype]['COMT'])) {
                 $offset = 0;
                 $CommentCount = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), false);
                 $offset += 2;
                 for ($i = 0; $i < $CommentCount; $i++) {
                     $ThisFileInfo['comments_raw'][$i]['timestamp'] = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 4), false);
                     $offset += 4;
                     $ThisFileInfo['comments_raw'][$i]['marker_id'] = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), true);
                     $offset += 2;
                     $CommentLength = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), false);
                     $offset += 2;
                     $ThisFileInfo['comments_raw'][$i]['comment'] = substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, $CommentLength);
                     $offset += $CommentLength;
                     $ThisFileInfo['comments_raw'][$i]['timestamp_unix'] = getid3_lib::DateMac2Unix($ThisFileInfo['comments_raw'][$i]['timestamp']);
                     $thisfile_riff['comments']['comment'][] = $ThisFileInfo['comments_raw'][$i]['comment'];
                 }
             }
             $CommentsChunkNames = array('NAME' => 'title', 'author' => 'artist', '(c) ' => 'copyright', 'ANNO' => 'comment');
             foreach ($CommentsChunkNames as $key => $value) {
                 if (isset($thisfile_riff[$RIFFsubtype][$key][0]['data'])) {
                     $thisfile_riff['comments'][$value][] = $thisfile_riff[$RIFFsubtype][$key][0]['data'];
                 }
             }
             break;
         case '8SVX':
             $thisfile_audio['bitrate_mode'] = 'cbr';
             $thisfile_audio_dataformat = '8svx';
             $thisfile_audio['bits_per_sample'] = 8;
             $thisfile_audio['channels'] = 1;
             // overridden below, if need be
             $ThisFileInfo['mime_type'] = 'audio/x-aiff';
             if (isset($thisfile_riff[$RIFFsubtype]['BODY'][0]['offset'])) {
                 $thisfile_avdataoffset = $thisfile_riff[$RIFFsubtype]['BODY'][0]['offset'] + 8;
                 $thisfile_avdataend = $thisfile_avdataoffset + $thisfile_riff[$RIFFsubtype]['BODY'][0]['size'];
                 if ($thisfile_avdataend > $ThisFileInfo['filesize']) {
                     $ThisFileInfo['warning'][] = 'Probable truncated AIFF file: expecting ' . $thisfile_riff[$RIFFsubtype]['BODY'][0]['size'] . ' bytes of audio data, only ' . ($ThisFileInfo['filesize'] - $thisfile_avdataoffset) . ' bytes found';
                 }
             }
             if (isset($thisfile_riff[$RIFFsubtype]['VHDR'][0]['offset'])) {
                 // shortcut
                 $thisfile_riff_RIFFsubtype_VHDR_0 =& $thisfile_riff[$RIFFsubtype]['VHDR'][0];
                 $thisfile_riff_RIFFsubtype_VHDR_0['oneShotHiSamples'] = getid3_lib::BigEndian2Int(substr($thisfile_riff_RIFFsubtype_VHDR_0['data'], 0, 4));
                 $thisfile_riff_RIFFsubtype_VHDR_0['repeatHiSamples'] = getid3_lib::BigEndian2Int(substr($thisfile_riff_RIFFsubtype_VHDR_0['data'], 4, 4));
                 $thisfile_riff_RIFFsubtype_VHDR_0['samplesPerHiCycle'] = getid3_lib::BigEndian2Int(substr($thisfile_riff_RIFFsubtype_VHDR_0['data'], 8, 4));
                 $thisfile_riff_RIFFsubtype_VHDR_0['samplesPerSec'] = getid3_lib::BigEndian2Int(substr($thisfile_riff_RIFFsubtype_VHDR_0['data'], 12, 2));
                 $thisfile_riff_RIFFsubtype_VHDR_0['ctOctave'] = getid3_lib::BigEndian2Int(substr($thisfile_riff_RIFFsubtype_VHDR_0['data'], 14, 1));
開發者ID:ioanok,項目名稱:symfoxid,代碼行數:67,代碼來源:module.audio-video.riff.php

示例2: Analyze


//.........這裏部分代碼省略.........
                                     break;
                             }
                             break;
                         default:
                             $thisfile_audio['codec'] = $thisfile_riff_audio['codec_name'];
                             $thisfile_audio['lossless'] = false;
                             break;
                     }
                 }
                 $thisfile_audio['channels'] = $thisfile_riff_audio['channels'];
                 if ($thisfile_riff_audio['bits_per_sample'] > 0) {
                     $thisfile_audio['bits_per_sample'] = $thisfile_riff_audio['bits_per_sample'];
                 }
                 $thisfile_audio['sample_rate'] = $thisfile_riff_audio['sample_rate'];
                 if ($thisfile_audio['sample_rate'] == 0) {
                     $info['error'][] = 'Corrupted AIFF file: sample_rate == zero';
                     return false;
                 }
                 $info['playtime_seconds'] = $thisfile_riff_audio['total_samples'] / $thisfile_audio['sample_rate'];
             }
             if (isset($thisfile_riff[$RIFFsubtype]['COMT'])) {
                 $offset = 0;
                 $CommentCount = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), false);
                 $offset += 2;
                 for ($i = 0; $i < $CommentCount; $i++) {
                     $info['comments_raw'][$i]['timestamp'] = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 4), false);
                     $offset += 4;
                     $info['comments_raw'][$i]['marker_id'] = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), true);
                     $offset += 2;
                     $CommentLength = getid3_lib::BigEndian2Int(substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, 2), false);
                     $offset += 2;
                     $info['comments_raw'][$i]['comment'] = substr($thisfile_riff[$RIFFsubtype]['COMT'][0]['data'], $offset, $CommentLength);
                     $offset += $CommentLength;
                     $info['comments_raw'][$i]['timestamp_unix'] = getid3_lib::DateMac2Unix($info['comments_raw'][$i]['timestamp']);
                     $thisfile_riff['comments']['comment'][] = $info['comments_raw'][$i]['comment'];
                 }
             }
             $CommentsChunkNames = array('NAME' => 'title', 'author' => 'artist', '(c) ' => 'copyright', 'ANNO' => 'comment');
             foreach ($CommentsChunkNames as $key => $value) {
                 if (isset($thisfile_riff[$RIFFsubtype][$key][0]['data'])) {
                     $thisfile_riff['comments'][$value][] = $thisfile_riff[$RIFFsubtype][$key][0]['data'];
                 }
             }
             /*
             				if (isset($thisfile_riff[$RIFFsubtype]['ID3 '])) {
             					getid3_lib::IncludeDependency(GETID3_INCLUDEPATH.'module.tag.id3v2.php', __FILE__, true);
             					$getid3_temp = new getID3();
             					$getid3_temp->openfile($this->getid3->filename);
             					$getid3_id3v2 = new getid3_id3v2($getid3_temp);
             					$getid3_id3v2->StartingOffset = $thisfile_riff[$RIFFsubtype]['ID3 '][0]['offset'] + 8;
             					if ($thisfile_riff[$RIFFsubtype]['ID3 '][0]['valid'] = $getid3_id3v2->Analyze()) {
             						$info['id3v2'] = $getid3_temp->info['id3v2'];
             					}
             					unset($getid3_temp, $getid3_id3v2);
             				}
             */
             break;
             // http://en.wikipedia.org/wiki/8SVX
         // http://en.wikipedia.org/wiki/8SVX
         case '8SVX':
             $info['fileformat'] = '8svx';
             $info['mime_type'] = 'audio/8svx';
             $thisfile_audio['bitrate_mode'] = 'cbr';
             $thisfile_audio_dataformat = '8svx';
             $thisfile_audio['bits_per_sample'] = 8;
             $thisfile_audio['channels'] = 1;
開發者ID:harrisonsmith,項目名稱:active-progression,代碼行數:67,代碼來源:module.audio-video.riff.php

示例3: QuicktimeParseAtom


//.........這裏部分代碼省略.........
             $atomstructure['flags']['no_lean_ahead'] = (bool) ($atomstructure['flags_raw'] & 0x1);
             break;
         case 'hdlr':
             // HanDLeR reference atom
             $atomstructure['version'] = getid3_lib::BigEndian2Int(substr($atomdata, 0, 1));
             $atomstructure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atomdata, 1, 3));
             // hardcoded: 0x0000
             $atomstructure['component_type'] = substr($atomdata, 4, 4);
             $atomstructure['component_subtype'] = substr($atomdata, 8, 4);
             $atomstructure['component_manufacturer'] = substr($atomdata, 12, 4);
             $atomstructure['component_flags_raw'] = getid3_lib::BigEndian2Int(substr($atomdata, 16, 4));
             $atomstructure['component_flags_mask'] = getid3_lib::BigEndian2Int(substr($atomdata, 20, 4));
             $atomstructure['component_name'] = $this->Pascal2String(substr($atomdata, 24));
             if ($atomstructure['component_subtype'] == 'STpn' && $atomstructure['component_manufacturer'] == 'zzzz') {
                 $ThisFileInfo['video']['dataformat'] = 'quicktimevr';
             }
             break;
         case 'mdhd':
             // MeDia HeaDer atom
             $atomstructure['version'] = getid3_lib::BigEndian2Int(substr($atomdata, 0, 1));
             $atomstructure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atomdata, 1, 3));
             // hardcoded: 0x0000
             $atomstructure['creation_time'] = getid3_lib::BigEndian2Int(substr($atomdata, 4, 4));
             $atomstructure['modify_time'] = getid3_lib::BigEndian2Int(substr($atomdata, 8, 4));
             $atomstructure['time_scale'] = getid3_lib::BigEndian2Int(substr($atomdata, 12, 4));
             $atomstructure['duration'] = getid3_lib::BigEndian2Int(substr($atomdata, 16, 4));
             $atomstructure['language_id'] = getid3_lib::BigEndian2Int(substr($atomdata, 20, 2));
             $atomstructure['quality'] = getid3_lib::BigEndian2Int(substr($atomdata, 22, 2));
             if ($atomstructure['time_scale'] == 0) {
                 $ThisFileInfo['error'][] = 'Corrupt Quicktime file: mdhd.time_scale == zero';
                 return false;
             }
             $ThisFileInfo['quicktime']['time_scale'] = max(@$ThisFileInfo['quicktime']['time_scale'], $atomstructure['time_scale']);
             $atomstructure['creation_time_unix'] = getid3_lib::DateMac2Unix($atomstructure['creation_time']);
             $atomstructure['modify_time_unix'] = getid3_lib::DateMac2Unix($atomstructure['modify_time']);
             $atomstructure['playtime_seconds'] = $atomstructure['duration'] / $atomstructure['time_scale'];
             $atomstructure['language'] = $this->QuicktimeLanguageLookup($atomstructure['language_id']);
             if (empty($ThisFileInfo['comments']['language']) || !in_array($atomstructure['language'], $ThisFileInfo['comments']['language'])) {
                 $ThisFileInfo['comments']['language'][] = $atomstructure['language'];
             }
             break;
         case 'pnot':
             // Preview atom
             $atomstructure['modification_date'] = getid3_lib::BigEndian2Int(substr($atomdata, 0, 4));
             // "standard Macintosh format"
             $atomstructure['version_number'] = getid3_lib::BigEndian2Int(substr($atomdata, 4, 2));
             // hardcoded: 0x00
             $atomstructure['atom_type'] = substr($atomdata, 6, 4);
             // usually: 'PICT'
             $atomstructure['atom_index'] = getid3_lib::BigEndian2Int(substr($atomdata, 10, 2));
             // usually: 0x01
             $atomstructure['modification_date_unix'] = getid3_lib::DateMac2Unix($atomstructure['modification_date']);
             break;
         case 'crgn':
             // Clipping ReGioN atom
             $atomstructure['region_size'] = getid3_lib::BigEndian2Int(substr($atomdata, 0, 2));
             // The Region size, Region boundary box,
             $atomstructure['boundary_box'] = getid3_lib::BigEndian2Int(substr($atomdata, 2, 8));
             // and Clipping region data fields
             $atomstructure['clipping_data'] = substr($atomdata, 10);
             // constitute a QuickDraw region.
             break;
         case 'load':
             // track LOAD settings atom
             $atomstructure['preload_start_time'] = getid3_lib::BigEndian2Int(substr($atomdata, 0, 4));
             $atomstructure['preload_duration'] = getid3_lib::BigEndian2Int(substr($atomdata, 4, 4));
開發者ID:Teino1978-Corp,項目名稱:Teino1978-Corp-owncloud_.htaccess-,代碼行數:67,代碼來源:owncloud_apps_media_getID3_getid3_module.audio-video.quicktime.php

示例4: QuicktimeParseAtom


//.........這裏部分代碼省略.........
             $atom_structure['flags']['no_lean_ahead'] = (bool) ($atom_structure['flags_raw'] & 0x1);
             break;
         case 'hdlr':
             // HanDLeR 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));
             // hardcoded: 0x0000
             $atom_structure['component_type'] = substr($atom_data, 4, 4);
             $atom_structure['component_subtype'] = substr($atom_data, 8, 4);
             $atom_structure['component_manufacturer'] = substr($atom_data, 12, 4);
             $atom_structure['component_flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 16, 4));
             $atom_structure['component_flags_mask'] = getid3_lib::BigEndian2Int(substr($atom_data, 20, 4));
             $atom_structure['component_name'] = $this->Pascal2String(substr($atom_data, 24));
             if ($atom_structure['component_subtype'] == 'STpn' && $atom_structure['component_manufacturer'] == 'zzzz') {
                 $info['video']['dataformat'] = 'quicktimevr';
             }
             break;
         case 'mdhd':
             // MeDia HeaDer atom
             $atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1));
             $atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3));
             // hardcoded: 0x0000
             $atom_structure['creation_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 4));
             $atom_structure['modify_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 8, 4));
             $atom_structure['time_scale'] = getid3_lib::BigEndian2Int(substr($atom_data, 12, 4));
             $atom_structure['duration'] = getid3_lib::BigEndian2Int(substr($atom_data, 16, 4));
             $atom_structure['language_id'] = getid3_lib::BigEndian2Int(substr($atom_data, 20, 2));
             $atom_structure['quality'] = getid3_lib::BigEndian2Int(substr($atom_data, 22, 2));
             if ($atom_structure['time_scale'] == 0) {
                 $info['error'][] = 'Corrupt Quicktime file: mdhd.time_scale == zero';
                 return false;
             }
             $info['quicktime']['time_scale'] = isset($info['quicktime']['time_scale']) ? max($info['quicktime']['time_scale'], $atom_structure['time_scale']) : $atom_structure['time_scale'];
             $atom_structure['creation_time_unix'] = getid3_lib::DateMac2Unix($atom_structure['creation_time']);
             $atom_structure['modify_time_unix'] = getid3_lib::DateMac2Unix($atom_structure['modify_time']);
             $atom_structure['playtime_seconds'] = $atom_structure['duration'] / $atom_structure['time_scale'];
             $atom_structure['language'] = $this->QuicktimeLanguageLookup($atom_structure['language_id']);
             if (empty($info['comments']['language']) || !in_array($atom_structure['language'], $info['comments']['language'])) {
                 $info['comments']['language'][] = $atom_structure['language'];
             }
             break;
         case 'pnot':
             // Preview atom
             $atom_structure['modification_date'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 4));
             // "standard Macintosh format"
             $atom_structure['version_number'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 2));
             // hardcoded: 0x00
             $atom_structure['atom_type'] = substr($atom_data, 6, 4);
             // usually: 'PICT'
             $atom_structure['atom_index'] = getid3_lib::BigEndian2Int(substr($atom_data, 10, 2));
             // usually: 0x01
             $atom_structure['modification_date_unix'] = getid3_lib::DateMac2Unix($atom_structure['modification_date']);
             break;
         case 'crgn':
             // Clipping ReGioN atom
             $atom_structure['region_size'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 2));
             // The Region size, Region boundary box,
             $atom_structure['boundary_box'] = getid3_lib::BigEndian2Int(substr($atom_data, 2, 8));
             // and Clipping region data fields
             $atom_structure['clipping_data'] = substr($atom_data, 10);
             // constitute a QuickDraw region.
             break;
         case 'load':
             // track LOAD settings atom
             $atom_structure['preload_start_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 4));
             $atom_structure['preload_duration'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 4));
開發者ID:rauldobrota,項目名稱:zenphoto,代碼行數:67,代碼來源:module.audio-video.quicktime.php

示例5: QuicktimeParseAtom


//.........這裏部分代碼省略.........
             $atom_structure['flags']['no_lean_ahead'] = (bool) ($atom_structure['flags_raw'] & 0x1);
             break;
         case 'hdlr':
             // HanDLeR 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));
             // hardcoded: 0x0000
             $atom_structure['component_type'] = substr($atom_data, 4, 4);
             $atom_structure['component_subtype'] = substr($atom_data, 8, 4);
             $atom_structure['component_manufacturer'] = substr($atom_data, 12, 4);
             $atom_structure['component_flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 16, 4));
             $atom_structure['component_flags_mask'] = getid3_lib::BigEndian2Int(substr($atom_data, 20, 4));
             $atom_structure['component_name'] = $this->Pascal2String(substr($atom_data, 24));
             if ($atom_structure['component_subtype'] == 'STpn' && $atom_structure['component_manufacturer'] == 'zzzz') {
                 $ThisFileInfo['video']['dataformat'] = 'quicktimevr';
             }
             break;
         case 'mdhd':
             // MeDia HeaDer atom
             $atom_structure['version'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 1));
             $atom_structure['flags_raw'] = getid3_lib::BigEndian2Int(substr($atom_data, 1, 3));
             // hardcoded: 0x0000
             $atom_structure['creation_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 4));
             $atom_structure['modify_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 8, 4));
             $atom_structure['time_scale'] = getid3_lib::BigEndian2Int(substr($atom_data, 12, 4));
             $atom_structure['duration'] = getid3_lib::BigEndian2Int(substr($atom_data, 16, 4));
             $atom_structure['language_id'] = getid3_lib::BigEndian2Int(substr($atom_data, 20, 2));
             $atom_structure['quality'] = getid3_lib::BigEndian2Int(substr($atom_data, 22, 2));
             if ($atom_structure['time_scale'] == 0) {
                 $ThisFileInfo['error'][] = 'Corrupt Quicktime file: mdhd.time_scale == zero';
                 return false;
             }
             $ThisFileInfo['quicktime']['time_scale'] = isset($ThisFileInfo['quicktime']['time_scale']) ? max($ThisFileInfo['quicktime']['time_scale'], $atom_structure['time_scale']) : $atom_structure['time_scale'];
             $atom_structure['creation_time_unix'] = getid3_lib::DateMac2Unix($atom_structure['creation_time']);
             $atom_structure['modify_time_unix'] = getid3_lib::DateMac2Unix($atom_structure['modify_time']);
             $atom_structure['playtime_seconds'] = $atom_structure['duration'] / $atom_structure['time_scale'];
             $atom_structure['language'] = $this->QuicktimeLanguageLookup($atom_structure['language_id']);
             if (empty($ThisFileInfo['comments']['language']) || !in_array($atom_structure['language'], $ThisFileInfo['comments']['language'])) {
                 $ThisFileInfo['comments']['language'][] = $atom_structure['language'];
             }
             break;
         case 'pnot':
             // Preview atom
             $atom_structure['modification_date'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 4));
             // "standard Macintosh format"
             $atom_structure['version_number'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 2));
             // hardcoded: 0x00
             $atom_structure['atom_type'] = substr($atom_data, 6, 4);
             // usually: 'PICT'
             $atom_structure['atom_index'] = getid3_lib::BigEndian2Int(substr($atom_data, 10, 2));
             // usually: 0x01
             $atom_structure['modification_date_unix'] = getid3_lib::DateMac2Unix($atom_structure['modification_date']);
             break;
         case 'crgn':
             // Clipping ReGioN atom
             $atom_structure['region_size'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 2));
             // The Region size, Region boundary box,
             $atom_structure['boundary_box'] = getid3_lib::BigEndian2Int(substr($atom_data, 2, 8));
             // and Clipping region data fields
             $atom_structure['clipping_data'] = substr($atom_data, 10);
             // constitute a QuickDraw region.
             break;
         case 'load':
             // track LOAD settings atom
             $atom_structure['preload_start_time'] = getid3_lib::BigEndian2Int(substr($atom_data, 0, 4));
             $atom_structure['preload_duration'] = getid3_lib::BigEndian2Int(substr($atom_data, 4, 4));
開發者ID:sahartak,項目名稱:newsroyal,代碼行數:67,代碼來源:module.audio-video.quicktime.php


注:本文中的getid3_lib::DateMac2Unix方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。