Lines Matching refs:info

250 		$info = &$this->getid3->info;
254 $this->parseEBML($info);
260 if (isset($info['matroska']['info']) && is_array($info['matroska']['info'])) {
261 foreach ($info['matroska']['info'] as $key => $infoarray) {
264 …$info['playtime_seconds'] = $infoarray['Duration'] * ((isset($infoarray['TimecodeScale']) ? $infoa…
271 if (isset($info['matroska']['tags']) && is_array($info['matroska']['tags'])) {
272 foreach ($info['matroska']['tags'] as $key => $infoarray) {
278 …if (isset($info['matroska']['tracks']['tracks']) && is_array($info['matroska']['tracks']['tracks']…
279 foreach ($info['matroska']['tracks']['tracks'] as $key => $trackarray) {
308 $info['matroska']['track_codec_parsed'][$trackarray['TrackNumber']] = $parsed;
335 $info['video']['streams'][$trackarray['TrackUID']] = $track_info;
360 if (!isset($info['matroska']['track_data_offsets'][$trackarray['TrackNumber']])) {
368 …$getid3_temp->openfile($this->getid3->filename, $this->getid3->info['filesize'], $this->getid3->fp…
370 …$getid3_temp->info['avdataoffset'] = $info['matroska']['track_data_offsets'][$trackarray['TrackNum…
372 …$getid3_temp->info['avdataend'] = $info['matroska']['track_data_offsets'][$trackarray['TrackNumber…
385 if (!empty($getid3_temp->info[$header_data_key])) {
386 …$info['matroska']['track_codec_parsed'][$trackarray['TrackNumber']] = $getid3_temp->info[$header_d…
387 if (isset($getid3_temp->info['audio']) && is_array($getid3_temp->info['audio'])) {
388 foreach ($getid3_temp->info['audio'] as $sub_key => $value) {
394 …'.__LINE__.'] because '.$class.'::Analyze() failed at offset '.$getid3_temp->info['avdataoffset']);
398 if (!empty($getid3_temp->info['error'])) {
399 foreach ($getid3_temp->info['error'] as $newerror) {
403 if (!empty($getid3_temp->info['warning'])) {
404 foreach ($getid3_temp->info['warning'] as $newerror) {
440 if (!empty($getid3_temp->info['ogg'])) {
441 … $info['matroska']['track_codec_parsed'][$trackarray['TrackNumber']] = $getid3_temp->info['ogg'];
442 if (isset($getid3_temp->info['audio']) && is_array($getid3_temp->info['audio'])) {
443 foreach ($getid3_temp->info['audio'] as $sub_key => $value) {
450 if (!empty($getid3_temp->info['error'])) {
451 foreach ($getid3_temp->info['error'] as $newerror) {
455 if (!empty($getid3_temp->info['warning'])) {
456 foreach ($getid3_temp->info['warning'] as $newerror) {
461 if (!empty($getid3_temp->info['ogg']['bitrate_nominal'])) {
462 $track_info['bitrate'] = $getid3_temp->info['ogg']['bitrate_nominal'];
476 $info['matroska']['track_codec_parsed'][$trackarray['TrackNumber']] = $parsed;
484 $info['audio']['streams'][$trackarray['TrackUID']] = $track_info;
489 if (!empty($info['video']['streams'])) {
490 $info['video'] = self::getDefaultStreamInfo($info['video']['streams']);
492 if (!empty($info['audio']['streams'])) {
493 $info['audio'] = self::getDefaultStreamInfo($info['audio']['streams']);
498 …if (isset($info['matroska']['attachments']) && $this->getid3->option_save_attachments !== getID3::…
499 foreach ($info['matroska']['attachments'] as $i => $entry) {
501 …$info['matroska']['comments']['picture'][] = array('data' => $entry['FileData'], 'image_mime' => $…
507 if (!empty($info['video']['streams'])) {
508 … $info['mime_type'] = ($info['matroska']['doctype'] == 'webm' ? 'video/webm' : 'video/x-matroska');
509 } elseif (!empty($info['audio']['streams'])) {
510 … $info['mime_type'] = ($info['matroska']['doctype'] == 'webm' ? 'audio/webm' : 'audio/x-matroska');
511 } elseif (isset($info['mime_type'])) {
512 unset($info['mime_type']);
516 if (!empty($info['matroska']['tags'])) {
518 foreach ($info['matroska']['tags'] as $key1 => $value1) {
528 if (!empty($info[$avtype]['streams'])) {
529 foreach ($info[$avtype]['streams'] as $trackUID => $trackdata) {
531 … $info[$avtype]['streams'][$trackUID]['bitrate'] = (int) $_STATISTICS_byTrackUID[$trackUID]['BPS'];
532 @$info[$avtype]['bitrate'] += $info[$avtype]['streams'][$trackUID]['bitrate'];
543 * @param array $info
545 private function parseEBML(&$info) { argument
547 $this->current_offset = $info['avdataoffset'];
549 while ($this->getEBMLelement($top_element, $info['avdataend'])) {
553 $info['matroska']['header']['offset'] = $top_element['offset'];
554 $info['matroska']['header']['length'] = $top_element['length'];
570 $info['matroska']['doctype'] = $element_data['data'];
571 $info['fileformat'] = $element_data['data'];
580 $info['matroska']['header']['elements'][] = $element_data;
585 $info['matroska']['segment'][0]['offset'] = $top_element['offset'];
586 $info['matroska']['segment'][0]['length'] = $top_element['length'];
590 $info['matroska']['segments'][] = $element_data;
622 $info['matroska']['seek'][] = $seek_entry;
634 $info['matroska']['tracks'] = $element_data;
824 $info['matroska']['tracks']['tracks'][] = $track_entry;
870 …$info['matroska']['comments'][strtolower($subelement['id_name'])][] = $info_entry[$subelement['id_…
904 $info['matroska']['info'][] = $info_entry;
961 $info['matroska']['cues'] = $cues_entry;
1023 $info['matroska']['tags'] = $tags_entry;
1064 $info['matroska']['attachments'][] = $attachedfile_entry;
1168 $info['matroska']['chapters'][] = $editionentry_entry;
1215 …belement['id_name']] = $this->HandleEMBLClusterBlock($sub_subelement, EBML_ID_CLUSTERBLOCK, $info);
1240 …ment['id_name']][] = $this->HandleEMBLClusterBlock($subelement, EBML_ID_CLUSTERSIMPLEBLOCK, $info);
1250 $info['matroska']['cluster'][] = $cluster_entry;
1255 if (isset($info['matroska']['info']) && is_array($info['matroska']['info'])) {
1256 …if (isset($info['matroska']['tracks']['tracks']) && is_array($info['matroska']['tracks']['tracks']…
1257 …if (count($info['matroska']['track_data_offsets']) == count($info['matroska']['tracks']['tracks'])…
1424 …$this->getid3->info['matroska']['comments'][strtolower($SimpleTagData['TagName'])][] = $SimpleTagD…
1473 * @param array $info
1477 private function HandleEMBLClusterBlock($element, $block_type, &$info) { argument
1526 if (!isset($info['matroska']['track_data_offsets'][$block_data['tracknumber']])) {
1527 …$info['matroska']['track_data_offsets'][$block_data['tracknumber']]['offset'] = $this->current_off…
1528 …$info['matroska']['track_data_offsets'][$block_data['tracknumber']]['length'] = $element['end'] - …
1916 $info = $stream;
1917 $info['streams'] = $streams;
1919 return $info;