I want to use the results for playtime, bitrate, etc that is why I have disabled all the tag options.
When I enable "option_tag_id3v2" the error message disappears.
Any idea what the problem is?
Thanks,
Willem
http://forum.netjukebox.nl/share/11%20- ... nciple.mp3
Code: Select all
<?php
require_once('../netjukebox/getid3/getid3/getid3.php');
$file = 'E:/Media/Video/test1/11 - Uncertainty Principle.mp3';
// initGetID3();
$getID3 = new getID3;
// Encoding
$getID3->encoding = 'ISO-8859-1';
$getID3->encoding_id3v1 = 'ISO-8859-1';
$getID3->encoding_id3v2 = 'ISO-8859-1';
// Tags - disable for speed
$getID3->option_tag_id3v1 = false;
$getID3->option_tag_id3v2 = false;
$getID3->option_tag_lyrics3 = false;
$getID3->option_tag_apetag = false;
// Misc calucations - disable for speed
$getID3->option_analyze = true;
$getID3->option_accurate_results = true;
$getID3->option_tags_process = false;
$getID3->option_tags_images = false;
$getID3->option_extra_info = true;
$getID3->option_max_2gb_check = false;
// Misc data hashes - slow - require hash module
$getID3->option_md5_data = false;
$getID3->option_md5_data_source = false;
$getID3->option_sha1_data = false;
$getID3->analyze($file);
?>
Fatal error: Uncaught exception 'getid3_exception' with message 'Synch pattern (0x0FFF) not found at offset 0 (found 0x0494 instead)' in D:\Internet\develop.netjukebox.nl\netjukebox\getid3\getid3\module.audio.aac_adts.php:124 Stack trace: #0 D:\Internet\develop.netjukebox.nl\netjukebox\getid3\getid3\getid3.php(303): getid3_aac_adts->Analyze() #1 D:\Internet\develop.netjukebox.nl\test\getid3xx.php(29): getid3->Analyze('E:/Media/Video/...') #2 {main} thrown in D:\Internet\develop.netjukebox.nl\netjukebox\getid3\getid3\module.audio.aac_adts.php on line 124