Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 1857) sorted by relevance

12345678910>>...75

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.audio.lpac.php28 $info = &$this->getid3->info;
54 if ($info['lpac']['flags']['24_bit'] && $info['lpac']['flags']['16_bit']) {
87 $getid3_temp->info = $info;
90 $info['avdataoffset'] = $getid3_temp->info['avdataoffset'];
91 $info['riff'] = $getid3_temp->info['riff'];
92 $info['error'] = $getid3_temp->info['error'];
93 $info['warning'] = $getid3_temp->info['warning'];
94 $info['lpac']['comments']['comment'] = $getid3_temp->info['comments'];
98 $info['audio']['channels'] = ($info['lpac']['flags']['stereo'] ? 2 : 1);
128 $info['playtime_seconds'] = $info['lpac']['total_samples'] / $info['audio']['sample_rate'];
[all …]
H A Dmodule.audio.wavpack.php26 $info = &$this->getid3->info;
55 switch (isset($info['audio']['dataformat']) ? $info['audio']['dataformat'] : '') {
61 unset($info['audio']);
62 unset($info['wavpack']);
94 switch (isset($info['audio']['dataformat']) ? $info['audio']['dataformat'] : '') {
100 unset($info['audio']);
114 switch (isset($info['audio']['dataformat']) ? $info['audio']['dataformat'] : '') {
148 $info['audio']['lossless'] = !$info['wavpack']['blockheader']['flags']['hybrid'];
236 …$info['playtime_seconds'] = $info['wavpack']['blockheader']['total_samples'] / $info['audio']['sam…
250 $getid3_temp->info['avdataend'] = $info['avdataend'];
[all …]
H A Dmodule.audio.avr.php27 $info = &$this->getid3->info;
69 $info['fileformat'] = 'avr';
79 unset($info['avr']);
107 $info['avr']['midi_notes'][] = ($info['avr']['raw']['midi'] & 0xFF00) >> 8;
110 $info['avr']['midi_notes'][] = ($info['avr']['raw']['midi'] & 0x00FF);
113 …if (($info['avdataend'] - $info['avdataoffset']) != ($info['avr']['sample_length'] * (($info['avr'…
120 $info['audio']['bits_per_sample'] = $info['avr']['bits_per_sample'];
121 $info['audio']['sample_rate'] = $info['avr']['sample_rate'];
122 $info['audio']['channels'] = ($info['avr']['flags']['stereo'] ? 2 : 1);
123 …$info['playtime_seconds'] = ($info['avr']['sample_length'] / $info['audio']['channels']) /…
[all …]
H A Dmodule.audio.la.php28 $info = &$this->getid3->info;
137 …$info['la']['seekpoint_count'] = floor($info['la']['samples'] / ($info['la']['blocksize'] * $info[…
153 if ($info['la']['footerstart'] > $info['filesize']) {
155 $info['la']['footerstart'] = $info['filesize'];
161 $info['la']['footerstart'] = $info['avdataend'];
165 if ($info['la']['footerstart'] < $info['avdataend']) {
188 $info['riff'] = $getid3_temp->info['riff'];
199 $info['avdataend'] = $info['avdataoffset'] + $info['la']['footerstart'];
202 …$info['la']['compression_ratio'] = (float) (($info['avdataend'] - $info['avdataoffset']) / $inf…
203 …$info['playtime_seconds'] = (float) ($info['la']['samples'] / $info['la']['sample_rate']…
[all …]
H A Dmodule.audio.tta.php27 $info = &$this->getid3->info;
42 unset($info['audio']);
43 unset($info['tta']);
62 …$info['playtime_seconds'] = $info['tta']['samples_per_channel'] / $info['tta']['sample_r…
78 $info['playtime_seconds'] = $info['tta']['data_length'] / $info['tta']['sample_rate'];
94 $info['playtime_seconds'] = $info['tta']['data_length'] / $info['tta']['sample_rate'];
102 $info['audio']['encoder'] = 'TTA v'.$info['tta']['major_version'];
103 $info['audio']['bits_per_sample'] = $info['tta']['bits_per_sample'];
104 $info['audio']['sample_rate'] = $info['tta']['sample_rate'];
105 $info['audio']['channels'] = $info['tta']['channels'];
[all …]
H A Dmodule.audio.aac.php27 $info = &$this->getid3->info;
41 $info = &$this->getid3->info;
99 $info['audio']['bitrate'] = $info['aac']['header']['bitrate'];
248 …$info['playtime_seconds'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['audio']['b…
250 …$info['audio']['encoder_options'] = $info['aac']['header_type'].' '.$info['aac']['header']['profil…
259 unset($info['aac']);
274 $info = &$this->getid3->info;
349 unset($info['aac']);
395 $info['audio']['channels'] = $info['aac']['header']['channels'];
446 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['playtim…
[all …]
H A Dmodule.audio.ogg.php30 $info = &$this->getid3->info;
125 $info['audio']['sample_rate'] = $info['speex']['sample_rate'];
126 $info['audio']['channels'] = $info['speex']['channels'];
362 …$info['ogg']['bitrate_average'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / ($info['ogg…
369 $info['audio']['bitrate'] = $info['ogg']['bitrate_average'];
371 $info['audio']['bitrate'] = $info['ogg']['bitrate_nominal'];
373 $info['audio']['bitrate'] = ($info['ogg']['bitrate_min'] + $info['ogg']['bitrate_max']) / 2;
380 …$info['playtime_seconds'] = (float) ((($info['avdataend'] - $info['avdataoffset']) * 8) / $info['a…
421 $info = &$this->getid3->info;
478 $info = &$this->getid3->info;
[all …]
H A Dmodule.audio-video.nsv.php27 $info = &$this->getid3->info;
72 $info = &$this->getid3->info;
82 unset($info['nsv']['NSVs']);
123 $info['audio']['sample_rate'] = $info['nsv']['NSVs']['sample_rate'];
134 $info['video']['resolution_x'] = $info['nsv']['NSVs']['resolution_x'];
135 $info['video']['resolution_y'] = $info['nsv']['NSVs']['resolution_y'];
137 $info['video']['frame_rate'] = $info['nsv']['NSVs']['frame_rate'];
151 $info = &$this->getid3->info;
172 if ($info['nsv']['NSVf']['file_size'] > $info['avdataend']) {
217 $info['playtime_seconds'] = $info['nsv']['NSVf']['playtime_ms'] / 1000;
[all …]
H A Dmodule.audio.rkau.php27 $info = &$this->getid3->info;
43 if (($info['rkau']['version'] > 1.07) || ($info['rkau']['version'] < 1.06)) {
45 unset($info['rkau']);
58 $info['rkau']['flags']['joint_stereo'] = !($info['rkau']['raw']['flags'] & 0x01);
67 $info['rkau']['compressed_bytes'] = $info['avdataend'] - $info['avdataoffset'] - 1;
72 $info['audio']['lossless'] = $info['rkau']['lossless'];
73 $info['audio']['channels'] = $info['rkau']['channels'];
74 $info['audio']['bits_per_sample'] = $info['rkau']['bits_per_sample'];
75 $info['audio']['sample_rate'] = $info['rkau']['sample_rate'];
77 …$info['playtime_seconds'] = $info['rkau']['source_bytes'] / ($info['rkau']['sample_rate'] …
[all …]
H A Dmodule.audio-video.mpeg.php39 $info = &$this->getid3->info;
41 $info['fileformat'] = 'mpeg';
138 $info['video']['bitrate'] = $info['mpeg']['video']['bitrate'];
142 $info['video']['frame_rate'] = $info['mpeg']['video']['frame_rate'];
143 $info['video']['bitrate_mode'] = $info['mpeg']['video']['bitrate_mode'];
144 $info['video']['pixel_aspect_ratio'] = $info['mpeg']['video']['pixel_aspect_ratio'];
398 $getid3_temp->info = $info;
404 $getid3_temp->info = $info; // only overwrite real data if valid header found
408 $info = $getid3_temp->info;
510 $overall_bitrate = ($info['avdataend'] - $info['avdataoffset']) * 8 / $info['playtime_seconds'];
[all …]
H A Dmodule.audio.dsf.php28 $info = &$this->getid3->info;
44 unset($info['fileformat']);
45 unset($info['audio']);
46 unset($info['dsf']);
101 $info['avdataend'] = $info['avdataoffset'] + $info['dsf']['data']['data_chunk_size'];
113 $info['audio']['channelmode'] = $info['dsf']['fmt']['channel_type'];
114 $info['audio']['bits_per_sample'] = $info['dsf']['fmt']['bits_per_sample'];
115 $info['audio']['sample_rate'] = $info['dsf']['fmt']['sample_rate'];
116 $info['audio']['channels'] = $info['dsf']['fmt']['channels'];
117 …$info['audio']['bitrate'] = $info['audio']['bits_per_sample'] * $info['audio']['sample_r…
[all …]
H A Dmodule.audio.dts.php49 $info = &$this->getid3->info;
50 $info['fileformat'] = 'dts';
70 unset($info['fileformat']);
135 $info['audio']['lossless'] = $info['dts']['flags']['lossless'];
136 $info['audio']['bitrate_mode'] = $info['dts']['bitrate_mode'];
137 $info['audio']['bits_per_sample'] = $info['dts']['bits_per_sample'];
138 $info['audio']['sample_rate'] = $info['dts']['sample_rate'];
139 $info['audio']['channels'] = $info['dts']['channels'];
140 $info['audio']['bitrate'] = $info['dts']['bitrate'];
141 …if (isset($info['avdataend']) && !empty($info['dts']['bitrate']) && is_numeric($info['dts']['bitra…
[all …]
H A Dmodule.graphic.svg.php27 $info = &$this->getid3->info;
29 $this->fseek($info['avdataoffset']);
33 $info['svg']['xml']['raw'] = $matches;
39 $info['svg']['svg']['raw'] = $matches;
76 $info['svg']['width'] = intval($info['svg']['svg']['sections']['width']);
79 $info['svg']['height'] = intval($info['svg']['svg']['sections']['height']);
82 $info['svg']['version'] = $info['svg']['svg']['sections']['version'];
84 if (!isset($info['svg']['version']) && isset($info['svg']['doctype']['sections'])) {
93 if (!empty($info['svg']['width'])) {
94 $info['video']['resolution_x'] = $info['svg']['width'];
[all …]
H A Dgetid3.php238 public $info; variable in getID3
474 $this->info['filenamepath'] = $this->info['filepath'].'/'.$this->info['filename'];
730 if (empty($this->info[$key]) && ($this->info[$key] !== 0) && ($this->info[$key] !== '0')) {
1385 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
1396 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
1404 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
1684 …if (!empty($this->info['avdataoffset']) || (isset($this->info['avdataend']) && ($this->info['avdat…
1741 …$this->info['bitrate'] = round((($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $t…
1742 $this->info['video']['bitrate'] = $this->info['bitrate'] - $this->info['audio']['bitrate'];
1749 …$this->info['playtime_seconds'] = (($this->info['avdataend'] - $this->info['avdataoffset']) * 8) /…
[all …]
H A Dmodule.audio.flac.php33 $info = &$this->getid3->info;
53 $info = &$this->getid3->info;
168 $info['flac']['compressed_audio_bytes'] = $info['avdataend'] - $info['avdataoffset'];
240 $info = &$this->getid3->info;
253 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['playtime_s…
273 $info = &$this->getid3->info;
288 $info = &$this->getid3->info;
322 $info = &$this->getid3->info;
331 $info['flac']['VORBIS_COMMENT'] = $info['ogg'];
346 $info = &$this->getid3->info;
[all …]
H A Dmodule.graphic.gif.php32 $info = &$this->getid3->info;
39 $this->fseek($info['avdataoffset']);
49 unset($info['fileformat']);
50 unset($info['gif']);
71 $info['video']['resolution_x'] = $info['gif']['header']['raw']['width'];
72 $info['video']['resolution_y'] = $info['gif']['header']['raw']['height'];
73 $info['gif']['version'] = $info['gif']['header']['raw']['version'];
77 …$info['gif']['header']['bits_per_pixel'] = 3 * ((($info['gif']['header']['raw']['flags'] & 0x70) …
85 …$info['gif']['header']['global_color_size'] = pow(2, ($info['gif']['header']['raw']['flags'] & 0x0…
86 … $info['video']['bits_per_sample'] = ($info['gif']['header']['raw']['flags'] & 0x07) + 1;
[all …]
H A Dmodule.audio.dss.php27 $info = &$this->getid3->info;
29 $this->fseek($info['avdataoffset']);
39 $info['dss'] = array();
41 $info['fileformat'] = 'dss';
44 $info['audio']['bitrate_mode'] = 'cbr';
53 if ($info['dss']['version'] <= 3) {
58 …$info['audio']['sample_rate'] = $this->DSSsampleRateLookup($info['dss']['sample_rate_index']);
64 $info['audio']['channels'] = 1;
67 $info['playtime_seconds'] = $info['dss']['playtime_ms'] / 1000;
69 $info['playtime_seconds'] = $info['dss']['playtime_sec'];
[all …]
H A Dmodule.audio-video.ivf.php26 $info = &$this->getid3->info;
28 $info['fileformat'] = 'ivf';
29 $info['video']['dataformat'] = 'ivf';
31 $this->fseek($info['avdataoffset']);
48 …$info['ivf']['header']['frame_rate'] = (float) $info['ivf']['header']['timebase_numerator'] / $inf…
54 $info['video']['resolution_x'] = $info['ivf']['header']['resolution_x'];
55 $info['video']['resolution_y'] = $info['ivf']['header']['resolution_y'];
56 $info['video']['codec'] = $info['ivf']['header']['fourcc'];
58 $info['ivf']['frame_count'] = 0;
64 $info['ivf']['frame_count']++;
[all …]
H A Dmodule.graphic.jpg.php27 $info = &$this->getid3->info;
29 $info['fileformat'] = 'jpg';
30 $info['video']['dataformat'] = 'jpg';
32 $info['video']['bits_per_sample'] = 24;
35 $this->fseek($info['avdataoffset']);
66 $info['video']['resolution_x'] = $width;
83 $info['jpg']['exif'] = exif_read_data($info['filenamepath'], null, true, false);
111 if (isset($info['jpg']['exif']['GPS'])) {
136 …if (isset($info['jpg']['exif']['GPS']['GPSLatitude']) && is_array($info['jpg']['exif']['GPS']['GPS…
165 if (isset($info['filenamepath'])) {
[all …]
H A Dmodule.audio.mp3.php42 $info = &$this->getid3->info;
58info['id3v2']['headerlength']) && ($info['avdataoffset'] > $info['id3v2']['headerlength'])) || (!i…
71 …if (!empty($info['id3v2']['headerlength']) && (($info['avdataoffset'] - $info['id3v2']['headerleng…
144 $info['fileformat'] = $info['audio']['dataformat'];
170 …$info['playtime_seconds'] = ($info['avdataend'] - $info['avdataoffset'] - $xingVBRheaderFrameLengt…
183 $info = &$this->getid3->info;
1129 $info = &$this->getid3->info;
1181 $info = &$this->getid3->info;
1282 $info = &$this->getid3->info;
1416 $info = &$this->getid3->info;
[all …]
H A Dmodule.archive.zip.php27 $info = &$this->getid3->info;
29 $info['fileformat'] = 'zip';
74 $info['zip']['comments']['comment'][] = $info['zip']['end_central_directory']['comment'];
83 …if (isset($info['zip']['compression_method']) && ($info['zip']['compression_method'] == 'store') &…
139 unset($info['zip']);
140 $info['fileformat'] = '';
147 if ($info['zip']['compressed_size'] > ($info['filesize'] - 46 - 22)) {
161 $info = &$this->getid3->info;
163 $info['fileformat'] = 'zip';
199 $info['zip']['comments']['comment'][] = $info['zip']['end_central_directory']['comment'];
[all …]
H A Dmodule.audio.optimfrog.php28 $info = &$this->getid3->info;
58 $info = &$this->getid3->info;
83 $getid3_temp->info['avdataoffset'] = $info['avdataoffset'];
84 $getid3_temp->info['avdataend'] = $info['avdataend'];
87 $info['riff'] = $getid3_temp->info['riff'];
94 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['pl…
107 $info = &$this->getid3->info;
301 $info['avdataend'] = $info['ofr']['TAIL']['offset'];
304 …$info['playtime_seconds'] = (float) $info['ofr']['OFR ']['total_samples'] / ($info['audio']['chann…
305 …$info['audio']['bitrate'] = (($info['avdataend'] - $info['avdataoffset']) * 8) / $info['playtime_s…
[all …]
H A Dmodule.audio-video.swf.php29 $info = &$this->getid3->info;
31 $info['fileformat'] = 'swf';
32 $info['video']['dataformat'] = 'swf';
36 $this->fseek($info['avdataoffset']);
52 unset($info['swf']);
53 unset($info['fileformat']);
90 $info['video']['frame_rate'] = $info['swf']['header']['frame_rate'];
91 $info['video']['resolution_x'] = intval(round($info['swf']['header']['frame_width'] / 20));
92 $info['video']['resolution_y'] = intval(round($info['swf']['header']['frame_height'] / 20));
95 if (($info['swf']['header']['frame_count'] > 0) && ($info['swf']['header']['frame_rate'] > 0)) {
[all …]
/plugin/jukebox/id3/
H A Dgetid3.php217 $this->info['avdataend'] = $this->info['filesize'];
230 $this->info['filenamepath'] = $this->info['filepath'].'/'.$this->info['filename'];
425 if (empty($this->info[$key]) && ($this->info[$key] !== 0) && ($this->info[$key] !== '0')) {
950 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
961 $info['include'] = 'module.'.$info['group'].'.'.$info['module'].'.php';
962 return $info;
1164 …if (!empty($this->info['avdataoffset']) || (isset($this->info['avdataend']) && ($this->info['avdat…
1213 …if (isset($this->info['audio']['bitrate']) && ($this->info['audio']['bitrate'] > 0) && ($this->inf…
1220 …$this->info['bitrate'] = round((($this->info['avdataend'] - $this->info['avdataoffset']) * 8) / $t…
1221 $this->info['video']['bitrate'] = $this->info['bitrate'] - $this->info['audio']['bitrate'];
[all …]
/plugin/jplayer/vendor/james-heinrich/getid3/demos/
H A Ddemo.audioinfo.class.php59 private $info; variable in AudioInfo
90 $this->info = $this->getID3->analyze($file);
93 if (isset($this->info['error'])) {
94 return array ('error' => $this->info['error']);
99info['fileformat']) ? $this->info['fileformat'] : '').'/'.(isset($this->info['audio']['dataformat'…
100 …$this->result['encoder_version'] = (isset($this->info['audio']['encoder']) ? $this->info['…
101 …$this->result['encoder_options'] = (isset($this->info['audio']['encoder_options']) ? $this->info['…
102 …$this->result['bitrate_mode'] = (isset($this->info['audio']['bitrate_mode']) ? $this->info['…
103 …$this->result['channels'] = (isset($this->info['audio']['channels']) ? $this->info['…
104 …$this->result['sample_rate'] = (isset($this->info['audio']['sample_rate']) ? $this->info['…
[all …]

12345678910>>...75